noemu Repository

This is a repository for special ARM packages that contains i386 binaries. The purpose of these packages is to avoid emulation during compilation making it faster.

Setting it up

First of all be sure that you are inside your Mamona SDK environment and have all development packages already installed.

Then add the repository to the source list using the following commands:

echo deb http://dev.openbossa.org/mamona/0.2/noemu mamona main >> /etc/apt/sources.list
apt-get update

After that you can install all noemu packages using task-mamona-sdk-noemu:

apt-get install task-mamona-sdk-noemu

or install individually any of available noemu packages:

  • bash-noemu
  • binutils-noemu
  • cpp-noemu
  • g++-noemu
  • gcc-noemu
apt-get install <noemu package>

WARNING

If you're going to flash your SDK at your device, don't forget to reinstall task-mamona-sdk (it'll remove task-mamona-sdk-noemu and install the sdk again), or the sdk packages will not work (as they're compiled for another ARCH).

Testing it

Now you can recompile your code comparing the compilation time.

Take a look at some of our tests (using all of noemu packages):

Packageemulatednoemu
wget configurereal 0m51.921sreal 0m23.380s
user 0m44.367suser 0m17.613s
sys 0m8.097ssys 0m5.824s
wget makereal 0m51.482sreal 0m7.514s
user 0m50.359suser 0m7.016s
sys 0m1.064ssys 0m0.436s
bluez-libs-3.36 configurereal 0m23.165sreal 0m15.716s
user 0m18.697suser 0m9.873s
sys 0m4.064ssys 0m3.052s
bluez-libs-3.36 makereal 0m36.400sreal 0m7.149s
user 0m35.314suser 0m5.656s
sys 0m1.084ssys 0m0.684s
bluez-utils-3.36 configurereal 0m45.817sreal 0m24.592s
user 0m40.119suser 0m20.773s
sys 0m7.044ssys 0m4.860s
bluez-utils-3.36 makereal 4m1.575sreal 1m1.164s
user 3m46.746suser 0m52.311s
sys 0m16.429ssys 0m9.609s
Qt-x11-4.4 configurereal 31m14.318sreal 24m30.077s
user 30m47.815suser 23m54.110s
sys 0m47.271ssys 0m39.298s
Qt-x11-4.4 makereal 521m26.516sreal 76m33.922s
user 520m56.165suser 73m14.335s
sys 5m49.958ssys 3m21.357s
glibc-2.7 configurereal 0m34.066sreal 0m27.145s
user 0m29.238suser 0m20.829s
sys 0m5.180ssys 0m3.872s
glibc-2.7 makereal 78m33.434sreal 25m46.912s
user 74m28.855suser 22m41.293s
sys 4m21.188ssys 3m23.437s