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

Re: [Xen-devel] strange cpu number from xm info



On 04/07/2012 03:39 AM, Ian Campbell wrote:
> On Fri, 2012-04-06 at 21:01 +0100, Zhigang Wang wrote:
>> On 04/06/2012 03:52 PM, Jan Beulich wrote:
>>>>>> Zhigang Wang <zhigang.x.wang@xxxxxxxxxx> 04/06/12 2:45 PM >>>
>>>> nr_cpus                : 8
>>>> nr_nodes               : 1
>>>> cores_per_socket       : 4
>>>> threads_per_core       : 1
>>>>
>>>> I thought nr_cpus = nr_nodes * cores_per_socket * threads_per_core
>>> nr_cpus = nr_nodes * sockets_per_node * cores_per_socket * threads_per_core
>> It seems on xm/xl info we don't show how many sockets_per_node. Can we do 
>> that
>> in the future?
> We can and should. Are you able to send a patch for xl at least?
>
>
Here is another case:

    # xm info
    ...
    nr_cpus                : 48
    nr_nodes               : 8
    cores_per_socket       : 12
    threads_per_core       : 1

This HP BL685 G7 (4 socket x 12 cores).

Actually sockets_per_node = 0.5. Xen calculates it correctly.

Should we should s 0.5 for sockets_per_node? Or just ignore sockets_per_node?

Thanks,

Zhigang





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.