[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current Grub2 & problem with /boot on different drive
From: |
Colin Watson |
Subject: |
Re: Current Grub2 & problem with /boot on different drive |
Date: |
Mon, 21 Sep 2009 15:58:17 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Sep 21, 2009 at 04:22:53PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> Colin Watson wrote:
> > On Sun, Sep 20, 2009 at 10:00:13PM +0200, Vladimir 'phcoder' Serbinenko
> > wrote:
> >> As a workaround for time being you can use one or more of the following:
> >> 1) Increase cache size. Can this be done in 1.97?
> >> Change include/grub/disk.h and replace
> >> #define GRUB_DISK_CACHE_NUM 1021
> >> with a bigger number
> >
> > I'm a little baffled. Why does the disk cache size make a difference
> > here? He has four disks - I'd have thought that 1021 would be plenty.
>
> 1021 is the number of cached 4KiB blocks and is used in hash
> calculations. If he has a lot of cache misses it will result in long
> boot times
Do you have a recommendation for a new value? I can build a test package
and ask Dean to try it out.
--
Colin Watson address@hidden
Re: Current Grub2 & problem with /boot on different drive, Dean Loros, 2009/09/25