DragonFly commits List (threaded) for 2010-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Finish implementing PG_RAM / pipelined mmap operation
commit 1c48c95257b6b028b6cd5f31af60e0d545e951bc
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sun Jan 17 17:53:47 2010 -0800
kernel - Finish implementing PG_RAM / pipelined mmap operation
* Finish implementing the PG_RAM read-ahead mark code. This code
allows the VM system to generate pipelining faults when reading a
memory mapped file sequentially.
This allows programs which scan files via mmap() to max-out the I/O system,
similar to read(). Before this change programs using mmap() could not get
better then ~70-80% disk utilization for sequential I/O.
This commit passes the sequential access flag through to the VOP_GETPAGES
code which then adjusts the sequential access heuristic in the ioflags
accordingly.
Summary of changes:
sys/kern/vfs_default.c | 2 +-
sys/kern/vfs_vopops.c | 3 ++-
sys/sys/vfsops.h | 7 ++++---
sys/vfs/gnu/ext2fs/ext2_vnops.c | 7 +++++--
sys/vfs/nwfs/nwfs_io.c | 2 +-
sys/vfs/ufs/ufs_readwrite.c | 7 ++++---
sys/vfs/union/union_vnops.c | 5 +++--
sys/vm/vnode_pager.c | 6 +++---
sys/vm/vnode_pager.h | 2 +-
9 files changed, 24 insertions(+), 17 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1c48c95257b6b028b6cd5f31af60e0d545e951bc
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]