https://elinux.org/index.php?title=Squash_Fs_Comparisons&feed=atom&action=history
Squash Fs Comparisons - Revision history
2024-03-29T05:54:32Z
Revision history for this page on the wiki
MediaWiki 1.31.0
https://elinux.org/index.php?title=Squash_Fs_Comparisons&diff=7871&oldid=prev
FransMeulenbroeks: Category:File Systems
2008-11-15T11:06:32Z
<p><a href="/Category:File_Systems" title="Category:File Systems">Category:File Systems</a></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 11:06, 15 November 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Table Of Contents</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Table Of Contents</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l220" >Line 220:</td>
<td colspan="2" class="diff-lineno">Line 218:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   Squashfs2.1  24.72 seconds (User 0.56 secs, Sys 13.15 secs)</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>   Squashfs2.1  24.72 seconds (User 0.56 secs, Sys 13.15 secs)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:File Systems]]</ins></div></td></tr>
<!-- diff cache key elinux:diff::1.12:old-2087:rev-7871 -->
</table>
FransMeulenbroeks
https://elinux.org/index.php?title=Squash_Fs_Comparisons&diff=2087&oldid=prev
RBot: Bot (Edward's framework)
2007-03-06T03:37:17Z
<p>Bot (Edward's framework)</p>
<p><b>New page</b></p><div><br />
<br />
Table Of Contents<br />
<br />
<br />
== Introduction ==<br />
GENERAL INFORMATION ON PERFORMANCE TESTS<br />
<hr /><br />
<br />
The following performance tests were based on two file sets: the<br />
liveCD filesystem from the Ubuntu liveCD (Warty release), and the<br />
liveCD filesystem from the Damn Small Linux liveCD (release 0.8.4).<br />
The Ubuntu liveCD filesystem was used to test filesystem performance<br />
from CDROM and hard disk for Zisofs, Cloop, Squashfs 2.0 and Squashfs2.1.<br />
CRAMFS filesystem performance could not be tested for this filesystem<br />
bacause it exceeds the maximum supported size of CRAMFS. To test<br />
CRAMFS performance against Squashfs, the liveCD filesystem from<br />
Damn Small Linux was used.<br />
<br />
NOTE: the usual warnings apply to these results, they are provided for<br />
illustrative purposes only, and due to different hardware and/or file data, you<br />
may obtain different results. As such the results are provided "as is" without<br />
any warranty (either express or implied) and you assume all risks as to their<br />
quality and accuracy.<br />
<br />
As can be seen all the compressed filesystems are faster than the<br />
uncompressed filesystems. This is because modern computers are substantially<br />
I/O bound and the smaller disk seek-time and I/O incurred with a compressed<br />
filesystem outweighs the extra CPU overhead of decompression.<br />
<br />
The tests were done on an Apple [[Power Book]] with an 867 [[MHz]] G4 [[PowerPC]].<br />
<br />
All tests were performed from a cold-cache. <br />
<br />
== Ubuntu liveCD performance tests ==<br />
Here is the size comparison for the same filesystem contents, using several different file systems.<br />
<br />
<br />
<pre><br />
ext3 uncompressed size 1.4 GB<br />
ISO9660 uncompressed size 1.3 GB<br />
Zisofs compressed size 589.81 MB<br />
Cloop compressed size 471.89 MB<br />
Squashfs2.0 compressed size 448.58 MB<br />
Squashfs2.1 compressed size 448.58 MB<br />
</pre><br />
<br />
<br />
=== Performance tests from CDROM ===<br />
<br />
==== Directory Lookup performance ====<br />
Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem<br />
mounted from CDROM<br />
<br />
<br />
<pre><br />
Zisofs 49.88 seconds (User 2.60 secs, Sys 11.19 secs)<br />
Cloop 20.80 seconds (User 2.71 secs, Sys 13.50 secs)<br />
Squashfs2.0 16.56 seconds (User 2.42 secs, Sys 10.37 secs)<br />
Squashfs2.1 10.14 seconds (User 2.48 secs, Sys 4.44 secs)<br />
</pre><br />
<br />
<br />
==== Sequential I/O performance ====<br />
<br />
Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted<br />
from CDROM<br />
<br />
<pre><br />
Zisofs 27 minutes 28.54 seconds (User 3.00 secs, Sys 1 min 4.80 secs)<br />
Cloop 5 minutes 55.72 seconds (User 2.90 secs, Sys 3 min 37.90 secs)<br />
Squashfs2.0 5 minutes 20.87 seconds (User 2.33 secs, Sys 56.98 secs)<br />
Squashfs2.1 5 minutes 15.46 seconds (user 2.28 secs, Sys 51.12 secs)<br />
</pre><br />
<br />
==== Random I/O performance ====<br />
<br />
Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort -g | awk '{ printf $2 }' > /tmp/sort<br />
<br />
Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"<br />
on filesystem mounted from CDROM<br />
<br />
<pre><br />
Zisofs 101 minutes 29.65 seconds (User 5.33 secs, Sys 1 min 17.20 secs)<br />
Cloop 35 minutes 27.51 seconds (user 5.93 secs, Sys 4 mins 30.23 secs)<br />
Squashfs2.0 21 minutes 53.05 seconds (user 5.71 secs, Sys 2 mins 36.59 secs)<br />
Squashfs2.1 21 minutes 46.99 seconds (User 5.80 secs, Sys 2 mins 31.88 secs)<br />
</pre><br />
<br />
<br />
=== Performance tests from Hard disk ===<br />
<br />
==== Directory Lookup performance ====<br />
<br />
Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem<br />
mounted from Hard disk <br />
<br />
<pre><br />
Ext3 28.89 seconds (User 2.54 secs Sys 1.88 secs) <br />
ISO9660 19.33 seconds (user 2.63 secs Sys 10.53 secs)<br />
Zisofs 17.29 seconds (User 2.62 secs, Sys 11.08 secs)<br />
Cloop 16.46 seconds (User 2.63 secs, Sys 13.41 secs)<br />
Squashfs2.0 13.75 seconds (User 2.44 secs, Sys 11.00 secs)<br />
Squashfs2.1 6.94 seconds (User 2.44 secs, Sys 4.48 secs)<br />
</pre><br />
<br />
==== Sequential I/O performance ====<br />
<br />
Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted<br />
from Hard disk<br />
<br />
<pre><br />
Ext3 1 minute 36.80 seconds (User 1.90 secs Sys 13.12 secs)<br />
ISO9660 1 minute 41.85 seconds (user 2.58 secs Sys 22.69 secs)<br />
Zisofs 1 minute 21.47 seconds (User 2.73 secs, Sys 54.44 secs)<br />
Cloop 1 minute 34.06 seconds (user 2.85 secs, Sys 1 min 12.13 secs)<br />
Squashfs2.0 1 minute 21.22 seconds (User 2.42 secs, Sys 56.21 secs)<br />
Squashfs2.1 1 minute 15.46 seconds (User 2.36 secs, Sys 49.78 secs)<br />
</pre><br />
<br />
==== Random I/O performance ====<br />
<br />
Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort -g | awk '{ printf $2 }' > /tmp/sort<br />
<br />
Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"<br />
on filesystem mounted from Hard disk<br />
<br />
<pre><br />
Ext3 12 minutes 16.86 seconds (User 5.14 secs Sys 22.99 secs) <br />
ISO9660 11 minutes 33.82 seconds (User 5.62 secs Sys 32.16 secs)<br />
Zisofs 11 minutes 13.64 seconds (User 5.08 secs, Sys 52.62 secs)<br />
Cloop 5 minutes 37.93 seconds (user 6 secs, Sys 2 mins 22.38 secs)<br />
Squashfs2.0 5 minutes 7.11 seconds (user 5.63 secs, Sys 2 mins 35.23 secs)<br />
Squashfs2.1 5 minutes 1.87 seconds (User 5.71 secs, Sys 2 mins 29.98 secs)<br />
</pre><br />
<br />
<br />
== Damn Small Linux liveCD performance tests ==<br />
<br />
<pre><br />
ext3 uncompressed size 126 MB<br />
CRAMFS compressed size 52.19 MB<br />
Squashfs2.0 compressed size 46.52 MB<br />
Squashfs2.1 compressed size 46.52 MB<br />
</pre><br />
<br />
=== Performance tests from CDROM ===<br />
<br />
==== Directory Lookup performance ====<br />
<br />
Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem<br />
mounted from CDROM<br />
<br />
<pre><br />
CRAMFS 10.85 seconds (User 0.39 secs, Sys 0.98 secs)<br />
Squashfs2.0 2.97 seconds (User 0.36 secs, Sys 2.15 secs)<br />
Squashfs2.1 2.43 seconds (User 0.40 secs, Sys 1.42 secs)<br />
</pre><br />
<br />
==== Sequential I/O performance ====<br />
<br />
Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted<br />
from CDROM<br />
<br />
<pre><br />
CRAMFS 55.38 seconds (User 0.34 secs, Sys 6.98 secs)<br />
Squashfs2.0 35.99 seconds (User 0.30 secs, Sys 6.35 secs)<br />
Squashfs2.1 33.83 seconds (User 0.26 secs, Sys 5.56 secs)<br />
</pre><br />
<br />
==== Random I/O performance ====<br />
<br />
Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort -g | awk '{ printf $2 }' > /tmp/sort<br />
<br />
Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"<br />
on filesystem mounted from CDROM<br />
<br />
<br />
<pre><br />
CRAMFS 3 minutes 1.68 seconds (User 0.54 secs, Sys 9.51 secs)<br />
Squashfs2.0 1 minute 39.45 seconds (User 0.57 secs, Sys 13.14 secs)<br />
Squashfs2.1 1 minute 38.41 seconds (User 0.58 secs, Sys 13.08 secs)<br />
</pre><br />
<br />
=== Performance tests from Hard disk ===<br />
<br />
==== Directory Lookup performance ====<br />
<br />
Time taken to perform "ls -lR --color=alawys | cat > /dev/null" on filesystem<br />
mounted from Hard disk<br />
<br />
<pre><br />
CRAMFS 1.77 seconds (User 0.53 secs, Sys 1.21 secs)<br />
Squashfs2.0 2.67 seconds (User 0.41 secs, Sys 2.25 secs)<br />
Squashfs2.1 1.87 seconds (User 0.41 secs, Sys 1.46 secs)<br />
</pre><br />
<br />
==== Sequential I/O performance ====<br />
<br />
Time taken to perform "tar cf - | cat > /dev/null" on filesystem mounted<br />
from Hard disk <br />
<br />
<pre><br />
CRAMFS 6.80 seconds (User 0.36 secs, Sys 6.02 secs)<br />
Squashfs2.0 7.23 seconds (User 0.29 secs, Sys 6.62 secs)<br />
Squashfs2.1 6.53 seconds (User 0.31 secs, Sys 5.82 secs)<br />
</pre><br />
<br />
==== Random I/O performance ====<br />
<br />
Random access pattern generated by "find /mnt -type f -printf "%s %p\n" | sort -g | awk '{ printf $2 }' > /tmp/sort<br />
<br />
Time taken to perform "cpio -o --quiet -H newc < /tmp/sort > /dev/null"<br />
on filesystem mounted from Hard disk <br />
<br />
<br />
<pre><br />
CRAMFS 28.55 seconds (User 0.49 secs, Sys 6.49 secs)<br />
Squashfs2.0 25.44 seconds (User 0.58 secs, Sys 13.17 secs)<br />
Squashfs2.1 24.72 seconds (User 0.56 secs, Sys 13.15 secs)<br />
</pre></div>
RBot