Re: Linux compatible setaffinity.
- From: Daniel Eischen <deischen@xxxxxxxxxxx>
- Date: Wed, 26 Dec 2007 02:51:39 -0500 (EST)
On Tue, 25 Dec 2007, David Xu wrote:
Brian McGinty wrote:On Dec 23, 2007 5:44 PM, David Xu <davidxu@xxxxxxxxxxx> wrote:Robert Watson wrote:On Fri, 21 Dec 2007, David Xu wrote:
I don't say no to these interfaces, but there is a need to tell userWhile the Mac OS X API is pretty Mach-specific, it's worth taking a look
which cpus are sharing cache, or memory distance is closest enough,
and which cpus are servicing interrupts, e.g, network interrupt and
disks etc, etc, otherwise, blindly setting cpu affinity mask only can
shoot itself in the foot.
at their recently-announced affinity API:
http://developer.apple.com/releasenotes/Performance/RN-AffinityAPI/index.html
Robert N M Watson
Computer Laboratory
University of Cambridge
I like the interfaces, it is more flexible.
I agree. May I as k what's being planned? It's Jeffs' call finally I think.
Brian.
I don't have plan. ;-) If I understand it correctly, it is a hint to
scheduler, it is better describing thread relationship, while Jeff's
interface is a hard cpu binding interface, it is still needed in some circumstance.
Please take a look at Solaris' API for processor set binding:
http://docs.sun.com/app/docs/doc/816-5167/6mbb2jae6?a=expand
See processor_bind, processor_info, and pset_*.
--
DE
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- From: David Xu
- Re: Linux compatible setaffinity.
- From: Robert Watson
- Re: Linux compatible setaffinity.
- From: David Xu
- Re: Linux compatible setaffinity.
- From: Brian McGinty
- Re: Linux compatible setaffinity.
- From: David Xu
- Linux compatible setaffinity.
- Prev by Date: Re: Linux compatible setaffinity.
- Next by Date: Re: bin/118292: Add support to remove all msg/shm/sem ids with ipcrm
- Previous by thread: Re: Linux compatible setaffinity.
- Next by thread: Re: Linux compatible setaffinity.
- Index(es):
Relevant Pages
|
|