[Bro] So uh...how do you know which pin_cpus to use?
Azoff, Justin S
jazoff at illinois.edu
Tue Oct 18 14:34:34 PDT 2016
> On Oct 18, 2016, at 5:23 PM, James Lay <jlay at slave-tothe-box.net> wrote:
>>>
>>
>> Possibly.. I'd check with what hwloc says. I think just turning off
>> hyper threading makes this even easier since that completely removes
>> the possibility of accidentally pinning 2 workers to the same core.
>
> Sweet...thanks Justin...hwloc is a cool app!
>
> James
Yeah... it can be a bit confusing though since it has both a 'logical' (-l) and a 'physical' (-p) view.
I _think_ that the cpu ids in the physical view match what taskset use via broctl.
Fortunately you can run hwloc-ps -p and compare which pids are mapped to which cpus to verify it is working right.
--
- Justin Azoff
More information about the Bro
mailing list