|
From: | Vladimir 'phcoder' Serbinenko |
Subject: | Re: Current Grub2 & problem with /boot on different drive |
Date: | Mon, 21 Sep 2009 16:22:53 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090701) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |