Slow network and high CPU usage on VMs sharing same bridge

aluputi

Active Member
Jul 12, 2017
11
0
41
38
I'm having an issue and I can't figure out what's wrong. When I'm copying files between VMs sharing same network bridge I only get 30-40MBps and the host and VM CPU usage rises. The VMs are all running updated CentOS 7 with virtio for disk and network. I get the same speeds using different protocols (rsync, scp, samba).

Copying a file in the same VM from one location to another gives me at least twice the speed, so it's not disk related. Also, copying the file to some other network location fills the GB network connection. Even copying a file between VMs running on different disk drives only reach the mentioned speeds when sharing the same bridge.

I tried this on three different servers from different locations and all of them running on enterprise hardware.
I think this can be easily replicated by anyone.

Did anyone else notice this issue? What could be the fix?

Thanks!
 
Hi,

what vNIC type do you use?

Please use the only virtio.
with virtio you should have near the speed of your physical NIC.
 
I only use virtio, as I mentioned in the first post. Apparently the issue was related to the firewall running in the VMs.

What's still curious is that this only happens when transferring data between VMs running on the same server and not cross-server, even though they all have the same firewall installed.
 

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!