[PVE-User] Very slow server (RAW IDE discs and KVM)

Erik van Ast Erik.van.Ast at suzohapp.nl
Wed Aug 10 12:18:13 CEST 2011


Hi all,

Here an overview of my "Atop" program. Where can I find the PAG line?

proxmox:~# atop
ATOP - proxmox            2011/08/10  12:15:38               10 seconds
elapsed
PRC | sys   0.21s | user   0.36s | #proc    132 | #zombie    0 | #exit
0 |
CPU | sys      3% | user      4% | irq       0% | idle    291% | wait
102% |
cpu | sys      1% | user      2% | irq       0% | idle     42% | cpu000
w 55% |
cpu | sys      1% | user      1% | irq       0% | idle     60% | cpu001
w 37% |
cpu | sys      1% | user      1% | irq       0% | idle     93% | cpu002
w  6% |
cpu | sys      0% | user      0% | irq       0% | idle     96% | cpu003
w  4% |
CPL | avg1   0.48 | avg5    0.60 | avg15   0.76 | csw    93704 | intr
67140 |
MEM | tot    7.8G | free   68.9M | cache   1.9G | buff  238.8M | slab
181.1M |
SWP | tot    7.0G | free    7.0G |              | vmcom   5.3G | vmlim
10.9G |
DSK |         sda | busy     99% | read       1 | write    503 | avio
19 ms |
NET | transport   | tcpi     120 | tcpo     155 | udpi       0 | udpo
0 |
NET | network     | ipi      150 | ipo      155 | ipfrw      0 | deliv
133 |
NET | tap106   0% | pcki      33 | pcko     109 | si    3 Kbps | so   40
Kbps |
NET | tap102   0% | pcki      67 | pcko     137 | si    7 Kbps | so   15
Kbps |
NET | eth0     0% | pcki     275 | pcko     315 | si   56 Kbps | so  184
Kbps |
NET | vmbr0  ---- | pcki     191 | pcko     155 | si   11 Kbps | so  227
Kbps |

  PID  SYSCPU  USRCPU  VGROW  RGROW  RDDSK  WRDSK  ST EXC S  CPU CMD
1/1
 2382   0.20s   0.36s     0K     0K     0K    89K  --   - S   6% kvm
 6757   0.01s   0.00s     0K     0K     0K     0K  --   - R   0% atop
 2995   0.00s   0.00s     0K     0K     4K 14090K  --   - S   0% kvm
 3005   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% qm
 1955   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% iscsid
 1258   0.00s   0.00s     0K     0K     0K     0K  --   - S   0%
edac-poller
 1744   0.00s   0.00s     0K     0K     0K     8K  --   - S   0%
kjournald
 1882   0.00s   0.00s     0K     0K     0K     0K  --   - S   0%
flush-254:2

Kind regards, 
Erik

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

Message: 1
Date: Wed, 10 Aug 2011 09:26:03 +0200
From: "Erik van Ast" <Erik.van.Ast at suzohapp.nl>
To: <pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID:
	
<80A72F1B1CFF80409D8E422437CEDC9A02537E45 at srv03-suzo-03.Suzo.int>
Content-Type: text/plain;	charset="us-ascii"

Hi all,

Server is still slow, but with the help of some of you I have tested
some more things which might tell the experts the reason for this server
being so slow.

First of all I installed atop on the Proxmox server so I could see how
my discs, CPU and RAM were doing.
Firstly I tried to change both discs from IDE to VIRTIO but that didn't
make much difference and also changing the network driver to VIRTIO
didn't change much. I tried shutting down both virtual machines on this
Proxmox and restarting the Proxmox, but that also didn't do much good
for the speed of this machine. When turning on only this (2003) machine,
the speed of that machine is very slow, but when only turning on the
other (2008) machine, everything seems fine, so I think it must have
something to do with this machine alone.
One thing that I see when using atop is that the DSK value tells me the
disc is busy for 95-99% when the 2003 virtual server is busy and when it
has been turned off the DSK value is somewhere between 5-10%. I also
created a new machine, but when installing this new machine, the DSK
value also raised to 95-99% so something must be wrong....

Here the output of : pveversion -v

pve-manager: 1.8-18 (pve-manager/1.8/6070) running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.18-2-pve: 2.6.18-5
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6

Who knows what to do next?

Kind regards,
Erik

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

Message: 2
Date: Wed, 10 Aug 2011 10:35:37 +0200
From: "Holger Hampel | RA Consulting" <h.hampel at rac.de>
To: <pve-user at pve.proxmox.com>
Subject: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID:
	<18F8639CFC8C7C4D819AB347808079D4FDFF00 at pluto.office.rac.de>
Content-Type: text/plain;	charset="iso-8859-1"

Hallo Erik,

If you have real I/O while the machine is doing nothing useful it might
be paging.

Look at the PAG line of atop - the number should be very small. If not
the host is paging. You have to low memory or oversized the memory of
your windows guest.

If the host paging ist low, there may be paging in the guest (for the
host this is normal disk i/o). Look in the windows task manager for
memory usage.

Regards
Holger
------------------------------

Message: 3
Date: Wed, 10 Aug 2011 11:48:46 +0200
From: Fr?d?ric Massot  <frederic at juliana-multimedia.com>
To: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)
Message-ID: <4E4253FE.1060804 at juliana-multimedia.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

Can you provide a complete DSK line and for the CPU line, what is the 
value of wait? ?

-- 
==============================================
|              FR?D?RIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic at juliana-multimedia.com   |
===========================Debian=GNU/Linux===



More information about the pve-user mailing list