Re: Audio threads scheduling
Re: Audio threads scheduling
- Subject: Re: Audio threads scheduling
- From: William Stewart <email@hidden>
- Date: Fri, 2 Apr 2004 11:24:38 -0800
On 02/04/2004, at 1:47 AM, Stiphane Letz wrote:
>
> I wouldn't stress to hard over it. MillionMonkeys was originally
>
> written to help stress out the system, all the while trying to
>
> simulate
>
> the different strategies a real world audio engine might use for it's
>
> threading. One of the lessons we learned from it is that having your
>
> feeder threads be real-time isn't normally a good thing.
>
>
Buy why?
>
Actually using fixed priority 63 for the feeder threads does not work
>
so well...
>
And using real-time 96 for the feeder threads with properly choosen
>
values for the computation parameter work quite well and solve
>
interleaving problems.
>
>
So what are the *technical* issues to prevent using real-time feeder
>
threads?
The problem is that they are essentially the highest priority running
on the system. So, you then start to compete with yourself for doing
I/O tasks (like the I/O thread of CoreMIDI as well as Audio Device
I/O).
The question really is why doesn't P=63 work? It should. If it doesn't,
then we'd like to get bug reports, reproducible scenarios, so we can
have these issues addressed. We've had these kinds of complaints in the
past, but never been able to get reproducible examples, so we can't fix
the problems. We can't get these issues fixed on vague complaints -
they don't listen to us - with good reason, as often the problem is not
what you think it is.
Any help here will be appreciated
Bill
>
>
Thanks
>
>
Stephane Letz
>
>
>
>
> On Apr 1, 2004, at 3:20 PM, Stiphane LETZ wrote:
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.