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

From: Xavier Bestel
Date: Tue Jan 02 2007 - 06:03:22 EST


On Tue, 2007-01-02 at 11:05 +0100, Stefan Seyfried wrote:
> On Sat, Dec 16, 2006 at 08:05:24PM +0100, Lee Garrett wrote:
> > Andrey Borzenkov wrote:
> > > [...]
> > >This is rather funny; in 2.6.19-rc5 grub is *really* slow loading kernel when I switch on the
> > >system after suspend to disk. Actually, after kernel has been loaded, the whole resuming (up to
> > >the point I have usable desktop again) takes about three time less than the process of loading
> > >kernel + initrd. During loading disk LED is constantly lit. This almost looks like kernel leaves
> > >HDD in some strange state, although I always assumed HDD/IDE is completely reinitialized in this
> > >case.
> > > [...]
> >
> > I had the same problem (/boot on reiserfs, grub hanging for ages after resume
> > with 2.6.19), but in 2.6.19.1 it seems fixed. Do you still have this bug,
> > Andrey? I didn't find an update on this issue on LKML.
>
> I'm pretty sure this is just a coincidence, an issue about how the kernel
> image is actually layed out on your filesystem. I don't think it actually
> has to do anything with the version.

Isn't the cause just that with that kernel the fs image is left unclean,
and grub has to replay the journal, which is slow ?

Xav

-
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/