slides - Spring School in Advanced Computing TACC @ UP
slides - Spring School in Advanced Computing TACC @ UP
slides - Spring School in Advanced Computing TACC @ UP
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
NUMA <strong>in</strong> Code<br />
• Schedul<strong>in</strong>g Aff<strong>in</strong>ity and Memory Policy can be<br />
changed with<strong>in</strong> code through:<br />
– sched_get/setaff<strong>in</strong>ity<br />
– get/set_memory_policy<br />
• Schedul<strong>in</strong>g: Bits <strong>in</strong> a mask are set for assignments.<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0 1<br />
Assignment to Core 0<br />
1<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0 0<br />
Assignment to Core 15<br />
1<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0<br />
0 1<br />
Assignment to Core 0 or 15<br />
27