Multi Core optimization

3 views
Skip to first unread message

Olivier Tristan

unread,
Oct 28, 2016, 6:13:12 AM10/28/16
to perfoptimi...@lists.apple.com
Hi Guys,

I'm trying to thread on multiple cores the rendering done in a CoreAudio
callback (high/realtime priority thread) in a c++ application

First I tried using Intel TBB task_group which worked fine on Windows
but it had terrible performance on OSX with lots of switch_pri mentioned
in Instruments. (maybe related to the calling thread priority)

So I tried Grand Central Dispatch and it was a bit better but not
marvelous so I was wondering if there are some flag that are better
suited than DISPATCH_QUEUE_PRIORITY_HIGH

when used in a real time thread.

Or if there is a better solution to my problem :)

Thanks !

--
Olivier Tristan
Research & Development
www.uvi.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list (PerfOptimi...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/perfoptimization-dev/perfoptimization-dev-garchive-8409%40googlegroups.com

This email sent to perfoptimization-...@googlegroups.com

Reply all
Reply to author
Forward
0 new messages