Linux compatible setaffinity.
David Xu
davidxu at FreeBSD.org
Thu Feb 21 03:27:15 UTC 2008
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
More information about the freebsd-arch
mailing list