This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Dual Core processor options

To: Simon <greminn@xxxxxxxxx>
Subject: Re: [Xen-users] Dual Core processor options
From: Steve Dobbelstein <steved@xxxxxxxxxx>
Date: Thu, 8 Dec 2005 14:37:53 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 08 Dec 2005 20:38:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5bdb1aa70512071813v62bcad42o78e17d74c7e84152@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Simon <greminn@xxxxxxxxx> wrote on 12/07/2005 08:13:32 PM:

> On 12/8/05, Steve Dobbelstein <steved@xxxxxxxxxx> wrote:
> > I wrote a little script to parse the output of "xm dmesg", extract the
> > information, and print it out in a simpler format.  Here is some sample
> > output from my 4 processor, dual core, hyperthreaded machine.
> Can you share your script?

(See attached file: xen-cpu-topology)

Disclaimer:  The script was a quick little write-up to put the CPU
information from "xm dmesg" into a form that I could quickly understand.
It doesn't have a whole lot of error handling.  It is based on my
observations of the "xm dmesg" output I gathered from two machines.  It is
possible that the script may not parse correctly "xm dmesg" output from
your machine if it is significantly different from what I observed on my
two machines.  It is possible the script may not parse correctly any future
output of "xm dmesg" if Xen changes the format of what it reports.

That said, I hope the script is useful and will welcome any comments,
suggestions, and corrections.

Steve D.

Attachment: xen-cpu-topology
Description: Binary data

Xen-users mailing list