Re: pkg upgrade, vfs.zfs.arc.free_target, vfs.zfs.arc.sys_free, vm.pageout_oom_seq

From: Graham Perrin <grahamperrin_at_gmail.com>
Date: Sat, 30 Aug 2025 16:58:53 UTC
On 30/08/2025 14:50, Mark Millard wrote:

> … efficient ZFS use. …


Thanks, I should add that efficiency is not my objective with these tests.

I'd like the outcomes to include pkg upgrade tips for end users who, for 
various reasons, find themselves with the benefits of ZFS (not least, 
bectl for boot environments) on systems that are constrained (e.g. 4 GB 
memory and limited free space on a HDD).

I sense that vm.pageout_oom_seq might be the sanest approach, in cases 
where hardware constraints are relatively severe. I'm open to 
alternative suggestions.

In the past I could be quite careless about untimely interruptions to 
upgrades ("simply re-run the pkg command, maybe more than once, until it 
found nothing more to upgrade."). Nowadays there's a greater risk of an 
awkward problem following an untimely interruption. I don't mind the 
awkwardness (I know how to dig myself out of a hole); other users might 
be less forgiving.