• 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
Re: High CPU audio drops?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: High CPU audio drops?


  • Subject: Re: High CPU audio drops?
  • From: Michael McNeela <email@hidden>
  • Date: Sat, 26 Dec 2015 22:40:02 +0000

Hey Doug

Your matrix makes me wonder: are you trying to play from a launchd daemon?

Yep; a launchd LaunchAgents daemon (i.e. not running as root)

Try taking an Instruments trace that captures thread scheduling activity. It sounds like the daemon is in a throttled state, which would show in a kernel or Instruments trace as having its threads running at a very low priority.

A short ~5 second trace seems to show the main thread via launchd consistently at priority 31, vs the main thread via ‘double-click to open’ at priority 46-47. (All other threads seem to have the same priorities regardless of how the app’s launched though)

Michael
+447595247282

On 26 Dec 2015, at 18:34, Doug Wyatt <email@hidden> wrote:

Hi Michael,

Your matrix makes me wonder: are you trying to play from a launchd daemon?

Try taking an Instruments trace that captures thread scheduling activity. It sounds like the daemon is in a throttled state, which would show in a kernel or Instruments trace as having its threads running at a very low priority.

Doug



On Dec 26, 2015, at 10:11 , Michael McNeela <email@hidden> wrote:

Should you be curious, here’s what I’ve tried narrowing down so far;

<Screen Shot 2015-12-26 at 18.06.39 copy.jpeg>

Michael
07595247282

On 26 Dec 2015, at 16:55, Michael McNeela <email@hidden> wrote:

On 26 Dec 2015, at 16:48, Cyril Blanc <email@hidden> wrote:

Where are your video files ?

On the internal SSD

What Mac do you use ?

A late 2014 Mac mini (Macmini7,1), factory-configured to 2.6 GHz i5, 8GB RAM, 256GB SSD. The issue presents itself on three Macs of the same hardware configuration (bought & configured at roughly the same time), across 10.10.3, 10.10.5 and 10.11. I’m puzzled.

Michael
07595247282

On 26 Dec 2015, at 16:50, Michael McNeela <email@hidden> wrote:

Thanks for the input everybody. I should clarify that I’m simply playing regular ol’ video files using Cocoa’s AVPlayer; nothing spectacular, and the video playback continues unaffected as the audio stutters and drops. It’s incredibly odd.

Oh, and audio is being outputted through the Mac’s headphone port; not external audio interface via USB/FireWire, etc.

I’ve stopped SSH attempts bumping the CPU, just in case they were related, but the issue persists, so now I’m at a loss.

Michael
07595247282


 _______________________________________________
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: High CPU audio drops?
      • From: Doug Wyatt <email@hidden>
References: 
 >High CPU audio drops? (From: Michael McNeela <email@hidden>)
 >Re: High CPU audio drops? (From: Ross Bencina <email@hidden>)
 >Re: High CPU audio drops? (From: Take Vos <email@hidden>)
 >Re: High CPU audio drops? (From: Cyril Blanc <email@hidden>)
 >Re: High CPU audio drops? (From: Michael McNeela <email@hidden>)
 >Re: High CPU audio drops? (From: Cyril Blanc <email@hidden>)
 >Re: High CPU audio drops? (From: Michael McNeela <email@hidden>)
 >Re: High CPU audio drops? (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: High CPU audio drops?
  • Next by Date: Re: High CPU audio drops?
  • Previous by thread: Re: High CPU audio drops?
  • Next by thread: Re: High CPU audio drops?
  • Index(es):
    • Date
    • Thread