PDA

View Full Version : SquashFS performance


neoire
12th May 2009, 01:13 AM
Hello,

Not sure if this message belongs here, sorry if it's the wrong spot.

I recently made a live USB stick, using the F10 live CD and livecd-creator. There were a few packages that I liked, but was not included on it (vim and screen, mostly), and I decided to poke around with it. Long story short, I unsquashed the image, mounted the ext3 image inside, chrooted into it, and installed my packages.

The space usage in the image was 2.1/3.0 GB before I did anything, and it was 2.2/3.0 when I finished installing. I then squashed the image back.

Here's the issue:

The original squashFS image was ~670 Mb, but the new image I made was 1.1 Gb!! Compression ratio almost went down by half. Is there any obvious reason for this drop? Is it that the image is more fragmented than before? Or is it just by chance that the new image didn't compress well?

thanks,
neoire

RahulSundaram
12th May 2009, 01:39 AM
Hi,

I think this a question better suited for fedora-livecd list

http://www.redhat.com/mailman/listinfo/fedora-livecd-list

I recall there being a good reason why this happens but don't remember the answer off-hand.

If you want to create a modified live cd, you got to follow the method outlined in

http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD