Re: Software Suspend Functionality in 2.5

Suparna Bhattacharya (suparna@in.ibm.com)
Mon, 3 Mar 2003 18:36:40 +0530


On Mon, Mar 03, 2003 at 01:25:26PM +0100, Pavel Machek wrote:
> Hi!
>
> > > On Mon, 2003-03-03 at 17:28, Suparna Bhattacharya wrote:
> > > > If you add to that the possibility of being able to save more
> > > > in less space if you have compression, would it be useful ?
> > >
> > > I'm not sure that it would because we don't know how much compression
> > > we're going to get ahead of time, so we don't know how many extra pages
> >
> > The algorithm could be adjusted to deal with that, however ...
> >
> > > we can save. The compression/decompression also takes extra time and
> > > puts more drain on a potentially low battery.
> >
> > .. I didn't think about the battery drain - valid point !
>
> Actually I don't quiet think so. gzip compression is pretty cheap, and
> if it makes you suspend faster and with less disk writes...
>
> But I think it adds unneccessary complexity.

If that's the only concern left, I guess its time for us to go
back and complete what we have (we still have a few issues to
think over and concentrate on fixing), look at Nigel's patches
more closely, and then come back and discuss the algo sometime
later .. You could make up your mind about the actual complexity
then (both for suspend and resume paths).

worth at least a detailed look on our part.

Thanks for the inputs and insights.

Regards
Suparna

-- 
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Labs, India

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/