-
cloop sucks, squashfs rocks
Hi!
I just ran some tests on several compressed filesystems, and it turns
out that cloop has the worst performance in terms of caching of all of them.
Compressed filesystems gain space in a Live CD, but also speed because
less data has to read from the physical medium, and reading the CD itself
is usually the bottleneck.
Klaus once said:
zisofs is a compressed filesystem, cloop is a compressed
block device. Compressed filesystems are slower, because
each file has to be uncompressed again in each read, while
cloop keeps the uncompressed blocks in the normal block
layer filesystem cache. cloop is older, well-tested and
filesystem independent.
But, unlike all the other compressed read-only filesystems, cloop re-presents
a file that lives on the native CD filesystem as a new uncompressed filesystem,
and this means that the data are buffered twice: once in compressed form when
they are read from the native CD filesystem and once again after decompression.
To test this theory, I took a machine with 500MB RAM, got as much free RAM as
possible by running a 500MB process and killing it, got the tools (bash, tar, cat and
vmstat) into memory and then tarred up /opt from Knoppix 3.6 into /dev/null.
To read a total of 231380K it filled a total of 332548K of extra cache.
Now I don't know whether the cmpressed filesystems cache their data in
compressed or uncompressed form, but cloop caches it in both!
Apart from the fact that cloop does not give the best compression of the
full-feature compressed filesystems (squashfs was the best at that, sorry,
I don't have the figures to hand) cloop also beats the cache to death, and on a
memory-limited system, effective use of RAM and caching makes a big
difference to system performance.
And I would argue that for running a LiveCD most users are more
memory-limited than CPU-limited. 500MHz 128MB systems are common.
What about it, Klaus? ditch cloop? :)
M
Similar Threads
-
By zavalita2002 in forum General Support
Replies: 24
Last Post: 05-04-2006, 03:56 PM
-
By Kowood in forum The Lounge
Replies: 11
Last Post: 02-01-2006, 03:09 PM
-
By ILoveChessAndCompScience in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 12-15-2003, 04:22 PM
-
By aay in forum The Lounge
Replies: 0
Last Post: 02-11-2003, 02:39 AM
-
By hmarq in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-26-2003, 05:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$14.50
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$13.50
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$22.85
A-Tech 32GB 2x 16GB PC4-21300 Laptop SODIMM 260-Pin DDR4 2666 MHz Memory RAM Kit
$59.99
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
Samsung PC4-19200 PC4 2400T 32GB DDR4 RAM Server Memory
$79.99
Corsair Dominator Platinum RGB 32GB (2 x 16GB) PC5-44800 (DDR5-5600) Memory...
$100.00