Re: suspend-to-{RAM,disk} for 2.5.17

Linus Torvalds (torvalds@transmeta.com)
Wed, 22 May 2002 08:59:57 -0700 (PDT)


On 22 May 2002, Xavier Bestel wrote:
>
> Compressing pages will speed up the process, and doing it on the fly
> will be more IO-bound than CPU-bound. I think trading some CPU power to
> gain HD time isn't so uninteresting.

It's been a long time since disks were so slow that compression speeded
things up.

_uncompression_ is often faster than disk speeds, but that's a
fundamentally easier problem to solve. That means that a mostly read-only
medium tends to work better with compressed contents, but in this case we
have a write-once, read-once thing where compression is likely to lose.

Yes, laptops have slow disks, but they often have slow memory and seldom
have the fastest CPU's available.

Linus

-
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/