HomeFreeBSD

vm_pageout: Add a chicken switch for multithreaded PQ_INACTIVE scanning

Description

vm_pageout: Add a chicken switch for multithreaded PQ_INACTIVE scanning

Right now we have the vm.pageout_cpus_per_thread tunable which controls
the number of threads to start up per CPU per NUMA domain, but after
booting, it's not possible to disable multi-threaded scanning.

There is at least one workload where this mechanism doesn't work well;
let's make it possible to disable it without a reboot, to simplify
troubleshooting.

Reviewed by: dougm, kib
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay
Differential Revision: https://reviews.freebsd.org/D48377

(cherry picked from commit 55b343f4f9bc586eba5e26a2524a35f04dd60c65)

Details

Provenance
markjAuthored on Thu, Jan 9, 2:54 PM
Reviewer
dougm
Differential Revision
D48377: vm_pageout: Add a chicken switch for multithreaded PQ_INACTIVE scanning
Parents
rG49f741240242: inpcb: Further restrict binding to a port owned by a different UID
Branches
Unknown
Tags
Unknown