Reputation: 1682
I build android ICS image for x86, i use make installer_img -j8 and compilation takes a very long time. I use powerfull machine (XEON 4 cores, 8 Threads, 16GB of memmory). I use CCACHE, but when i ran compilation i must wait 5 mimutes to begun "core of compilation". After that compilation process run java and I must wait again.
This is seen like that: make installer_img -j8
Table (type of system, target etc.) = 5 minutes
Compilation (CCACHE) = 20 minutes
java, perl, python scripts = 20 minutes
integrate components to installer.img = 20 minutes
I use make deep-clean before every compilation and i don't want give up this step.
How to speed up steps 1, 3 and 4? Any ideas?
I tested this on Intel Sandy Bridge E - 6 cores, 12 threads, but this machine slighty accelerate 1st, 2nd and 4th step... EDIT: I use 32GB of ram on this machine.
Upvotes: 0
Views: 2017
Reputation: 7820
RAM, it's all about the RAM as far as I can tell after you have a certain CPU which you have.
See: https://plus.google.com/113702637309752822154/posts/GWN55ZdGmxe
Specifically stating:
Speeds up ICS builds
and
http://tech.slashdot.org/story/11/10/24/0016241/android-ics-will-require-16gb-ram-to-compile
Where both state Android ICS will "require" 16. Recommended RAM is more like 24GB.
Upvotes: 1