Results 1 to 10 of 41

Thread: Squashfs-ed knoppix

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    I think the claim that cloop needs at least I G memory is likely to be over-stated. A quick check on cloop source code revealed that it also decompresses the file system on-the-fly basis.

    The 1G of /ramdisk mounted, used when one does not have persistent store, is something which the actual usage will grow as it is used. The 1G /ramdisk is mounted, but not used when there is a persistent store. And therefore even though that's a "bug", it does no harm.

    In terms of CPU cycles, there is no apparent difference between squashfs and cloop, because both uses the same "on-the-fly" decompression and buffered blocked strategies, and also same compression algorithm.

    Therefore the only different between squashfs and cloop is that squashfs has long been accepted into the kernel, it needs no extra maintenance. Cloop is currently maintained separatelly by the author of KNOPPIX.

  2. #2
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by kl522 View Post
    I think the claim that cloop needs at least I G memory is likely to be over-stated. A quick check on cloop source code revealed that it also decompresses the file system on-the-fly basis.

    The 1G of /ramdisk mounted, used when one does not have persistent store, is something which the actual usage will grow as it is used. The 1G /ramdisk is mounted, but not used when there is a persistent store. And therefore even though that's a "bug", it does no harm.

    In terms of CPU cycles, there is no apparent difference between squashfs and cloop, because both uses the same "on-the-fly" decompression and buffered blocked strategies, and also same compression algorithm.

    Therefore the only different between squashfs and cloop is that squashfs has long been accepted into the kernel, it needs no extra maintenance. Cloop is currently maintained separatelly by the author of KNOPPIX.
    I don't think Klaus would have become the maintainer of cloop for anything less than a substantial reason; too much work for no real benefit. I don't know what that reason is, but I know it must exist. The "phantom GB of ramdisk" aspect of cloop is probably intentional, perhaps to make possible very fast growth of the actual filesystem, or some such. Regardless of all that, if one had some reason to avoid using the compressed filesystems (perhaps speed?), how difficult would it be to leave that out in a re-master? Just curious, and I thought one of y'all might have the answer.

    Cheers!
    Krishna

  3. #3
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by krishna.murphy View Post
    I don't think Klaus would have become the maintainer of cloop for anything less than a substantial reason; too much work for no real benefit. I don't know what that reason is, but I know it must exist.
    That's what we call "belief", it's not based on facts.
    I think it's all historical. Cloop existed long time ago. Klaus is not the creator. He is just the maintainer. He needed it at that moment. So now nobody else except him has "vested" interest in it. He is using it simply because he is familiar with it. Kind of sentimental value thingie. As a matter of fact, it's a easy swap to use squashfs.

    The "phantom GB of ramdisk" aspect of cloop is probably intentional, perhaps to make possible very fast growth of the actual filesystem, or some such.
    I believe that you said this because you did not look at the code. The ram disk has nothing to do with cloop. The ram disk is created for unionsfs with cloop, to allow users to have write access to the otherwise read-only cloop. And it's left mounted unused when the user has a persistent store. If you look at the code you will agree with me, it's a bug.

Posting Permissions

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


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 64GB Wifi Only Tablet Open Box

$139.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung Chromebook XE350XBA-K05US 15.6

Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD

$39.74



Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New) picture

Samsung Galaxy Tab A9 (X110) 64GB 4GB RAM International Version (New)

$126.99



Samsung 870 EVO 500GB 2.5 Inch SATA III Internal SSD Brand New MZ-77E500B/AM picture

Samsung 870 EVO 500GB 2.5 Inch SATA III Internal SSD Brand New MZ-77E500B/AM

$34.98



Samsung 32GB PC4-17000 (DDR4-2133) Memory (M393A4K40BB0-CPB4Q) picture

Samsung 32GB PC4-17000 (DDR4-2133) Memory (M393A4K40BB0-CPB4Q)

$25.00



Samsung Galaxy Tab S9/S9+/S9 Ultra S Pen - Black - OEM Original picture

Samsung Galaxy Tab S9/S9+/S9 Ultra S Pen - Black - OEM Original

$29.99



Samsung USB 3.2 Gen 1 Type-C 128GB Flash Drive 2022 (up to 400MB/s) MUF-128DA/AM picture

Samsung USB 3.2 Gen 1 Type-C 128GB Flash Drive 2022 (up to 400MB/s) MUF-128DA/AM

$15.44



Samsung Galaxy Tab Active Pro SM-T540 64GB, Wi-Fi 10.1 in - Black USED Condition picture

Samsung Galaxy Tab Active Pro SM-T540 64GB, Wi-Fi 10.1 in - Black USED Condition

$129.00



Samsung Galaxy Tab S9 Ultra Smart Book Cover EF-BX910PBEGUJ  Black Nice Preowend picture

Samsung Galaxy Tab S9 Ultra Smart Book Cover EF-BX910PBEGUJ Black Nice Preowend

$49.99