[vfio-users] Advice on cpu pinning AMD FX 8350

Alex Williamson alex.l.williamson at gmail.com
Sun Aug 30 22:16:50 UTC 2015


On Sun, Aug 30, 2015 at 4:08 PM, David Sutton <kantras at gmail.com> wrote:

> Hi there,
>
> On Sat, Aug 29, 2015 at 8:00 PM, Blank Field <ihatethisfield at gmail.com>
> wrote:
>
>> Everything as usual. By usual i mean i7 hyperthreaded cores.
>> Pair siblings cores.
>> Those, who share the FPU, and, AFAIR, caches.
>> To know your exact logical CPU numbers you should examine /proc/cpuinfo
>> closely.
>>
>>
>   I was aware of the core/module pairings, so /proc/cpuinfo was one of the
> first places that I had looked for clues; the problem is that I don't see
> it showing anywhere obvious about how the core/module pairing is numbered
> (ie 0-1,2-3,4-5,6-7 or 0-4,1-5,2-6,3-7)
>

You can try my script that uses netperf to determine core-to-core latencies
to figure out whether cores are paired:

https://github.com/awilliam/cpu-latencies

Hopefully you'll at most need to change the path to netperf and netserver
and have taskset and bc installed.  Give it a try.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150830/4c01720a/attachment.htm>


More information about the vfio-users mailing list