--- - branch: MAIN date: Mon Jun 21 21:18:47 UTC 2021 files: - new: '1.32' old: '1.31' path: src/sys/stand/efiboot/boot.c pathrev: src/sys/stand/efiboot/boot.c@1.32 type: modified - new: '1.14' old: '1.13' path: src/sys/stand/efiboot/efiblock.c pathrev: src/sys/stand/efiboot/efiblock.c@1.14 type: modified - new: '1.6' old: '1.5' path: src/sys/stand/efiboot/efiblock.h pathrev: src/sys/stand/efiboot/efiblock.h@1.6 type: modified id: 20210621T211847Z.8a89ec626cbe11f45f016f68bb0b52d3c651c86a log: | efiboot: Add readahead support. Reading data through libsa file-systems ends up breaking block I/O accesses into very small (512-byte or 2048-byte) accesses. This can be very inefficient, and causes Ampere eMAG w/ BMC image direction to take _minutes_ to load the install image and kernel. So slow in fact that the default watchdog timeout will fire before it finishes. So, when loading big files, optimistically read ahead up to 64KB of data. Brings the time to boot the install ISO down to around 40 seconds -- still not ideal but way better than before. module: src subject: 'CVS commit: src/sys/stand/efiboot' unixtime: '1624310327' user: jmcneill