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

Re: [Xen-users] how do i confirm my new second CPU


  • To: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • From: simon ben <guy20034u@xxxxxxxxx>
  • Date: Wed, 10 Jul 2013 11:17:41 -0700 (PDT)
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 10 Jul 2013 18:18:49 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ABfhl9bDsTH/HziRstkfpYsVMET4rG/j0qrGOpJZARmFtxn5UJ5gMTc4k7ljjfNVCsPl+rFS8Si17K9/zz/iaN0+aMTGtgUmLrpt4uyC1pJ0M5WUAFkqKHKxKCnBFpGi9ZafyNwbx8iOaIqdcyktsaLUhIImdPYI2V5WgDwdbR0= ;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Dear Alexandre,

I really appreciate your quick reply .
as i had posted my xm top command and i have pinned my DomUs to vcpus and after using all the 8 cores of the first cpu i have begun with the second CPU
also what i do is i create a new domu and i do reassign my memory and Vcpus after the domU is created bu modifying the etc/xen/domU file below is output of xm vcpu-list
--------

Name                              ID VCPUs   CPU State   Time(s) CPU Affinity
Domain-0                           0     0     0   r--   67122.7 0
mail                              11     0     4   -b-   40867.3 2-5
mail                              11     1     2   -b-   32873.6 2-5
mail                              11     2     5   -b-   31382.7 2-5
mail                              11     3     3   -b-   31436.2 2-5
mailscanner                       12     0    10   -b-   25491.7 9-10
mailscanner                       12     1     9   -b-   14385.9 9-10
web                               10     0     8   -b-   22863.8 6-8
web                               10     1     6   -b-   11429.9 6-8
webnew                             9     0    13   -b-   27187.1 11-14
webnew                             9     1    11   -b-   10607.2 11-14
webnew                             9     2    14   -b-   11883.0 11-14
webnew                             9     3    12   -b-   11952.7 11-14

------------

I am using 14 cores 2 are remaining as of now and everything is working fine..
does the above confirm that both my cpus are being used ..

thanks so much and apprecite

regards

simon



From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
To:
Sent: Wednesday, July 10, 2013 8:24 PM
Subject: Re: [Xen-users] how do i confirm my new second CPU

Hello.

El 10/07/13 11:42, simon ben escribió:
> Dear All,
>
> I had a Centos 5.8 server running xen 3.1.2-194.el5 for quite sometime
> and working fine
>
> i have just added a second cpu but am confused since the different
> utilities to check for the presence of the new installed CPU is conflicting
>
> what i mean is running cat /proc/cpuinfo shows one cpu
That shows how many CPU's are visible for Dom0. Normally, the default is
the number of PCPUs, but obviously it's not your case. This is
controlled via xen boot command line options, can't think of a reason
why this value is not on it's defaults.
http://xenbits.xen.org/docs/unstable/misc/xen-command-line.html

> xm info show 2 cpus that is 2*8
xm extracts data directly from Xen hypervisor, who can see all the CPUs.

> how do i correctly check and be confirmed that my linux xen server is
> using both Cpus.
> i have already assigned VM to the cores on the second cpu and everything
> is working fine
> but jus wanted to confirm.
IMHO, xm and xentop output should be enough.

To be sure sure sure, you may try to pin specific cores to specific
DomU's, using all 16 CPUs visible. If you happen to find a CPU that is
not truly available, a DomU won't be created anf you would get an error.
You probably would also be able to see, how the DomU's that shares the
same physical core (visible as 2 due to HT) interfere with each other on
CPU consumption.

Greetings.

--
Alexandre Kouznetsov


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

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

 


Rackspace

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