|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] How set up CPU time
HI
Yes you can restrict the virtual machine to use the % of cpu. This can
be done through
Suppose you have a 2 virtual machine in your system. So you can give a
Weight in such a ratio so that one virtual machine can use 20% cpu.
For ex:
Suppose you have provided the domain0 a weight 1
Command for giving the weight is: xm sched-sedf <domain id> -e 0 -w 1
Vm01 ---virtual machine 1 ---> weight 2
Command for giving the weight is: xm sched-sedf <domain id> -e 0 -w 2
Vm02 ---virtual machine 2 ---> weight 3
Command for giving the weight is: xm sched-sedf <domain id> -e 0 -w 3
And set the extra time option in xm sched-sedf to 0.
Now se all the virtual machine will use cpu in this propotion only.
1:2:3 = 16.5%:33%:51%
Means domain0 will use only 16.5% cpu
Vm01 use only 33% cpu
Vm02 use only 51% cpu.
I hope it is cleared to you. If you do have any problem let me know I
will elaborate it.
Thanks and regards
Nitesh Gangrade
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Diego
Parasecoli
Sent: Friday, July 21, 2006 2:16 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How set up CPU time
Hi all,
i know that for each virtual machine i can set up a number of vcpu. But
if i want to give only a % of the real CPU? For example: how can i set
up a virtual domain for using only 20% of the real CPU? is it possible?
Ty in advance
D.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|