Skip to contentSkip to conversation

compressed tmpfs

DISCUSSION Tomasz Chmielewski 3 participants 3 messages Nov 10, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I was looking for something like tmpfs, but with additional feature - that all the files in that file system would be compressed.

I think it could be nice for one's RAM, especially in embedded devices/diskless stations, at a little expense of efficiency.

Is there such a feature in 2.4 kernel yet, and, if not, where should I look for it?

There is e2compr module on http://sourceforge.net/projects/e2compr/, but I'm not sure if it can be easily applied to 2.4.22 kernel (seems like it's for 2.4.17 kernels only).

Regards,

Tomasz Chmielewski

#1 lore raw
Quoted 7 lines · Tomasz Chmielewski

I was looking for something like tmpfs, but with additional feature - that all the files in that file system would be compressed.

I think it could be nice for one's RAM, especially in embedded devices/diskless stations, at a little expense of efficiency.

Quoted 6 lines

Is there such a feature in 2.4 kernel yet, and, if not, where should I look for it?

There is e2compr module on http://sourceforge.net/projects/e2compr/, but I'm not sure if it can be easily applied to 2.4.22 kernel (seems like it's for 2.4.17 kernels only).

Jffs2 on a ramdisk comes close to what you want. For something better, you have to code it up yourself.

Jörn

Signature · 2 lines
Time? What's that? Time is only worth what you do with it.
-- Theo de Raadt
#2 lore raw
In reply to Tomasz Chmielewski
Quoted 5 lines · Tomasz Chmielewski

Hello,

I was looking for something like tmpfs, but with additional feature -

that all the files in that file system would be compressed.

I'm working on something like a "compressed read/write loopback device", that might do what you want.

I hope to have something to show by the end of this week, so if you wait a little maybe i'll be able to solve your problem :)

Signature · 3 lines
Paulo Marques
Software Development Department
www.grupopie.com