The performance problem appears to be due to overhead of the individual
disk read calls...

grub2's disk I/O layer buffers 8 disk sectors per read, hard-coded in
include/grub/disk.h as GRUB_DISK_CACHE_SIZE.

Increasing GRUB_DISK_CACHE_SIZE to 1024 (patch attached) dramatically
improves the load performance for my Intel Tunnel Mountain system
booting with UEFI:  total load time for linux and initrd is reduced from
about 53 seconds to about 1 second.

** Patch added: "kamal0~1024sectors.patch"
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/944347/+attachment/2798825/+files/kamal0%7E1024sectors.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/944347

Title:
  linux and initrd load very slowly on UEFI system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/944347/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to