On Mon, Feb 27, 2012 at 6:53 AM,
<mywildimagination@xxxxxxxxx> wrote:
HI, I'm new here and very new to Xen so please be kind.
I have inherited a CentOS dedicated server with xen, basically running 1 vps and I am trying to optimise it as it seems to me that the 1 VPS is not using anywhere near what is available.
When I look at TOP command on the host machine the load average is very good 0.31, 0.25, 0.16 but when I login to the VPS and look at TOP the load average is : 8.49, 7.61, 8.21.
This is the xen list of vps's
Name                   ÂID Mem(MiB) VCPUs State  Time(s)
Domain-0 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 0 Â Â Â405 Â Â 2 r----- 778902.7
saturn                   1   7599   2 r----- 20162599.6
As you can see there is only two vps's the Domain-0 (which as I gather is meant to be there and uses very little resources) and our main VPS..
I want Saturn to basically utilise as much resource as it can.
here is xm top in case that makes a difference.
xentop - 14:44:31 Â Xen 3.1.2-194.17.1.el5
2 domains: 2 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 8386888k total, 8386172k used, 716k free  ÂCPUs: 2 @ 2333MHz
  ÂNAME ÂSTATE  CPU(sec) CPU(%)   MEM(k) MEM(%) ÂMAXMEM(k) MAXMEM(%) VCPUS
ÂNETS NETTX(k) NETRX(k) VBDS Â VBD_OO Â VBD_RD Â VBD_WR SSID
ÂDomain-0 -----r   778921  Â1.2   414752  Â4.9  no limit n/a   2
 Â4 1229451696 1245919559  Â0    Â0    Â0    Â0  Â0
  Âsaturn -----r  20163400  99.5  Â7782260  92.8  Â7782400 Â92.8   2
 Â1 3462118258 900859990  Â3  406372 1428634114 2900835964  Â0
Thanks for your help in advance.
Ben
Ben, your DomU (saturn) will only use what it needs. Dom0 is your "host OS" in a sense. It's the one you log into to run xm commands. If you want to see the DomU use more you'll need to give it more things to do. ÂIf it's only using 8% then it probably only needs 8%.
Grant McWilliams
http://grantmcwilliams.com/Some people, when confronted with a problem, think "I know, I'll use Windows."Â
Now they have two problems.Â