-
Senior Member
registered user
cloop and squashfs comparison
Below is a comparison of some of the interesting aspects of squashfs vs cloop when running on the ***SAME*** machine with 4G physical memory. Some details have been snipped for clarity :-
When using cloop kernel driver :-
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 94G 33G 61G 36% /mnt-system
/dev/cloop 4.0G 4.0G 0 100% /KNOPPIX
/dev/loop0 2.4G 940M 1.5G 39% /KNOPPIX-DATA
....
# cat /proc/meminfo
MemTotal: 3588864 kB
MemFree: 3005164 kB
Buffers: 112860 kB
Cached: 303956 kB
SwapCached: 0 kB
Active: 220000 kB
Inactive: 294008 kB
....
# ls -al /mnt-system/KNOPPIX/KNOPPIX
-rwxrwxrwx 1 root root 1546036015 2010-06-16 22:36 /mnt-system/KNOPPIX/KNOPPIX
Here is the corresponding information when using squashfs :-
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 94G 33G 61G 36% /mnt-system
/dev/loop0 1.4G 1.4G 0 100% /KNOPPIX
/dev/loop1 2.4G 939M 1.5G 39% /KNOPPIX-DATA
....
# cat /proc/meminfo
MemTotal: 3588864 kB
MemFree: 2927872 kB
Buffers: 178880 kB
Cached: 329248 kB
SwapCached: 0 kB
Active: 187076 kB
Inactive: 414508 kB
....
# ls -al /mnt-system/KNOPPIX/KNOPPIX.sq
-rwxrwxrwx 1 root root 1453662208 2010-06-16 23:09 /mnt-system/KNOPPIX/KNOPPIX.sq
Summary :-
1. cloop registers the need to use 4G of virtual memory on /dev/cloop, whereas squashfs registers the need for 1.4 G of virtual memory on /dev/loop0
2. squashfs compressed image is smaller by 100M when using the same compression algorithm and block size.
Cheers.
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 PEM640 POWEREDGE M640 BLADE SERVER
$539.95
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
HP ProLiant BL460c Gen9 Blade 2x E5-2650v4 2.2GHz =24 Cores 128GB P246 650FLB
$261.00
DELL PowerEdge M630 Blade 2x E5-2620v4 2.1GHz =16 Cores 32GB H330 2x10Gb X520
$149.00
Cisco C220M M4 2 X E5-2690 V4 14C 2.6GHZ,128GB 4 X32GB,MRaid12G,2.4TB,10G/40G
$399.99
Cisco UCS B200 M3 Blade Server, 2x Xeon E5-2697 v2, 128GB RAM, NO HDD
$149.99
🔥 World Of Warcraft Server Blade 🔥
$943.76
HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram
$58.08
DELL PowerEdge M630 Blade 2x E5-2699v3 2.3GHz =36 Cores 128GB H330 2x10Gb X520
$321.00
HP ProLiant BL460c Gen9 Blade 2x E5-2697v4 2.3GHz =36 Cores 64GB P246 650FLB
$279.00