-
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
Cisco ASA 5520 Adaptive Security Appliance
$42.56
Cisco ASA5525-K9 ASA 5525-X Security/Firewall Appliance 1 Year Warranty
$138.00
Fortinet FortiGate-40C Network Security Firewall
$42.50
Palo Alto PA-220 Security Appliance Firewall - NO Power adapter -
$33.00
Dell SonicWALL Supermassive 9200 Security Appliance Firewall
$69.99
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$49.99
Ubiquiti Networks UniFi Security Gateway - White (USG-3P)
$49.00
Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter
$34.97
Genuine Fortinet FortiGate 60E-POE Firewall Network Security ATP Bundle 2 years
$263.99
Cisco Meraki MX68 Cloud Managed Security Appliance Unclaimed w/ Power Adapter
$157.95