Page MenuHomeFreeBSD

Fix the act_scan_laundry_weight mechanism.
ClosedPublic

Authored by markj on Dec 8 2017, 4:49 PM.
Tags
None
Referenced Files
F152161982: D13423.id36388.diff
Mon, Apr 13, 4:05 AM
Unknown Object (File)
Sun, Apr 12, 2:16 AM
Unknown Object (File)
Fri, Apr 10, 12:06 AM
Unknown Object (File)
Thu, Apr 9, 12:26 PM
Unknown Object (File)
Thu, Apr 9, 12:52 AM
Unknown Object (File)
Wed, Apr 8, 9:40 PM
Unknown Object (File)
Tue, Apr 7, 7:35 PM
Unknown Object (File)
Tue, Apr 7, 12:51 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