freebsd-nq/stand
Colin Percival 248682a589 loader bcache: Allow readahead up to 256 kB I/Os
Prior to this commit, the loader would perform readaheads of up to
128 kB; when booting on a UFS filesystem this resulted in a series
of 160 kB reads (32 kB request + 128 kB readahead).

This commit allows readaheads to be longer, subject to a total I/O
size limit of 256 kB; i.e. 32 kB read requests will have added
readaheads of up to 224 kB.

In my testing on an EC2 c5.xlarge instance, this change reduces the
boot time by roughly 80 ms.

Reviewed by:	tsoome
MFC after:	1 week
Sponsored by:	https://www.patreon.com/cperciva
Differential Revision:	https://reviews.freebsd.org/D32251
2021-10-03 14:55:10 -07:00
..
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
arm64
common loader bcache: Allow readahead up to 256 kB I/Os 2021-10-03 14:55:10 -07:00
defaults loader: Set twiddle globaldiv to 16 by default 2021-09-28 15:24:02 -07:00
efi EFI loader: Don't free bcache for DEVT_DISK devs 2021-09-30 14:48:14 -07:00
fdt loader: Fix dtb loading 2021-07-05 15:53:08 +02:00
ficl loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
ficl32
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader: support.4th resets the read buffer incorrectly 2021-07-28 13:50:38 -06:00
i386 i386 loaders: avoid lld 13 garbage collecting linker sets 2021-09-08 14:04:13 +02:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-04-12 16:13:33 +02:00
liblua EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
liblua32
libofw loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
libsa loader: Set twiddle globaldiv to 16 by default 2021-09-28 15:24:02 -07:00
libsa32
lua lualoader: use more concise verbiage for autoboot 2021-09-09 02:01:50 -05:00
man loader_lua.8: Fix first version 2021-09-29 17:18:51 -06:00
mips loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
powerpc powerpc64: fix loader regression 2021-09-21 17:22:42 -03:00
uboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
defs.mk stand: Add MK_PIE=no to defs.mk 2021-08-11 11:03:19 -06:00
fdt.mk
ficl.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
loader.mk stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
lua.mk
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-27 13:02:51 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00