-
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
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00
NEW Open Box Dell PowerConnect M8024-SFP+ Quad Port 10GbE SFP Module 0N805D (BH)
$29.99
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$69.99
HP Aruba JL083A HP 3-port 10GbE SFP+ 3910M/2910M Expansion Module
$150.00
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
(Lot of 10) Cisco SFP-10G-SR SFP+ Transceiver Module 10-2415-03
$40.00
Lot of 10 - HP 10Gb SR SFP+ Transceiver 455883-B21 455885-001 456096-001 850nm
$23.99
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$10.99
New Cisco w/ Green Hologram GLC-LH-SMD 1G SFP LX 1310nm 10km SMF LC Module
$16.99