Re: [PATCH 4/5] hostcpu: add support for reporting die_id in NUMA topology

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

 



On Thu, Dec 19, 2019 at 12:42:07 +0000, Daniel P. Berrangé wrote:
> Update the host CPU code to report the die_id in the NUMA topology
> capabilities. On systems with mulitple dies, this fixes the bug
> where CPU cores can't be distinguished:
> 
>  <cpus num='12'>
>    <cpu id='0' socket_id='0' core_id='0' siblings='0'/>
>    <cpu id='1' socket_id='0' core_id='1' siblings='1'/>
>    <cpu id='2' socket_id='0' core_id='0' siblings='2'/>
>    <cpu id='3' socket_id='0' core_id='1' siblings='3'/>
>  </cpus>
> 
> Notes core_id is repeated within the scope of the socket.
> 
> It now reports
> 
>  <cpus num='12'>
>    <cpu id='0' socket_id='0' die_id='0' core_id='0' siblings='0'/>
>    <cpu id='1' socket_id='0' die_id='0' core_id='1' siblings='1'/>
>    <cpu id='2' socket_id='0' die_id='1' core_id='0' siblings='2'/>
>    <cpu id='3' socket_id='0' die_id='1' core_id='1' siblings='3'/>
>  </cpus>
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux