• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ioproc thread priority
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: ioproc thread priority
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: kAudioFileAAC_ADTSType for aac plus?
  • Next by Date: playback on simulator vs. on device
  • Previous by thread: Re: Question about mono/stereo handling in AUs
  • Next by thread: Re: ioproc thread priority
  • Index(es):
    • Date
    • Thread