git: kernel - Improve netbooted root NFS mounts and allow tunable overrides.
dillon at crater.dragonflybsd.org
Tue Nov 17 18:51:25 PST 2015
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Nov 17 18:46:11 2015 -0800
kernel - Improve netbooted root NFS mounts and allow tunable overrides.
* Add two tunables and set the default read-ahead for netbooted root
mounts to 4.
nfsroot.iosize defaults to 8192
nfsroot.rahead defaults to 4
* The default iosize must remain 8192 as many NFS servers can't handle
32768, but if your nfs server is on a DragonFly box you can override it
in your /boot/loader.conf, setting it to 32768.
With the improved read-ahead default, read performance should improve
significantly on netbooted root mounts. With the combination of the new
default read ahead and nfsroot.iosize=32768, read performance should be
able to max-out a GigE link (100+ MBytes/sec) (assuming the originating
storage can push that rate).
* Does not effect add-on nfs mounts in /etc/fstab which already used a
reasonable read-ahead setting.
Summary of changes:
sys/platform/pc64/x86_64/autoconf.c | 20 +++++++++++++++++---
sys/platform/vkernel64/x86_64/autoconf.c | 20 +++++++++++++++++---
2 files changed, 34 insertions(+), 6 deletions(-)
DragonFly BSD source repository
More information about the Commits