diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-17 08:27:18 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-17 08:27:18 +0000 |
commit | 55565986b06331f196d49fa6a456eda204d1524b (patch) | |
tree | 801d18256fe4fc7ca29957d3a89348b58635eaeb /sys | |
parent | e3f4b51945ed13b3dd95dff810a0598fcbacd301 (diff) | |
download | FreeBSD-src-55565986b06331f196d49fa6a456eda204d1524b.zip FreeBSD-src-55565986b06331f196d49fa6a456eda204d1524b.tar.gz |
MFC 305588
pxeboot: Add nfs.read_size tunable.
Increase this tunable improves kernel loading speed.
Submitted by: Jun Su <junsu microsoft com>
Reviewed by: rpokala, wblock (previous version)
Obtained from: DragonFlyBSD
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7756
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/i386/pxeldr/pxeboot.8 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/boot/i386/pxeldr/pxeboot.8 b/sys/boot/i386/pxeldr/pxeboot.8 index d2ca703..7f57d5a 100644 --- a/sys/boot/i386/pxeldr/pxeboot.8 +++ b/sys/boot/i386/pxeldr/pxeboot.8 @@ -85,6 +85,14 @@ expects to fetch .Pa /boot/loader.rc from the specified server before loading any other files. .Pp +.Nm +defaults to a conservative 1024 byte NFS data packet size. +This may be changed by setting the +.Va nfs.read_size +variable in +.Pa /boot/loader.conf . +Valid values range from 1024 to 4096 bytes. +.Pp In all other respects, .Nm acts just like |