10.09.2022 17:51, Zhang Boyang пишет:
Hi

On 2022/9/10 14:33, jim945 via Grub-devel wrote:
Hi,

I am compiling grubx64.efi with modulescpio exfat ext2 fat gzio iso9660 loopback lzopio newc normal ntfs part_gpt part_msdos probe read search tar test configfile echo xzio squash4 sfs memdisk

The prefix is stored in the sfs container.

After applying patch 938c3760b, the boot time before the menu appears reaches 15-20 minutes. The work is very slow.

And in Qemu this problem does not appear.


I'm not sure if this can help, could you please test if swapping "case 0:" and "case 1:" at this position can reduce the problem? "https://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/kern/mm.c?id=d9b4638c50b16d4722e66d334e2c1a674b4a45cc#n443";

It seems GRUB is likely to try freeing disk cache first before requesting new pages. Although I'm not sure, but I think swapping "case 0:" and "case 1:" may fix this problem.


Best Regards,
Zhang Boyang


After swapping "case 0:" and "case 1:" works fine.
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to