[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [vfio-users] Distinguishing Logical and HT Cores, Cpu-latencies Script Results



Interesting, relevant results below:

<topology>
      <cells num='1'>
        <cell id='0'>
          <memory unit='KiB'>32839588</memory>
          <cpus num='12'>
            <cpu id='0' socket_id='0' core_id='0' siblings='0'/>
            <cpu id='1' socket_id='0' core_id='0' siblings='1'/>
            <cpu id='2' socket_id='0' core_id='1' siblings='2'/>
            <cpu id='3' socket_id='0' core_id='1' siblings='3'/>
            <cpu id='4' socket_id='0' core_id='2' siblings='4'/>
            <cpu id='5' socket_id='0' core_id='2' siblings='5'/>
            <cpu id='6' socket_id='0' core_id='3' siblings='6'/>
            <cpu id='7' socket_id='0' core_id='3' siblings='7'/>
            <cpu id='8' socket_id='0' core_id='4' siblings='8'/>
            <cpu id='9' socket_id='0' core_id='4' siblings='9'/>
            <cpu id='10' socket_id='0' core_id='5' siblings='10'/>
            <cpu id='11' socket_id='0' core_id='5' siblings='11'/>
          </cpus>
        </cell>
      </cells>
    </topology>

The siblings value is equal to the cpu id, however the core_id looks to be on to something!
So if that is correct, the pairings would then be cpu id 0 &1  = core_id 0, cpu id 2 &3  = core_id 1, etc...
Does the output for yours show the siblings value differently (as you explained it would then be cpuid 0 = siblings 1, etc...)?

On Fri, Mar 4, 2016 at 10:31 AM, Rokas Kupstys <rokups zoho com> wrote:
Run "virsh capabilities" and look for <cpus> tag. It lists core siblings. Its what you are looking for right? For me this script also is little inconclusive, however seems like libvirt lists siblings right as i cant pin one core to two physical cores that are not siblings.


On 2016.03.04 16:34, Jeff wrote:
I'm trying to distinguish which cores are which on my Intel 5930k processor.
I ran the script at the console, with no other additional VM's, Docker, or plugins running (I'm running UnRAID).
My output doesn't show any real differences between the cores, all 4's and 5's, with the expected 10 to itself.
I had to modify the script a little to run (locations for netperf and BC), but that's really it.
Nothing else special to report, no messing with governors, or the like.

Thanks!


_______________________________________________
vfio-users mailing list
vfio-users redhat com
https://www.redhat.com/mailman/listinfo/vfio-users


_______________________________________________
vfio-users mailing list
vfio-users redhat com
https://www.redhat.com/mailman/listinfo/vfio-users



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]