[LAU] dualcore and audio software

Fons Adriaensen fons at kokkinizita.net
Fri May 1 20:11:14 EDT 2009

On Sat, May 02, 2009 at 01:34:03AM +0200, Atte André Jensen wrote:
> Dan S wrote:
> > Maybe your softwares support load-sharing over multiple processors (a
> > good thing, no?) and therefore all the work is being neatly divided
> > between the processors. Any reason that should be bad?
> No, what would be great. Unfortunately I'm pretty that's not what's 
> happening. With the same patch I can run 35 (but not 40) voices in ams 
> on dual core and 45 (but not 50) with one core disabled:

Just guessing, but it could be that with two cores
the audio thread (which would be responsible for most
of the load) gets scheduled randomly on one of the two
cores, which may have a penalty. This is possible as this
thread will sleep at the end of each period, waiting for
the next, and would also explain the nearly equal load
levels which you see.



Io lo dico sempre: l'Italia è troppo stretta e lunga.

More information about the Linux-audio-user mailing list