diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-13 08:09:40 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-13 08:09:40 +0000 |
commit | bdd16be3c1c297c256337243cf2c380ed6c62b29 (patch) | |
tree | c6498f769425fdfd653e42a2959295f19580241e /sys/boot | |
parent | b30103def6772544b034192e9ed27b31e5010312 (diff) | |
download | FreeBSD-src-bdd16be3c1c297c256337243cf2c380ed6c62b29.zip FreeBSD-src-bdd16be3c1c297c256337243cf2c380ed6c62b29.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/boot')
-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 |