DragonFly commits List (threaded) for 2010-09
git: kernel - Fix MADV_NOSYNC and MAP_NOSYNC, improve vkernel performance
Author: Matthew Dillon <firstname.lastname@example.org>
Date: Wed Sep 15 13:22:25 2010 -0700
kernel - Fix MADV_NOSYNC and MAP_NOSYNC, improve vkernel performance
* The vm_prefault() code was not setting PG_NOSYNC so only 1/4 of the
pages of a NOSYNC memory mapping were actually NOSYNC.
* This bug caused the vkernel to essentially flush out all of its
dirty memory pages every 30 seconds. Needless to say this was bad.
The vkernel can now be run with its memory set in the multiples
of gigabytes (if you happen to have that much real memory) without
creating a massive disk load.
Summary of changes:
sys/vm/vm_fault.c | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
DragonFly BSD source repository