[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub2 uefi disk cache
From: |
KESHAV P.R. |
Subject: |
grub2 uefi disk cache |
Date: |
Tue, 8 Jun 2010 18:54:14 +0530 |
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.
- grub2 uefi disk cache,
KESHAV P.R. <=