mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 10:16:34 -04:00
Add comparison with 1M block size to README
This commit is contained in:
parent
6e2a110b51
commit
a8fa18e32c
23
README.md
23
README.md
@ -333,6 +333,29 @@ In terms of compression ratio, the **DwarFS file system is more than 8 times
|
|||||||
smaller than the SquashFS file system**. With DwarFS, the content has been
|
smaller than the SquashFS file system**. With DwarFS, the content has been
|
||||||
**compressed down to 1.1% (!) of its original size**.
|
**compressed down to 1.1% (!) of its original size**.
|
||||||
|
|
||||||
|
When using identical block sizes for both file systems, the difference,
|
||||||
|
quite expectedly, becomes a lot less dramatic:
|
||||||
|
|
||||||
|
$ time sudo mksquashfs install perl-install-1M.squashfs -comp zstd -Xcompression-level 22 -b 1M
|
||||||
|
|
||||||
|
real 41m55.004s
|
||||||
|
user 340m30.012s
|
||||||
|
sys 1m47.945s
|
||||||
|
|
||||||
|
$ time mkdwarfs -i install -o perl-install-1M.dwarfs -S 20
|
||||||
|
|
||||||
|
real 26m26.987s
|
||||||
|
user 245m11.438s
|
||||||
|
sys 2m29.048s
|
||||||
|
|
||||||
|
$ ll -h perl-install-1M.*
|
||||||
|
-rw-r--r-- 1 mhx users 2.8G Nov 30 10:34 perl-install-1M.dwarfs
|
||||||
|
-rw-r--r-- 1 root root 4.0G Nov 30 10:05 perl-install-1M.squashfs
|
||||||
|
|
||||||
|
But the point is that this is really where SquashFS tops out, as it doesn't
|
||||||
|
support larger block sizes. And as you'll see below, the larger blocks don't
|
||||||
|
necessarily negatively impact performance.
|
||||||
|
|
||||||
DwarFS also features an option to recompress an existing file system with
|
DwarFS also features an option to recompress an existing file system with
|
||||||
a different compression algorithm. This can be useful as it allows relatively
|
a different compression algorithm. This can be useful as it allows relatively
|
||||||
fast experimentation with different algorithms and options without requiring
|
fast experimentation with different algorithms and options without requiring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user