lkml.org 
[lkml]   [1998]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: swap cache
Date
From
ramak@wipinfo.soft.net (Ramakrishna K) said:

> Also i was thinking about one of the other suggestions that was made
> regardin g the compression of a page(s) to a portion of the RAM, and
> uncompress it as part of the swap back in. Although the
> compression/un-compression has to be measured against the I/O cost.

Not only. Your CPU can be happily computing away at process A while
process B pages in some. However, if this "pagein" is really "uncompress a
page from RAM", your process A looses the use of the CPU. Might be a win
in (mostly) one-process (i.e., one-user) machines, but I wouldn't loose
sleep over that: Today's one-user PCs are mostly grotesquely overpowered
anyway, and the added complexity isn't worth a minor performance advantage
for personal use, IMVHO.

Or is there something else I'm overlooking here?
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616


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

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