From waddlesplash <waddlesplash@xxxxxxxxx>:
waddlesplash has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/1699
Change subject: kernel/vm: Make the page_scrubber wait on a semaphore.
......................................................................
kernel/vm: Make the page_scrubber wait on a semaphore.
Since it now will block if there is nothing to do, there's no
real reason to leave the timeout at 100ms, so decrease it to 50.
Additionally bump the SCRUB_SIZE to 32 pages, because why not.
This effectively quadruples the rate at which the page scrubber
can scrub pages.
Following this change, the page scrubber seems to run on a
"mostly idle" system every ~250 ms on average. So this seems
more than worth it.
---
M src/system/kernel/vm/vm_page.cpp
1 file changed, 20 insertions(+), 6 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/99/1699/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1699
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I7034677a1e51c97c2baf11b772db3a31c0e1adfa
Gerrit-Change-Number: 1699
Gerrit-PatchSet: 1
Gerrit-Owner: waddlesplash <waddlesplash@xxxxxxxxx>
Gerrit-MessageType: newchange