Migrate VM from VMware to PVE 2.0 - Performance Problem

greeneye

New Member
Apr 10, 2012
7
0
1
Hello,

i migrate two VM (W2003 Server) from VMware - Server v1.08 to a new PVE 2.0 Server (this is a Fujitsu Primery RX300 S6 with RAM 16GB and 4 x 1TB SATA on a RAID).

I have convert the vmdk to raw and make a new VM in PVE - no Problem. :p

When i start the vm the boot time takes nearly 10 min an the machine was very slow :(

Have sombody an idea, what make Problem :confused:
Thanx for help :eek:)

Here some notes from my PVE Server:

root@xx:~# pveperf
CPU BOGOMIPS: 38399.57
REGEX/SECOND: 930881
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 118.31 MB/sec
AVERAGE SEEK TIME: 23.57 ms
FSYNCS/SECOND: 4.90
DNS EXT: 25.50 ms
DNS INT: 0.56 ms (xx.local)

root@xx:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 352 MB in 3.01 seconds = 116.91 MB/sec

root@xx:~# hdparm -t /dev/sda2
/dev/sda2:
Timing buffered disk reads: 376 MB in 3.01 seconds = 125.07 MB/sec

root@xx:~# lspci
00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:05.0 PCI bridge: Intel Corporation 5520/X58 I/O Hub PCI Express Root Port 5 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:08.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 8 (rev 13)
00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13)
00:0a.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 10 (rev 13)
00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer Registers Port 0 (rev 13)
00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol Layer Registers Port 0 (rev 13)
00:11.0 PIC: Intel Corporation 5520/5500 Physical and Link Layer Registers Port 1 (rev 13)
00:11.1 PIC: Intel Corporation 5520/5500 Routing & Protocol Layer Register Port 1 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:15.0 PIC: Intel Corporation 5520/5500/X58 Trusted Execution Technology Registers (rev 13)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
06:00.0 PCI bridge: PLX Technology, Inc. PEX 8114 PCI Express-to-PCI/PCI-X Bridge (rev bc)
07:04.0 SCSI storage controller: Adaptec ASC-29320ALP U320 (rev 10)
09:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02)
09:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02)
0a:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02)
ff:00.0 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Xeon 5600 Series QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Xeon 5600 Series QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 0 (rev 02)
ff:02.3 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 1 (rev 02)
ff:02.4 Host bridge: Intel Corporation Xeon 5600 Series QPI Link 1 (rev 02)
ff:02.5 Host bridge: Intel Corporation Xeon 5600 Series QPI Physical 1 (rev 02)
ff:03.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Registers (rev 02)
ff:03.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Target Address Decoder (rev 02)
ff:03.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller RAS Registers (rev 02)
ff:03.4 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Test Registers (rev 02)
ff:04.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Control (rev 02)
ff:04.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Address (rev 02)
ff:04.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Rank (rev 02)
ff:04.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Thermal Control (rev 02)
ff:05.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Control (rev 02)
ff:05.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Address (rev 02)
ff:05.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Rank (rev 02)
ff:05.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Thermal Control (rev 02)
ff:06.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Control (rev 02)
ff:06.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Address (rev 02)
ff:06.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Rank (rev 02)
ff:06.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Thermal Control (rev 02)
root@xx:~#

VM Config "*.conf"
------------------
boot: dc
bootdisk: ide0
cores: 2
ide0: local:149/vm-149-disk-1.raw
ide2: cdrom,media=cdrom
keyboard: de
memory: 1024
name: vm149
net0: e1000=AA:52:C7:9C:F0:BE,bridge=vmbr0
onboot: 1
ostype: wxp
sockets: 1
 
VM Config "*.conf"
------------------
boot: dc
bootdisk: ide0
cores: 2
ide0: local:149/vm-149-disk-1.raw
ide2: cdrom,media=cdrom
keyboard: de
memory: 1024
name: vm149
net0: e1000=AA:52:C7:9C:F0:BE,bridge=vmbr0
onboot: 1
ostype: wxp
sockets: 1

Hello. Try to use the VIRTIO paravirtualization drivers for windows.
 
...
root@xx:~# pveperf
CPU BOGOMIPS: 38399.57
REGEX/SECOND: 930881
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 118.31 MB/sec
AVERAGE SEEK TIME: 23.57 ms
FSYNCS/SECOND: 4.90
...

your FSYNCS/SECOND: 4.90 are much to slow, you need at least 1000 here. enable write-cache (write-back, on the raid controller).
 
Hello awesome, hello tom,

thank you very much for your help :)

I test your idea's and the point with enable write-cache (write-back, on the raid controller) is the right way.

Now pveperf means:

CPU BOGOMIPS: 38398.47
REGEX/SECOND: 930700
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 127.75 MB/sec
AVERAGE SEEK TIME: 9.66 ms
FSYNCS/SECOND: 997.87
DNS EXT: 78.20 ms
DNS INT: 0.55 ms (xx.local)

best regards,
greeneye
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!