Re: Software Suspend Functionality in 2.5

Pavel Machek (pavel@ucw.cz)
Mon, 3 Mar 2003 13:25:26 +0100


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.

Pavel

-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
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/