Re: When will the lunacy end? (Was Re: [PATCH] uswsusp: add pmops->{prepare,enter,finish} support (aka "platform mode"))

From: Pavel Machek
Date: Tue Sep 26 2006 - 06:25:08 EST


Hi!

> > Your machines spend 15 seconds in drivers? Ouch, I did not realize
> > _that_.
> >
> > (My machine suspends in 7 seconds, perhaps 2-3 of that are playing
> > with drivers, so I just failed to see where the problem is).
...
> It's my long-suffering Vaio laptop.
>
> > Rafael has "fakesuspend" patches somewhere, but you can probably just
> > swapoff -a, then echo disk > /sys/power/state. If you are lucky, that
> > should be slow, too... fortunately you'll have useful dmesg buffer
> > when you are done. CONFIG_PRINTK_TIMING or something, and you should
> > have enough clues...?
>
> That would help.

Is "swapoff -a; echo disk > /sys/power/state" slow for you? If so, we
have something reasonably easy to debug, if not, we'll try something
else...

> > 15 seconds spend within drivers is definitely _not_ okay.
>
> I assumed it was the same for everyone else ;)

Ok, then I see why you was upset ;-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/