Re: Which is simpler?
From: Pavel Machek
Date: Mon Feb 20 2006 - 09:40:53 EST
> Pavel Machek <pavel@xxxxxx> writes:
>
> >> Ah, and now the part I really like, some hard numbers:
> >> swsusp takes between 26 and 30 seconds to suspend (in my four tries: 26,
> >> 30, 28, 26) and between 35 and 45 seconds to resume (35, 45, 39, 37).
> >>
> >> Suspend 2 does suspend in around 14-16 seconds, and resume in 18 to 21.
> >>
> >> That is factor 2!
> >
> > Does that include time to boot resume kernel? It will not be that
> > dramatic with that time included, and it is only fair to include
> > it. Anyway uswsusp solves that issue.
>
> On my old ThinkPad, the difference is more like a factor of 3 to 4 -
> from the moment I press the power button until X is up and running.
Well, yep, it really depends on CPU/harddisk.
Can you try code from suspend.sf.net? It should be as fast as
suspend2.
Pavel
--
Thanks, Sharp!
-
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/