Originally posted by crazycheese
View Post
Announcement
Collapse
No announcement yet.
Btrfs LZO Compression Performance
Collapse
X
-
Originally posted by mbouchar View PostIt's not complicated. These tests only shows that the stuff is compressed sometimes in memory before being written to disk. This is the same thing that happens when encrypted disks shows better performance than normal disks.
Only that your memory and CPU will be taxed more and you will have a slower computer for other stuff.
Leave a comment:
-
Me too, I think this testing should run on some video file to see the real benefit of compression.
I don;t think 9X iozone testing result can apply to real world.
Originally posted by BenderRodriguez View PostWhy do i get the feeling that zlib/lzo mode speeds up iozone and fs-mark only because the created files are empty and thus compress almost infintely good ?
Leave a comment:
-
Originally posted by mbouchar View PostIt's not complicated. These tests only shows that the stuff is compressed sometimes in memory before being written to disk. This is the same thing that happens when encrypted disks shows better performance than normal disks.
Only that your memory and CPU will be taxed more and you will have a slower computer for other stuff.
there are even several workloads that benefit from _memory_ compression ... because RAM -- the uber spaceship of 2010+ -- is still peanuts compared to C. everything that isn't your CPU is a cache to your CPU; the less time to get it there the better. data locality is king.
"Zcache doubles RAM efficiency while providing a significant performance boost on many workloads."
both zcache and btrfs (not sure ZFS) use LZO ... the simple truth is your CPU is a lazy bastard that spends most of it's time blaming it's poor efficiency on the rest of the team ;-)
C Anthony
Leave a comment:
-
It's not complicated. These tests only shows that the stuff is compressed sometimes in memory before being written to disk. This is the same thing that happens when encrypted disks shows better performance than normal disks.
Only that your memory and CPU will be taxed more and you will have a slower computer for other stuff.
Leave a comment:
-
Originally posted by energyman View Postand because some files are not 'compressable', reiser4 has a simple test that is almost good enough. If it detects that the file can not be compressed, it doesn't even try.
i am using LZO comp on a s101 netbook and m4300 notebook with spectacular results. you also have to remember that btrfs only compresses existing data when the data is modified, and even then it only compresses the new extent ... to compress an existing disk completely you need to mount with a compression option, then initiate a rebalance (can be done online).
it is too bad about reiser4 ... i never used it myself but i've always read very good things about it; it's unfortunate Hans was so difficult to work with and ... well ... other things too. alas, it has no vendor to back it (to get into mainline) -- btrfs is the future here.
C Anthony
Leave a comment:
-
and because some files are not 'compressable', reiser4 has a simple test that is almost good enough. If it detects that the file can not be compressed, it doesn't even try.
using a ssd for / with /var, /tmp, /boot on different partitions. with reiser4 I was able to store 5gb more on a 80% full 64gb disk compared to ext4.
Leave a comment:
-
Sandforce SSD
I'd be really interested in seeing how this works on a SSD using a Sandforce controller. Sandforce has the fastest controllers because the drive itself is compressing the data. Filesystem compression may actually hurt performance on these fast SSDs.
Leave a comment:
Leave a comment: