[Top][All Lists]

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

Re: grub2 uefi disk cache

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: grub2 uefi disk cache
Date: Wed, 09 Jun 2010 21:16:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100515 Icedove/3.0.4

On 06/08/2010 03:24 PM, KESHAV P.R. wrote:
> Is this change needed? I have about 4-5 sec gap between "Welcome to
> GRUB" and the GRUB2 boot menu in UEFI x86_64.
There is no reason for making this platform-specific. I once made a
patch which scales cache in proportion to available free memory.
That patch increased core size and it wasn't ever proved that it results
in measurable boot time decrease. If you benchmark the patch and provide
the results that patch can be applied.
Also some (U)EFI implementations have a following bug: they take very
long time to read sector if you do too much read in the row. I suppose
it doesn't respect some kind of HD timings and operation request isn't
accepted by hardware and so EFI waits till it timeouts to notice it.
On such EFI implementations, adding grub_millisleep to grub_efidisk_read
makes it work faster
> _______________________________________________
> Grub-devel mailing list
> address@hidden

Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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