git: DragonFly_RELEASE_2_8 kernel - Fix longstanding VM long-dur

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
commit 96e082160094ceaee3c27b207f6a4e72cffb07cb Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Oct 29 22:46:29 2010 -0700 kernel - Fix longstanding VM long-duration stall issues (2) * Refactor the pageout daemon's hysteresis, in particular the free page queue had no real hysteressis and could cause excessive pagedaemon wakeups. Use a calculation that maintains a free page queue about half the size of the minimum cache queue, giving us pretty good pipelining when a system is under constant memory pressure. * Add a sysctl for monitoring ppwakeups (wakeups of processes waiting for memory). Summary of changes: sys/sys/vmmeter.h | 2 +- sys/vm/vm_meter.c | 2 + sys/vm/vm_page.c | 95 +++++++++++++++++++++++++++++++++++++------------- sys/vm/vm_page2.h | 42 ++++++++++++----------- sys/vm/vm_pageout.c | 42 ++++++++++++++-------- 5 files changed, 122 insertions(+), 61 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/96e082160094ceaee3c27b207f6a4e72cffb07cb -- DragonFly BSD source repository
文章代碼(AID): #1CvoL3ci (DFBSD_commit)
文章代碼(AID): #1CvoL3ci (DFBSD_commit)