You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loading the ramdisk takes an insanely long time #549
You mentioned that you don't use hardware virtualization. Are you sure that the bottleneck isn't caused by QEMU TCG's inherently lower performance? I'm guessing that the device drivers in the BIOS aren't all that optimized either, so loading any big file in a bootloader is going to be slow unless one replaces the disk driver.
Yeah, the BIOS bootloader is significantly slower than the UEFI one.
I think the main root cause seems to be that we're doing a lot of small disk accesses. I tried merging multiple FAT clusters to do larger reads for several clusters at once and that got the runtime of the large_ramdisk test down from 35s to 10s.
Activity
NikoPit commentedon Mar 17, 2026
loading the kernel also takes a long time but its not as long as the ramdisk
Freax13 commentedon Mar 17, 2026
You mentioned that you don't use hardware virtualization. Are you sure that the bottleneck isn't caused by QEMU TCG's inherently lower performance? I'm guessing that the device drivers in the BIOS aren't all that optimized either, so loading any big file in a bootloader is going to be slow unless one replaces the disk driver.
NikoPit commentedon Mar 17, 2026
does enabling hardware virtualization means enabling kvm?
Freax13 commentedon Mar 18, 2026
That'd be one way of enabling hardware virtualization, yes.
NikoPit commentedon Mar 18, 2026
no, its still extremely laggy. i added --enable-kvm to it
Freax13 commentedon Mar 18, 2026
Yeah, the BIOS bootloader is significantly slower than the UEFI one.
I think the main root cause seems to be that we're doing a lot of small disk accesses. I tried merging multiple FAT clusters to do larger reads for several clusters at once and that got the runtime of the large_ramdisk test down from 35s to 10s.
NikoPit commentedon Mar 18, 2026
fixed on #550