Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dual-core G5 sysctl




On Nov 29, 2005, at 11:59 AM, Rick Berry wrote:

On the new dual-core systems, is there any way to tell which threads are running on which physical CPUs? I was wondering if it's possible to get better performance by restricting memory bus access (as each pair of cores shares a single bus).

Right now, we don't have thread affinity, so any such information would be immediately stale. That is, even if you were able to get your threads started off on all the right processors they wouldn't stay there. You can actually see this on a MP machine with a single threaded app, using the Activity Monitor. It will migrate back and forth among the processors over time.


As a general rule, it is almost always possible to get better performance by restricting memory bus access, even on uniprocessor machines. ;-)

Ian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Dual-core G5 sysctl (From: Shaun Wexler <email@hidden>)
 >Re: Dual-core G5 sysctl (From: Rick Berry <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.