[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AMD64 X2 questions



On Fri, Aug 24, 2007 at 01:04:16AM +0200, Michael wrote:
> Do you know if the kernel tries to balance load really equally ?
> For my 2core AMD64 it seems cpu0 has to be about >70% before cpu1 gets involved. 
> Another idea is, i always see cpu0 is the most busy one. But wouldn't switching the 'most busy cpu' from 0 to 1 at certain intervals (say, 3 seconds) reduce heat ?

If you have a single dual core cpu, then it shouldn't make any
difference.  Also if the cpu can't handle running at 100% load forever,
then the cooling system is misdesigned.  It is just normal to always use
the first cpu first.  And moving processes around causes cache flushes
which slows things down, and probably wastes more power moving data
around needlessly.

In fact if you have three processes to run and in total they need 90% of
one cpu, then it is better to run it all on one cpu and let the other
one go to power saving mode rather than running half the load on each.
That does save power and reduce heat.

--
Len Sorensen



Reply to: