24

August
2012

Squashfs benchmarks

Before I choose the right block size and compression method for Slax filesystems, I always need to do some benchmarks. Today, I took a 100MB filesystem consisting of linux kernel (already compressed) and driver modules (not compressed), which is IMHO ideal sample for benchmarks.

I will write another blog post with conclusions based on the results mentioned below.

formatblock sizeuncompressed sizecompressed sizeratio
gz64109 189 12036 491 26433,42%
gz128109 189 12036 159 48833,12%
gz256109 189 12036 036 60833,00%
gz512109 189 12035 995 64832,97%
gz1024109 189 12035 966 97632,94%
lzma264109 189 12031 473 66428,82%
lzma2128109 189 12030 445 56827,88%
lzma2256109 189 12029 712 38427,21%
lzma2512109 189 12029 089 79226,64%
lzma21024109 189 12028 549 12026,15%

formatblock sizetime for reading
gz6416.698
gz12816.608
gz25616.526
gz51216.507
gz1 02416.416
lzma26418.638
lzma212818.558
lzma225618.453
lzma251218.282
lzma21 02418.261

formatblock sizeRAM for mount (KB)
gz64792
gz1282 224
gz2561 292
gz5122 196
gz1 0245 204
lzma2641 028
lzma21281 436
lzma22562 256
lzma25122 864
lzma21 0246 336
User comments