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

Erik van Ast Erik.van.Ast at suzohapp.nl
Tue Aug 16 15:11:10 CEST 2011


Hi Matthew,

Thank you for your reply.
The drive could be slow, but do you think it is normal when only 2 VM's are running with one of them being idle that these ATOP stats are shown when copying data?

Stats:
ATOP when copying GB's to the 102 2003 machine :

proxmox:/var/lib/vz/images/102# atop
ATOP - /?                 2011/08/16  14:56:20               10 seconds elapsed
PRC | sys   0.47s | user   0.78s | #proc    138 | #zombie    0 | #exit      0 |
CPU | sys      2% | user      4% | irq       1% | idle    279% | wait    114% |
cpu | sys      1% | user      1% | irq       1% | idle     59% | cpu001 w 38% |
cpu | sys      0% | user      1% | irq       0% | idle     82% | cpu003 w 17% |
cpu | sys      0% | user      0% | irq       0% | idle     63% | cpu000 w 36% |
cpu | sys      1% | user      1% | irq       0% | idle     75% | cpu002 w 23% |
CPL | avg1   6.15 | avg5    5.04 | avg15   4.00 | csw    95508 | intr   72688 |
MEM | tot    7.8G | free  815.3M | cache   1.2G | buff  301.7M | slab  143.1M |
SWP | tot    7.0G | free    7.0G |              | vmcom   5.4G | vmlim  10.9G |
DSK |         sda | busy     99% | read      12 | write    517 | avio   18 ms |
NET | transport   | tcpi     309 | tcpo     390 | udpi       0 | udpo       0 |
NET | network     | ipi      334 | ipo      390 | ipfrw      0 | deliv    319 |
NET | tap102   5% | pcki      71 | pcko     478 | si    3 Kbps | so  516 Kbps |
NET | eth0     0% | pcki     691 | pcko     730 | si  482 Kbps | so  576 Kbps |
NET | tap106   0% | pcki      13 | pcko      42 | si    1 Kbps | so    5 Kbps |
NET | vmbr0  ---- | pcki     308 | pcko     346 | si   16 Kbps | so  550 Kbps |
NET | lo     ---- | pcki      44 | pcko      44 | si   13 Kbps | so   13 Kbps |

  PID  SYSCPU  USRCPU  VGROW  RGROW  RDDSK  WRDSK  ST EXC S  CPU CMD     1/1
 2533   0.18s   0.41s     0K    32K     4K   688K  --   - S   6% kvm
12875   0.25s   0.30s     0K     0K   576K 12774K  --   - S   5% kvm
13009   0.00s   0.02s     0K     0K     0K     0K  --   - S   0% apache2
13000   0.00s   0.02s     0K     0K     0K     0K  --   - S   0% apache2
12612   0.00s   0.02s     0K     0K     0K     4K  --   - S   0% pvedaemon
12496   0.00s   0.01s     0K     0K     0K     4K  --   - S   0% pvedaemon
13003   0.01s   0.00s     0K     0K     0K     0K  --   - S   0% qm
13012   0.01s   0.00s     0K     0K     0K     0K  --   - R   0% atop
    7   0.01s   0.00s     0K     0K     0K     0K  --   - S   0% ksoftirqd/1
 1752   0.01s   0.00s     0K     0K     0K     8K  --   - S   0% kjournald
12886   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% qm
 1963   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% iscsid
   24   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% bdi-default
  401   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% mpt_poll_0
  802   0.00s   0.00s     0K     0K     0K    36K  --   - S   0% kjournald
 1189   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% edac-poller
 1700   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% flush-254:1

ATOP when copying GB's to the 106 2008 machine

ATOP - /?                 2011/08/16  15:04:00               10 seconds elapsed
PRC | sys   1.11s | user   1.44s | #proc    134 | #zombie    0 | #exit      0 |
CPU | sys      7% | user     15% | irq       1% | idle    288% | wait     88% |
cpu | sys      3% | user      8% | irq       0% | idle     63% | cpu001 w 26% |
cpu | sys      3% | user      5% | irq       0% | idle     78% | cpu002 w 13% |
cpu | sys      1% | user      1% | irq       0% | idle     63% | cpu000 w 35% |
cpu | sys      0% | user      1% | irq       0% | idle     84% | cpu003 w 14% |
CPL | avg1   0.92 | avg5    2.55 | avg15   3.36 | csw    62188 | intr   44548 |
MEM | tot    7.8G | free    2.9G | cache   1.2G | buff  301.8M | slab  110.6M |
SWP | tot    7.0G | free    7.0G |              | vmcom   3.3G | vmlim  10.9G |
DSK |         sda | busy     88% | read       7 | write    580 | avio   15 ms |
NET | transport   | tcpi      63 | tcpo      68 | udpi       0 | udpo       0 |
NET | network     | ipi       70 | ipo       68 | ipfrw      0 | deliv     68 |
NET | tap106 158% | pcki    7435 | pcko   13596 | si  398 Kbps | so   15 Mbps |
NET | eth0     1% | pcki   13526 | pcko    7422 | si   15 Mbps | so  434 Kbps |
NET | lo     ---- | pcki      41 | pcko      41 | si   12 Kbps | so   12 Kbps |
NET | vmbr0  ---- | pcki      56 | pcko      27 | si    3 Kbps | so   16 Kbps |

  PID  SYSCPU  USRCPU  VGROW  RGROW  RDDSK  WRDSK  ST EXC S  CPU CMD     1/1
 2533   1.10s   1.35s     0K     0K    28K 54427K  --   - S  24% kvm
13042   0.00s   0.02s     0K     0K     0K     0K  --   - S   0% apache2
13051   0.00s   0.02s  3196K  1372K     0K     0K  --   - S   0% apache2
12612   0.00s   0.02s     0K     0K     0K     4K  --   - S   0% pvedaemon
12496   0.00s   0.02s     0K     0K     0K     4K  --   - S   0% pvedaemon
13003   0.00s   0.01s     0K     0K     0K     0K  --   - S   0% qm
13012   0.01s   0.00s     0K     0K     0K     0K  --   - R   0% atop
 2922   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% sshd
 2516   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% sshd
 1963   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% iscsid
 2355   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% ntpd
 1962   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% iscsid
   24   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% bdi-default
  802   0.00s   0.00s     0K     0K     0K     8K  --   - S   0% kjournald
 1700   0.00s   0.00s     0K     0K     0K     0K  --   - S   0% flush-254:1
 1752   0.00s   0.00s     0K     0K     0K    60K  --   - S   0% kjournald

Kind regards / Mit freundlichem Gruß,
Erik
   


-----Oorspronkelijk bericht-----
Van: Matthew Caron [mailto:Matt.Caron at sixnet.com] 
Verzonden: dinsdag 16 augustus 2011 14:44
Aan: Erik van Ast
CC: Holger Hampel | RA Consulting; pve-user at pve.proxmox.com
Onderwerp: Re: [PVE-User] Very slow server (RAW IDE discs and KVM)

On 08/16/2011 08:40 AM, Erik van Ast wrote:
> DSK |         sda | busy    100% | read     278 | write    194 | avio   21 ms |

sda is both pegged and really slow. My write rate is double that, and my read rate is 20 times that, and the drives are reporting 75% usage.

These are crappy 7200 RPM desktop-grade drives in a software RAID1 mirror. Nothing special.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.caron at sixnet.com

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________



More information about the pve-user mailing list