[Cbe-oss-dev] QS21 node locking of spe contexts?

Arnd Bergmann arnd at arndb.de
Wed Feb 13 10:47:26 EST 2008


On Tuesday 12 February 2008, Eric Blossom wrote:

> Can I do this?  If I use sched_setaffinity for the threads that issue
> spe_context_run,  will the spe context be assigned to the same node as
> the thread invoking spe_context_run?

Yes, that is exactly the interface you should use for this purpose.
Obviously, you should also use the mbind() syscall to bind
the memory (including hugepages) to the same node.

	Arnd <><



More information about the cbe-oss-dev mailing list