I have to apologize that, my previous blog entry was incorrect.
I compiled, benchmarked and posted my result without understanding rpmbuild fully.
For those who are unsure about directories rpmbuild uses, here's little description for you that I grabbed from the Internet.
rpmbuild/SOURCES — Contains the original sources, patches, and icon files.
rpmbuild/SPECS — Contains the spec files used to control the build process.
rpmbuild/BUILD — The directory in which the sources are unpacked, and the software is built.
rpmbuild/RPMS — Contains the binary package files created by the build process.
rpmbuild/SRPMS — Contains the source package files created by the build process.
Today, I will post some of my recent benchmark results. In addition to Non-THUMB vs. THUMB, I've compiled with an armv7 chip using THUMB2 mode as well.
All of the compiling was done by rpmbuild, all the rpm macro settings were identical except -march=armv5tel, -march=armv5tel -mthumb -mthumb-interwork and -march=armv7 -mthumb.
The numbers inside the table represent file/directory sizes in bytes. File sizes are checked with ll and directory sizes are checked with du --bytes.
nled-2.52
Produced RPM: nled-2.52-6.fc12.armv5tel.rpm
Directories and files: 2 directories, 1 file
Binary File: usr/bin/nled
w/o Thumb | THUMB | THUMB2 | THUMB / NON-THUMB | THUMB / THUMB2 | |
RPM | 20776 | 20204 | 20328 | 0.9724 | 0.9939 |
Directory | 50892 | 43084 | 42684 | 0.8465 | 1.0093 |
Binary | 38604 | 30796 | 30396 | 0.7977 | 1.0131 |
wget-1.11.4
Produced RPM: wget-1.11.4-5.fc12.armv5tel.rpm
Directories and files: 86 directories, 48 files
Binary File: usr/bin/wget
w/o Thumb | THUMB | THUMB2 | THUMB / NON-THUMB | THUMB / THUMB2 | |
RPM | 422360 | 420788 | 419852 | 0.9962 | 1.0022 |
Directory | 1863679 | 1811467 | 1810431 | 0.9719 | 1.0006 |
Binary | 226464 | 174252 | 173216 | 0.7694 | 1.0060 |
httpd-2.2.13
Produced RPM: httpd-2.2.13-4.fc12.armv5tel.rpm
Directories and files: 37 directories, 334 files
Binary File: usr/sbin/httpd
w/o Thumb | THUMB | THUMB2 | THUMB / NON-THUMB | THUMB / THUMB2 | |
RPM | 748180 | 738632 | 736500 | 0.9872 | 1.0029 |
Directory | 2752985 | 2425373 | 2408025 | 0.8810 | 1.0072 |
Binary | 287988 | 233660 | 229712 | 0.8113 | 1.0172 |
gimp-2.6.7
Produced RPM: gimp-2.6.7-2.fc12.armv5tel.rpm
Directories and files: 206 directories, 1204 files
Binary File 1: usr/bin/gimp-2.6
Binary File 2: usr/bin/gimp-console-2.6
w/o Thumb | THUMB | THUMB2 | THUMB / NON-THUMB | THUMB / THUMB2 | |
RPM | 12423104 | 12431184 | 12350600 | 1.0006 | 1.0065 |
Directory | 45780103 | 43891439 | 43730427 | 0.9587 | 1.0037 |
Binary 1 | 4284848 | 3450936 | 3371440 | 0.8054 | 1.0236 |
Binary 2 | 2131228 | 1688860 | 1656092 | 0.7924 | 1.0198 |
No comments:
Post a Comment