High Load on VM

Proper

Member
Jun 9, 2016
11
1
6
37
I am doing testing running asterisk with high volume of sip traffic though VM on proxmox and ran in to abnormal loads on the VM.

Hardware
Proxmox is installed on HP Proliant G6 X5570 2 socket, 16 core server.
There is only one VM on the server besides the host.
PX version - Virtual Environment 4.4-1

This VM has access to 2 sockets 8 cores each total(16), cpu type is set to host and NUMA is enabled.
CPU is properly detected by the guest VM.

I am using vicidial to generate sip traffic requests, so asterisk on this guest VM receives it from separate machine and begins processing.

When running inside VM, configuration runs in to problems at 100 lines with 30% cpu utilization and load average over 10. Stability is very poor.

This server without virtualization layer(proxmox) can process around 300 lines with cpu utilization under 10% and load average of 3-5. Stability is exceptional.


I am trying to understand what could be causing this type of issue, although my inclination is that this software related I suspect this may have something to do with how cpu is being used and configuration changes may give much better efficiency.
My intention here is to give that one VM as much as possible in terms of compute power, I see proxmox as layer for easier maintenance and flexibility more than ability to put allot of VMs on one machine, but if I loose 70% of performance its is kind of a nogo.


Does anyone have experience with these types of issues?
 
Last edited:
It could be IO issue but CPU seems to be more likely, I attached screen from atop under fairly reasonable load.

Server has 2 SSD drives in raid 1, and guest VM is on local-lvm storage, write tests for 1Gb block comes up with about 200 MB/s write

It looks to me like load is not being distributed among all the CPUs.

here is config file for guest VM

bootdisk: scsi0
cores: 8
cpu: host
ide2: local:iso/test_iso.iso,media=cdrom
memory: 32032
name: AP1-D4
net0: virtio=DE:06:XX:6F:XX:7F,bridge=vmbr0
numa: 1
onboot: 1
ostype: l26
scsi0: local-lvm:vm-141-disk-1,size=200G
scsihw: virtio-scsi-pci
smbios1: uuid=815cd4fa-1950-41fd-bc2c-16cf58809ddc
sockets: 2



Selection_023.png
Selection_024.png
Selection_025.png
 

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!