Re: Linux compatible setaffinity.
- From: David Xu <davidxu@xxxxxxxxxxx>
- Date: Thu, 21 Feb 2008 11:28:27 +0800
Robert Watson wrote:
On Wed, 20 Feb 2008, Jeff Roberson wrote:
So perhaps this means a slightly more complex API, but not much more complex. How about:
int cpuaffinity_get(scope, id, length, mask)
int cpuaffinity_getmax(scope, id, length, mask)
int cpuaffinity_set(scope, id, length, mask)
int cpuaffinity_setmax(scope, id, length, mask)
Are these features only for jail or something else which don't care CPU
L2 cache sharing between cores ? since program still can not figure out
L2 sharing information, no way to optimize its thread's cpu arrangement.
Regards,
David Xu
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- References:
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- From: Robert Watson
- Re: Linux compatible setaffinity.
- From: Jeff Roberson
- Re: Linux compatible setaffinity.
- From: Robert Watson
- Re: Linux compatible setaffinity.
- Prev by Date: Re: dev.* analogue for interfaces
- Next by Date: Re: Linux compatible setaffinity.
- Previous by thread: Re: Linux compatible setaffinity.
- Next by thread: Re: Linux compatible setaffinity.
- Index(es):
Relevant Pages
|
|