ioproc thread priority
ioproc thread priority
- Subject: ioproc thread priority
- From: email@hidden
- Date: Fri, 25 Sep 2009 10:31:31 -0700
Hello,
I need to do quite a bit of processing in the ioproc due to low
latency requirements. I have been experiencing dropouts with cpu
loads as low as 40%.
As an experiment, I sent the audio data coming in to the ioproc to
another process, via udp processed the data, then sent the data back,
all in one cycle of the ioproc. The result is stunning, I was able to
add much more processing and did not experience dropouts till 100% cpu
usage.
Using pthread api, it seems that the ioproc thread sched is
SCHED_OTHER and the priority is 31, with the minimum 15 and the max
47. I set the schedule of my processing thread to SCHED_FIFO and
priority the max at 47.
It seems that the ioproc's thread priority is wimpy. Am I being
deluded somehow here?
--Baba
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden