diff options
author | jeff <jeff@FreeBSD.org> | 2013-08-13 21:56:16 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2013-08-13 21:56:16 +0000 |
commit | bc00d6df57d3fdc2d958258a949dae1806297d02 (patch) | |
tree | 47081a4e187db2ed514b7a42997e9cb33a059764 /sys/amd64/include | |
parent | 53b17a5f067e85c56391dbc150dd702d29ea4c8d (diff) | |
download | FreeBSD-src-bc00d6df57d3fdc2d958258a949dae1806297d02.zip FreeBSD-src-bc00d6df57d3fdc2d958258a949dae1806297d02.tar.gz |
Improve pageout flow control to wakeup more frequently and do less work while
maintaining better LRU of active pages.
- Change v_free_target to include the quantity previously represented by
v_cache_min so we don't need to add them together everywhere we use them.
- Add a pageout_wakeup_thresh that sets the free page count trigger for
waking the page daemon. Set this 10% above v_free_min so we wakeup before
any phase transitions in vm users.
- Adjust down v_free_target now that we're willing to accept more pagedaemon
wakeups. This means we process fewer pages in one iteration as well,
leading to shorter lock hold times and less overall disruption.
- Eliminate vm_pageout_page_stats(). This was a minor variation on the
PQ_ACTIVE segment of the normal pageout daemon. Instead we now process
1 / vm_pageout_update_period pages every second. This causes us to visit
the whole active list every 60 seconds. Previously we would only maintain
the active LRU when we were short on pages which would mean it could be
woefully out of date.
Reviewed by: alc (slight variant of this)
Discussed with: alc, kib, jhb
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/amd64/include')
0 files changed, 0 insertions, 0 deletions