Originally Posted by michaelmab88
When specifying the number of threads to run i.e. 'repo sync j8' for 8 threads, keep in mind that intel core processors have hyperthreading which lets you effectively double the amount of threads you can run. On my core i7 (quadcore) I use 'j8' but if I was running on an amd quadcore I would use 'j4'.
Just my 2 cents...
Actually, hyperthreading effectively does NOTHING to improve your compile time. Extra threads swapping back and forth actually increases the overhead and decreases performance.
What hyperthreading does, is it takes away some of the operating system's ability to control process scheduling. Its basic purpose is that if you have some runaway or other high-CPU process that wants to take over your CPU, the hardware will assign a higher priority to OTHER processes, giving them equal CPU time so you don't end up dead. It will improve your "smoothness" by effectively increasing priority of low-cpu processes. It is basically pointless on CPU's with multiple real processing cores, and equally pointless on operating systems with decent process schedulers -- i.e., it is for Wondoze on single core processors. Beyond that, they're just trying to technobabble you into thinking that there is some benefit.
Best thing to do is set the number of compiler threads equal to the number of REAL processing cores.
---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------
Originally Posted by darkdata
you just need a debian base linux. And if your not sure how to get backward comparability with ubuntu 12 you can always install linux mint debian also this is just my opinion you get better results using aptitude instead of apt-get. I have to say this UNITY SUCKS ruined a great linux distro.
Does NOT need to be debian based at all. Just needs to have the necessary dependencies installed and available. I build Android on Fedora.