[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    [Xen-users] CPU Pinning and credit scheduler
From:       kevin parker <kevin.parker092 () gmail ! com>
Date:       2012-10-24 14:28:40
Message-ID: CAJLFrOW-t3oNsUbQ2jR_TZEHf-NBEfkC+_1i=yQ+3uS5hmY+zw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi All,
         This is confusing me for a while:

I am having Intel E5620 which is having *4 cores* and *8 threads*.

I am running *3* VMs lets say *vmA vmB vmC* on it using *xen 4.1.2* on
ubuntu 12.04 dom0.
.
As from the best practices i decided to assign each vm's cpu to physical
core and also to give *vmB *higher Weight in Credit-scheduler since its
running Mysql server(*I/O intensive*).
from *cat /proc/cpuinfo* its showing *8 CPU. D*oes that mean that i can
assign each vm 2 cpu each(2*3=6) and assign two cpu to Dom0(2*1=2) and
thus utilizing 8cpus(6+2).
like this:

*VM*
*xm vcpu-pin vmA 0 0*
*xm vcpu-pin vmA 1 1*
*xm vcpu-pin vmB 0 2*
*xm vcpu-pin vmB 1 3*
*xm vcpu-pin vmC 0 4*
*xm vcpu-pin vmC 1 5*
*
*
*Dom0 *
*xm vcpu-pin Domain-0 0 6*
*xm vcpu-pin Domain-0 1 7*

After setting this do we still need to Increase Weight for *vmB *after
assigning dedicated CPU.

Regards,
Kevin.Parker

[Attachment #5 (text/html)]

Hi All,<div>         This is confusing me for a while:</div><div><br></div><div>I am \
having Intel E5620 which is having <b>4 cores</b> and <b>8 \
threads</b>.</div><div><br></div><div>I am running <b>3</b> VMs lets say <b>vmA vmB \
vmC</b> on it using <b>xen 4.1.2</b> on ubuntu 12.04 dom0.</div> <div>.</div><div>As \
from the best practices i decided to assign each vm&#39;s cpu to physical core and \
also to give <b>vmB </b>higher Weight in Credit-scheduler since its running Mysql \
server(<b>I/O intensive</b>).</div><div> from <b>cat /proc/cpuinfo</b> its showing \
<b>8 CPU. D</b>oes that mean that i can assign each vm 2 cpu each(2*3=6) and assign \
two cpu to Dom0(2*1=2) and thus utilizing 8cpus(6+2).</div><div>like this:</div><div> \
</div><div> <b><u>VM</u></b></div><div><b>xm vcpu-pin vmA 0 0</b></div><div><b>xm \
vcpu-pin vmA 1 1</b></div><div><b>xm vcpu-pin vmB 0 2</b></div><div><b>xm vcpu-pin \
vmB 1 3</b></div><div><b>xm vcpu-pin vmC 0 4</b></div><div><b>xm vcpu-pin vmC 1 \
5</b></div> <div><b><u><br></u></b></div><div><b><u>Dom0 </u></b></div><div><b>xm \
vcpu-pin Domain-0 0 6</b></div><div><b>xm vcpu-pin Domain-0 1 \
7</b></div><div><br></div><div>After setting this do we still need to Increase Weight \
for <b>vmB </b>after assigning dedicated CPU.</div> \
<div><br></div><div>Regards,</div><div>Kevin.Parker</div><div><br></div>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic