Page MenuHomeFreeBSD

Fix the act_scan_laundry_weight mechanism.
ClosedPublic

Authored by markj on Dec 8 2017, 4:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 10:53 PM
Unknown Object (File)
Oct 19 2023, 7:22 PM
Unknown Object (File)
Sep 22 2023, 10:08 AM
Unknown Object (File)
Jul 2 2023, 2:01 PM
Unknown Object (File)
Jul 2 2023, 1:55 AM
Unknown Object (File)
Jun 4 2023, 11:21 AM
Unknown Object (File)
May 9 2023, 9:09 PM
Unknown Object (File)
Apr 25 2023, 9:26 AM
Subscribers

Details

Summary

In r292392 I modified the active queue scan to weigh clean pages
differently from dirty pages when attempting to meet the inactive queue
target. Specifically, I wanted clean pages to count more towards the
target, since they can be reclaimed with less work. Moreover, moving
more dirty pages to the laundry queue improves our ability to cluster
them when writing.

When r306706 was merged into the PQ_LAUNDRY branch, this mechanism was
broken. Fix it by scalaing the correct page shortage variable.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable