Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E726A200BB1 for ; Thu, 3 Nov 2016 12:55:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E5E5B160AFF; Thu, 3 Nov 2016 11:55:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4189D160AFE for ; Thu, 3 Nov 2016 12:55:59 +0100 (CET) Received: (qmail 5227 invoked by uid 500); 3 Nov 2016 11:55:58 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 5218 invoked by uid 500); 3 Nov 2016 11:55:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 5214 invoked by uid 99); 3 Nov 2016 11:55:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 11:55:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 563792C1F56 for ; Thu, 3 Nov 2016 11:55:58 +0000 (UTC) Date: Thu, 3 Nov 2016 11:55:58 +0000 (UTC) From: "Nux (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9226) Wrong number of sockets reported MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 11:56:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632522#comment-15632522 ] Nux commented on CLOUDSTACK-9226: --------------------------------- Hi Andrija, Unless the number of sockets is not reported correctly, then I don't think this is the right place for your issue. It looks more like an issue of how CPU is reported by OS/libvirt. > Wrong number of sockets reported > -------------------------------- > > Key: CLOUDSTACK-9226 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9226 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Affects Versions: 4.6.0, 4.7.0 > Environment: KVM, CentOS 7 mgmt + HV > Reporter: Nux > Labels: dashboard, kvm, sockets, statistics > > Hello, > My current setup includes a dual cpu, quad core + HT, however in the ACS dashboard the "CPU sockets" says only one. > This value is wrong and as I undestand it, it is taken from "virsh nodeinfo" which is known to give misleading information, as it reports stuff "per NUMA cell" > As per the man page of virsh, the number of real physical sockets should be calculated as "NUMA cell" multiplied by "CPU sockets". > e.g. > virsh nodeinfo > CPU model: x86_64 > CPU(s): 16 > CPU frequency: 2393 MHz > CPU socket(s): 1 > Core(s) per socket: 4 > Thread(s) per core: 2 > NUMA cell(s): 2 > physical cpus = "CPU socket(s): 1" * "NUMA cell(s): 2" = 2 (correct) > Additional information can be taken from "virsh capabilities|grep socket_id" (xml output) e.g.: > virsh capabilities|grep socket_id > > > > > > > > > > > > > > > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)