fun with upgrading: sysctl: unknown oid 'vm.pageout_wakeup_thresh'

This sysctl knob seems to have disappeared between 11.4 and 12.2. I did not find any notion in release notes about where it may have gone or what the rationale might be.
The only thing certain is, that this knob is required to adjust ZFS cache behaviour in memory-constrained environments. Accordingly, system behaviour is quite shitty now. :(

It seems, one is expected to work oneself thru the repo changelogs to figure what to do here...
 
  • Thanks
Reactions: a6h
Yeah, thank You - at some point I did find it. It is now inside of a vmd (NUMA domain)
Code:
./vm/vm_pagequeue.h:    u_int vmd_pageout_wakeup_thresh;/* (c) min pages to wake pagedaemon */
and initialization is hardcoded and no longer tuneable:
Code:
./vm/vm_pageout.c:      vmd->vmd_pageout_wakeup_thresh = (vmd->vmd_free_target / 10) * 9;
 
Back
Top