-
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
Vintage DEC Digital Equipment Corp. Digital PC752 DEC PC LPv 433SX 486 Computer
$250.00
Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP
$2799.00
*NEW UNOPENED* Vintage DEC LB-5923 Keyboard
$40.00
Vintage Digital DEC RF31T 381MB DSSI bus hard drive VAX
$100.00
8 Vintage (DEC) Digital Equipment Corp Cartridges
$60.00
VINTAGE Digital Terminal Monitor Model DEC VT320 and keyboard - Powers On
$155.00
Digital DEC VAXStation 4000 VLC Work Station VS48K-CA Vintage
$399.00
Vintage DEC Digital 018L 19-17043-02 DIP40 Gold Ceramic De/Serializer IC Chip
$7.95
Vintage DEC Digital Equipment Corp PDP 11/40 G114 16K SENSE/INHIBIT (B10)
$269.99
Vintage DEC Digital/applicon USTEP ADR CTRL 01281-001 (1974)
$139.99