On Tue, 14 Aug 2001, Ted Unangst wrote:
> maybe for compressing swap? you have to read less data off the disk,
> which is faster. and the processor is probably idling anyway, waiting on
> disk.
Ah, now THAT is a good idea.
Compressing groups of pages, probably 16k at a time, and storing them on 20k
boundaries will result in a loss of swap space but a probable increase in
speed. And the boundary alignment will probably simplify bookkeeping. You
shouldn't be using swap anyways, so a 20% loss probably isn't a huge deal.
Maybe someone with a little more experience in the area of swap management
under Linux should take over the discussion from here...
-- Ignacio Vazquez-Abrams <ignacio@openservices.net>- 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/
This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:53 EST