summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-13 08:09:40 +0000
committersephe <sephe@FreeBSD.org>2016-10-13 08:09:40 +0000
commitbdd16be3c1c297c256337243cf2c380ed6c62b29 (patch)
treec6498f769425fdfd653e42a2959295f19580241e /sys/boot
parentb30103def6772544b034192e9ed27b31e5010312 (diff)
downloadFreeBSD-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.88
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
OpenPOWER on IntegriCloud