[Bro] So uh...how do you know which pin_cpus to use?
Azoff, Justin S
jazoff at illinois.edu
Tue Oct 18 13:52:56 PDT 2016
> On Oct 18, 2016, at 4:34 PM, James Lay <jlay at slave-tothe-box.net> wrote:
> Never really understood this:
> "The correct pin_cpus setting to use is dependent on your CPU
> architecture. Intel and AMD systems enumerate processors in different
> ways. Using the wrong pin_cpus setting can cause poor performance."
> Is there a magical formula? Any advice would help thanks.
The best thing to do is to install the hwloc package and use the lstopo or lstopo-no-graphics tool to render a big ascii art image of the system.
on centos7 this works:
lstopo-no-graphics --of txt
You'll get something that looks like this:
The numbers towards the bottom are the cpu ids. So you can see that using something like
on an intel cpu would be the worst thing you could do since 21,23,25 are on the same physical cores as 1,3, and 5
- Justin Azoff
More information about the Bro