-

Originally Posted by
Werner P. Schulz
.. I can't believe this result. What did you compress, Knoppix CD or DVD? How long (exact) will it take to compress with sqashfs and with cloop (create_compressed_fs)?
... now I have done a test for my own.
using virtual machine (VirtualBox), 1 GB RAM, swap partition 1 GB
using Knoppix CD-Version 6.4.4
decompress /KNOPPIX/KNOPPIX (705211 K => 100%) to directory '/remaster' (2054135 K)
Code:
losetup /dev/cloop0 /media/sr0/KNOPPIX/KNOPPIX
mount -t iso9660 /dev/cloop0 /knoppix/loop
rsync -aH /knoppix/loop/* /remaster
a) compress '/remaster' to KNOPPIX
Code:
genisoimage -R -U -no-bak -quiet \
/remaster | create_compressed_fs -q -B 65536 \
-f /tmp/knoppix_tmp - /knoppix/KNOPPIX/KNOPPIX
size of new KNOPPIX: 740461 K (104,96%)
compression time: 7 min 03 sec
b) compress '/remaster' to KNOPPIX.squasfs
Code:
mksquashfs-lzma /remaster
\/knoppix/KNOPPIX/KNOPPIX.squashfs
size of KNOPPIX.squashfs: 719876 K (102,08%)
compression time: 6 min 42 sec
I think the differences are not worth the trouble to leave a well established compression method.
Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)
-
Senior Member
registered user
@ Werner
Would a comparison of expansion times be comparable?
Thanks.
-
Senior Member
registered user

Originally Posted by
Werner P. Schulz
I think the differences are not worth the trouble to leave a well established compression method.
I don't want to get into the war of the compression speed comparison, as I mentioned earlier, as some of the comparison what not a fair one, basically they did not use the same compression algorithm, it is not apple to apple.
However, I would like to dispute this point about cloop being the well eastablished compression method.
Which is more established compression method ?
Maybe my knowledge is skewed but here is what I know :-
1. Squashfs has long existed if not as long as cloop compression.
2. Squashfs is accepted into stock kernel a few versions back but cloop is still an external patch.
3. You can find squashfs in almost all embedded devices, including your typical home routers, home ADSL modems, home media players, home appliances such as TVs and so on. If you count the number of seats ( linux OS ) uses squashfs compared to cloop, squashfs is many many times more widespread than cloop..
4. Just run this utility on the compression file system :-
Code:
$ file /mnt-system/KNOPPI/KNOPPIX
KNOPPIX: POSIX shell script text executable
$ file /mnt-system/KNOPPIX/KNOPPIX.sq
KNOPPIX.sq: Squashfs filesystem, little endian, version 4.0, 630912472831 bytes, 189043 inodes, blocksize: 147 bytes, created: Mon Jan 7 04:52:16 1991
Now even a utility like 'file' knows about squashfs, which is more established ?
Last edited by kl522; 03-05-2011 at 03:56 AM.
-
... with
".. to leave a well established compression method"
I did mean, that Klaus Knopper may have good reasons not leaving a well established compression method for his Knoppix distribution.
@ utu
I have no comparison of expansion times. And I only did my compression test because I couldn't believe the result of dinosoep.
Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)
-
Senior Member
registered user

Originally Posted by
Werner P. Schulz
... with I did mean, that Klaus Knopper may have good reasons not leaving a well established compression method for his Knoppix distribution.
He should submit this cloop patches to the kernel team if he continues to want to use it for Knoppix. The knoppix kernel, there are still two modules which are compiled outside the standard distro, ie the aufs2 and cloop. I am seeing there is significant progress in integrating aufs2 into the standard distro, it will not be long aufs2 will be part of a standard kernel source.
cloop will soon be left as the only one needed as an external patch. I am not aware that there is any effort to put that into standard kernel source. I hope I am wrong in this.
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

SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95

Dell 32GB DDR5 5600 CAMM KYHG6V Precision 7670 7680 7770 7780 16Gx8 Memory
$669.00

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$471.39

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)
$89.99

HYNIX 64GB (1X64GB) 2RX4 PC4-3200AA DDR4 SERVER MEMORY
$600.00

MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY
$229.00

Lot 100 SK hynix 16GB 2Rx8 PC4-23400 DDR4-2933Y ECC Reg Server Memory RDIMM RAM
$9599.00

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot
$202.50