Results 1 to 10 of 26

Thread: Unofficial cheatcode for those who miss the old official home= cheatcode

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    it is about 200 % faster to compress otto
    it boots a tad faster and is also smaller.
    squashfs is under very active development and cloop isn't

    you don't need to squashify your knoppix install but it's really easy to do (even I succeeded after screwing up 4 times)

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Quote Originally Posted by dinosoep View Post
    it is about 200 % faster to compress
    .. 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)?

    And which command-line for "create_compressed_fs" did you use?

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    mkisofs & mksquashfs
    well, it wasn't really that accurate. I used mkisofs the first time I remastered and mksquashfs the second time, a lot had changed in the meantime. But mkisofs took really a lot of time while mksquashfs took considerably less.

    Quote Originally Posted by Werner P. Schulz View Post
    .. 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)?

    And which command-line for "create_compressed_fs" did you use?

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Quote Originally Posted by Werner P. Schulz View Post
    .. 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)

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ Werner

    Would a comparison of expansion times be comparable?
    Thanks.

  6. #6
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Werner P. Schulz View Post
    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.

  7. #7
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... 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)

  8. #8
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by Werner P. Schulz View Post
    ... 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.

  9. #9
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by dinosoep View Post
    it is about 200 % faster
    @ werner

    The only thing more versatile than the English language is the users of the English language in their use of the English language.

    Take a time interval of 2 hours. 50 % longer is 3 hours, 50 % shorter is 1 hour. 100 % longer is 4 hours, 100 % shorter is no time at all.

    If I take 2 hours to do something and dinosoep takes twice as long, then he does it 100 % slower than I and do it 100 % faster than he.

    When dinosoep says squashfs compression is 200 % faster, he is saying it takes only one third the time but I do not think that is what he meant to say and that is almost certainly not what you understood him to mean.

    @ dinosoep

    From yesterdays post I see you have 2 Gb of RAM and swap space. There is no excuse for the cloop compression to be so slow. When you did your remastering, how many clever loop devices mounted from files on your (shock horror ) windows partition did you use ?

    Further discussion of squashfs should take place under the relevant thread and that is not this one,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare picture

Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare

$4000.00



NEC Multisync II JC-1402HMA VGA EGA CGA Analog TTL Computer Monitor Vintage 1988 picture

NEC Multisync II JC-1402HMA VGA EGA CGA Analog TTL Computer Monitor Vintage 1988

$699.99



Macintosh SE/30 M5119 Computer 20MB RAM 1.2GB Hard Drive Recapped Working *Read* picture

Macintosh SE/30 M5119 Computer 20MB RAM 1.2GB Hard Drive Recapped Working *Read*

$450.00



Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals picture

Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals

$249.99



Landen Computer. Circa 1898. the Rapid Computer Company.  With Original Case. picture

Landen Computer. Circa 1898. the Rapid Computer Company. With Original Case.

$425.00



NEW Aquarius+ Computer Signature Edition - 8Bit Retro System picture

NEW Aquarius+ Computer Signature Edition - 8Bit Retro System

$239.00



Vintage Gateway 2000 Computer Intellimouse PC Mouse Pad Excellent NOS Analog Era picture

Vintage Gateway 2000 Computer Intellimouse PC Mouse Pad Excellent NOS Analog Era

$17.49



VINTAGE APPLE MACINTOSH CLASSIC ANALOG BOARD 630-0525 RECAPPED picture

VINTAGE APPLE MACINTOSH CLASSIC ANALOG BOARD 630-0525 RECAPPED

$119.99



Extron RGB-160XI Analog Computer Video 60-378-01 picture

Extron RGB-160XI Analog Computer Video 60-378-01

$187.06



Vintage Apple ll Disk drive Card for SA400 Analog conversion board RARE w Doc's picture

Vintage Apple ll Disk drive Card for SA400 Analog conversion board RARE w Doc's

$149.95