Page MenuHomeFreeBSD

Fix the act_scan_laundry_weight mechanism.
ClosedPublic

Authored by markj on Dec 8 2017, 4:49 PM.
Tags
None
Referenced Files
F108323241: D13423.diff
Thu, Jan 23, 8:59 PM
Unknown Object (File)
Thu, Jan 2, 9:52 AM
Unknown Object (File)
Nov 18 2024, 2:35 PM
Unknown Object (File)
Nov 7 2024, 5:45 PM
Unknown Object (File)
Oct 31 2024, 3:13 PM
Unknown Object (File)
Sep 21 2024, 5:58 AM
Unknown Object (File)
Sep 18 2024, 12:17 AM
Unknown Object (File)
Sep 16 2024, 11:50 PM
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