grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow loading and GRUB work after commit 938c3760b


From: Zhang Boyang
Subject: Re: Slow loading and GRUB work after commit 938c3760b
Date: Sat, 10 Sep 2022 22:51:30 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]