Re: does swsusp suck after resume for you? [was Re: Faster resuming of suspend technology.]

Con Kolivas
2006-03-14T05:12:53Z

On Mon, 13 Mar 2006 11:03 pm, Con Kolivas wrote:
> On Monday 13 March 2006 22:36, Pavel Machek wrote:
> > 4) Congratulations, you are right person to help. Could you test if
> > Con's patches help?
>
> Ok this patch is only compile tested only but is reasonably straight
> forward. (I have no hardware to test it on atm). It relies on the previous
> 4 patches I sent out that update swap prefetch. To make it easier here is a
> single rolled up patch that goes on top of 2.6.16-rc6-mm1:
>
> http://ck.kolivas.org/patches/swap-prefetch/2.6.16-rc6-mm1-swap_prefetch_su
>spend_test.patch

Since my warning probably scared anyone from actually trying this patch I've
given it a thorough working over on my own laptop, booting with mem=128M. The
patch works fine and basically with the patch after resuming from disk I have
25MB more memory in use with pages prefetched from swap. This makes a
noticeable difference to me. That's a pretty artificial workload, so if
someone who actually has lousy wakeup after resume could test the patch it
would be appreciated.

Cheers,
Con