Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: make the cvs build zips smaller?

Re: make the cvs build zips smaller?

From: bk <mutualaid_at_gmail.com>
Date: 2006-05-05

I did some quick and dirty compression testing today on an H120 build
zip (size is in kbyte, rounded to the nearest 4k):

(original) rockbox.zip 2046
(gzip -9) rockbox.tar.gz 1794 (12%)
(bzip2) rockbox.tar.bz2 1802 (12%)
(p7zip) rockbox.tar.7z 1297 (37%)
(rzip -9) rockboz.tar.rz 1738 (15%)

Interesting that the bzip2 tarball actually came out slightly bigger
than the gzip tarball. This shows that with small files compression
statistics can get a little strange. Clearly 7zip is the winner, but
even then it's only saving 750k per build.

Here's a table showing the uncompressed space used by each top-level
directory in an H120 build (this is /usr/bin/du output so there's some
rounding):

0 ./eqs
1.3M ./wps
20K ./docs
3.9M ./fonts
253K ./langs
882K ./rocks
588K ./codecs
36K ./themes
232K ./viewers
0 ./backdrops
260K ./codepages
7.4M .

Out of a total of 7.4MB, the binary and lang components take up 2.22MB.
The themes/WPS/fonts take up 5.24MB (~70% of the total). Separating the
two would be a big space/bandwidth win.

bk
Received on Fri May 5 03:40:05 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa