only one CPU and bad write performance in Guest

Samuel Orsenne

New Member
Feb 19, 2012
1
0
1
Berlin, Germany, Germany
dear Forum,

I have a Intel-based (Core i7-2600) Server with Proxmox 2.0
Code:
# $pveversion
pve-manager/2.0/30bb4d33
One running guest (Ubuntu Server 10.04.4 LTS) with Config as follows:
- CPU: 1 Socket, 4 Cores, qemu64
- 5 GB RAM
- VirtIO Disk
- VirtIO Network

Guest is doing fine, although I can't get more than one CPU to be detected in the Guest and very very poor write performance in the guest.
extracts from dmesg:
Code:
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-38-server (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 (Ubuntu 2.6.32-38.83-server 2.6.32.52+drm33.21)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-38-server root=UUID=3d3e67f1-94c9-4704-95be-7844c8206603 ro quiet
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
...
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] I/O APIC #4 Version 17 at 0xFEC00000.
[    0.000000] Processors: 1
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
...
[    0.020000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.020000] CPU: L2 cache: 4096K
[    0.020000] CPU 0/0x0 -> Node 0
[    0.020000] CPU: Unsupported number of siblings 4
[    0.020000] mce: CPU supports 10 MCE banks
[    0.020000] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.020000] SMP alternatives: switching to UP code
[    0.024561] Freeing SMP alternatives: 41k freed
[    0.024578] ftrace: converting mcount calls to 0f 1f 44 00 00
[    0.024579] ftrace: allocating 22866 entries in 90 pages
[    0.040026] Setting APIC routing to flat
[    0.040829] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.040831] CPU0: Intel QEMU Virtual CPU version 1.0.50 stepping 03
[    0.160069] Brought up 1 CPUs
[    0.160071] Total of 1 processors activated (6823.63 BogoMIPS).
[    0.160273] CPU0 attaching NULL sched-domain.

cpu-info from guest:
Code:
 cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 1.0.50
stepping        : 3
cpu MHz         : 3411.816
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 ht syscall nx lm up rep_good pni cx16 popcnt hypervisor lahf_lm
bogomips        : 6823.63
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

poor write performance in guest:
Code:
$ dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 62.266 s, 2.2 MB/s

same test on host:
Code:
$ dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 0.862822 s, 156 MB/s

little Tech-Info from the PVE-Host:
Code:
 $ pveversion -v
pve-manager: 2.0-28 (pve-manager/2.0/30bb4d33)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-1
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-22
qemu-server: 2.0-17
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-11
libpve-storage-perl: 2.0-11
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: not correctly installed
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-3
ksm-control-daemon: not correctly installed

any help would be appreciated! :confused:
 
dear Forum,

I have a Intel-based (Core i7-2600) Server with Proxmox 2.0
Code:
# $pveversion
pve-manager/2.0/30bb4d33
One running guest (Ubuntu Server 10.04.4 LTS) with Config as follows:
- CPU: 1 Socket, 4 Cores, qemu64
- 5 GB RAM
- VirtIO Disk
- VirtIO Network

Guest is doing fine, although I can't get more than one CPU to be detected in the Guest and very very poor write performance in the guest.
extracts from dmesg:
Code:
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-38-server (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 (Ubuntu 2.6.32-38.83-server 2.6.32.52+drm33.21)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-38-server root=UUID=3d3e67f1-94c9-4704-95be-7844c8206603 ro quiet
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
...
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] I/O APIC #4 Version 17 at 0xFEC00000.
[    0.000000] Processors: 1
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
...
[    0.020000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.020000] CPU: L2 cache: 4096K
[    0.020000] CPU 0/0x0 -> Node 0
[    0.020000] CPU: Unsupported number of siblings 4
[    0.020000] mce: CPU supports 10 MCE banks
[    0.020000] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.020000] SMP alternatives: switching to UP code
[    0.024561] Freeing SMP alternatives: 41k freed
[    0.024578] ftrace: converting mcount calls to 0f 1f 44 00 00
[    0.024579] ftrace: allocating 22866 entries in 90 pages
[    0.040026] Setting APIC routing to flat
[    0.040829] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.040831] CPU0: Intel QEMU Virtual CPU version 1.0.50 stepping 03
[    0.160069] Brought up 1 CPUs
[    0.160071] Total of 1 processors activated (6823.63 BogoMIPS).
[    0.160273] CPU0 attaching NULL sched-domain.

cpu-info from guest:
Code:
 cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 1.0.50
stepping        : 3
cpu MHz         : 3411.816
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 ht syscall nx lm up rep_good pni cx16 popcnt hypervisor lahf_lm
bogomips        : 6823.63
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

poor write performance in guest:
Code:
$ dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 62.266 s, 2.2 MB/s

same test on host:
Code:
$ dd bs=1M count=128 if=/dev/zero of=test conv=fdatasync
128+0 records in
128+0 records out
134217728 bytes (134 MB) copied, 0.862822 s, 156 MB/s

little Tech-Info from the PVE-Host:
Code:
 $ pveversion -v
pve-manager: 2.0-28 (pve-manager/2.0/30bb4d33)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 2.0-60
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.88-2pve1
clvm: 2.02.88-2pve1
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-1
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-1
pve-cluster: 1.0-22
qemu-server: 2.0-17
pve-firmware: 1.0-15
libpve-common-perl: 1.0-14
libpve-access-control: 1.0-11
libpve-storage-perl: 2.0-11
vncterm: 1.0-2
vzctl: 3.0.30-2pve1
vzprocps: not correctly installed
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-3
ksm-control-daemon: not correctly installed

any help would be appreciated! :confused:

I have a similar setup -- Core i7 930 and a Win7 KVM guest. In PVE 1.9 I could pass the 'args: -cpu host' into the VM conf file and it would allow essentially cpu passthrough and would DRAMATICALLY increase the guest performance. But since PVE 2.0 upgrade I am unable to get the guest to boot with anything but the qemu64 cpu type. Any time I try to use 'host' I get a BSOD.

Anyone know of any work arounds or is this a 'feature' of RC1? :)
 

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!