lkml.org 
[lkml]   [1998]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: New Feature Idea: Compress swap file
>> How about, when using swap, it is compressed before it is written out?

>Can't this already be done by using mkswap to make a swap file on a
>compressed ext2 filesystem?

Swapping to a file on an ext2 file system is considerably slower than using
a swap device. Using a compression method that is designed for file access
(large chunks of data being stored for long periods of time) probably isn't
going to be very efficient for swapping (4k blocks of data that are stored for
short periods and require fast access).

Maybe just simple RLE is the way to go?


Russell Coker

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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