Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18

From: Rafael J. Wysocki
Date: Mon Nov 13 2006 - 18:13:56 EST


On Monday, 13 November 2006 23:55, Stefan Seyfried wrote:
> On Mon, Nov 13, 2006 at 09:54:38PM +0300, Andrey Borzenkov wrote:
> > Hash: SHA1
> >
> > On Monday 13 November 2006 11:15, Stefan Seyfried wrote:
> > > The most important question:
> > > What filesystem is your /boot on? I'd bet quite some money that it is
> > > reiser or some other journaling FS (not ext3).
> > >
> >
> > there is no /boot, I use single / which is reiser.
>
> ok, so your /boot is on reiser. Q.E.D.
>
> > > I am pretty sure that it will also happen if you do "updatedb &", wait a
> > > minute and then do a _HARD_ power off.
> > >
> > > I am pretty sure that it has nothing to do with the kernel version, just
> > > with the layout of your /boot partition (which of course changes with every
> > > kernel update). In other words: until now, you just have been lucky.
> >
> > The idea is nice; unfortunately it fails to explain the difference
> > between 'poweroff'
>
> filesystem cleanly unmounted
>
> > and 'suspend disk'
>
> filesystem unclean.
>
> > cases. I doubt disk layout is changed
> > between them.
>
> Try the "updatedb &, then _HARD_ poweroff" test described above. It will take
> long to load grub afterwards.

Alternatively, you can use a recent -mm kernel with the bdevs freezing patch
and see if that helps GRUB. ;-)

Greetings,
Rafael


--
You never change things by fighting the existing reality.
R. Buckminster Fuller
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/