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

Pavel Machek
2006-03-14T12:44:19Z

On Út 14-03-06 23:33:12, Con Kolivas wrote:
> On Tuesday 14 March 2006 22:51, Pavel Machek wrote:
> > > 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.
> >
> > Thanks for the patch...
> >
> > BTW.. if you want this maximally useful, it would be nice to have
> > userspace interface for this.
>
> What sort of interface is suitable? There's a swap_prefetch tunable that is a
> boolean but I could make that to be off=0, on=1, aggressive_prefetch=2 or
> something.

That sounds nice.
Pavel
--
116: