-
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
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$272.00
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 128GB DDR4 1x 960GB 2x 1G 2x 10G
$240.00
Dell PowerEdge R620 Server - 128GB RAM, 2x8c CPU, 128Gb SSD/3x900Gb SAS, Proxmox
$260.00
Dell R730xd 26 Port SFF 2x E5-2697v4 36-Cores H730 128GB Server 2x SFP 10G ENT
$490.00
Dell Poweredge R720 8x 2.5" Bay Xeon E5-2650 2.8GHz 8 Cores / 64gb No HDD
$114.97
Dell PowerEdge R730 8 Bay 2.5" Intel E5-2697v4 2.6GHz 16GB RAM 2U Server
$269.99
DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$379.00
RSADell PowerEdge R630 2x 8-Core Xeon E5-2667v3 3.2GHz 64GB RAM No HDD or Rails
$176.96
Dell Poweredge R220 Server Xeon E3-1270 v3 3.5ghz Quad Core / 16gb / 1x Tray
$139.99
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$353.33