Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

doox00

macrumors regular
Original poster
How do you specify which core a program runs off of. If wanted to specify certain apps to run on a particular core.

thanks
 
I don't think you can without really messing around with the application code or the system code.

I'm sure it can be done, though.
 
what you are talking about is called setting cpu affinity. in linux you use the tool 'taskset' which makes things very easy, there are a few freebsd equivalents that claim compatibility with open-darwin. but looking at other responses it looks like they provide thread or process affinity.

if you search for 'os x cpu affinity' you will find lots of hits, but not many promising leads i am afraid.

there are api calls for this too, if you wanted to write the thing yourself.

but try taskset and cpuset, they're your best bet.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.