cvs commit: src/sys/vm vm_extern.h vm_fault.c vm_glue.c vm_map.h vm_pageout.c vm_pageout.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Mar 15 00:03:30 PST 2006
dillon 2006/03/14 23:58:37 PST
DragonFly src repository
Modified files:
sys/vm vm_extern.h vm_fault.c vm_glue.c vm_map.h
vm_pageout.c vm_pageout.h
Log:
Implement a VM load heuristic. sysctl vm.vm_load will return an indication
of the load on the VM system in the range 0-1000.
Implement a page allocation rate limit in vm_fault which is based on
vm_load, and enabled via vm.vm_load_enable (default on). As the system
becomes more and more memory bound, those processes whos page faults
require a page allocation will start to allocate pages in smaller bursts
and with greater and greater enforced delays, up to 1/10 of a second.
Implement vm.vm_load_debug (for kernels with INVARIANTS), which outputs
the burst calculations to the console when enabled.
Increase the minimum guarenteed run time without swapping from 2 to 15
seconds.
Revision Changes Path
1.15 +1 -0 src/sys/vm/vm_extern.h
1.21 +53 -0 src/sys/vm/vm_fault.c
1.39 +1 -1 src/sys/vm/vm_glue.c
1.18 +1 -0 src/sys/vm/vm_map.h
1.18 +27 -0 src/sys/vm/vm_pageout.c
1.6 +3 -0 src/sys/vm/vm_pageout.h
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_extern.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.h.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.h.diff?r1=1.5&r2=1.6&f=u
More information about the Commits
mailing list