In the link http://blog.fpmurphy.com/2010/03/grub2-efi-support.html ,
the author F P Murphy mentions that disk cache size assumed for grub2
uefi leads to longer boot times when compared to grub2 bios. According
to him, in (grub2-source-dir)/include/grub/disk.h

lines

/* The size of a disk cache in sector units.  */
#define GRUB_DISK_CACHE_SIZE    8
#define GRUB_DISK_CACHE_BITS    3

should be changed to

/* The size of a disk cache in sector units.  */
#ifdef GRUB_MACHINE_EFI
#define GRUB_DISK_CACHE_SIZE    8192
#define GRUB_DISK_CACHE_BITS     13
#else
#define GRUB_DISK_CACHE_SIZE    8
#define GRUB_DISK_CACHE_BITS    3
#endif

for faster boot.

Is this change needed? I have about 4-5 sec gap between "Welcome to
GRUB" and the GRUB2 boot menu in UEFI x86_64.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to