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 [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel