[lkml]   [2001]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: memory compress tech...
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 <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.038 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site