| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Doing many small reads is much slower than doing fewer large reads. Let's try to read several clusters at once if they're contiguous.
read_exact_at is often called with a bunch of offsets in the same general area. In a lot of cases, the data needed is still in the buffer from the last call. Let's make use of that by remembering the last sector read and skip reading the same sector again.
|
@NikoPit please check if that resolves your issue. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks a lot!
Sorry, something went wrong.
|
yup it significently sped up the boot time, thanks |
Sorry, something went wrong.
|
tho its still pretty slow, but this definitely made it a lot more better |
Sorry, something went wrong.
|
btw completely off topic, is there a discord server specificly for this? |
Sorry, something went wrong.
It's about as fast as the UEFI implementation. I think at some point you just have to accept that loading large files is going to take some time 😅
No, but there's a Zulip. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR speeds up the BIOS bootloader by reducing the number of disk read operations. See commits for details.
This reduces the runtime of the large_ramdisk test (with KVM enabled) from ~35s to ~9s.
Closes #549