All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: strange cpu number from xm info
Date: Fri, 06 Apr 2012 08:45:49 -0400	[thread overview]
Message-ID: <4F7EE57D.4020207@oracle.com> (raw)

Hi,

I see this output from xm info:

# xm info
...

release                : 2.6.32.21-45.6xen
version                : #1 SMP Wed Feb 29 23:42:59 EST 2012
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2826

I thought nr_cpus = nr_nodes * cores_per_socket * threads_per_core

But the above output is not.

Could anyone explain it a little?

Thanks,

Zhigang

             reply	other threads:[~2012-04-06 12:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 12:45 Zhigang Wang [this message]
2012-04-06 19:52 ` strange cpu number from xm info Jan Beulich
2012-04-06 20:01   ` Zhigang Wang
2012-04-06 21:09     ` Dan Magenheimer
2012-04-07  7:39     ` Ian Campbell
2012-05-31 13:15       ` Zhigang Wang
2012-05-31 14:00         ` Dario Faggioli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7EE57D.4020207@oracle.com \
    --to=zhigang.x.wang@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.