New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Proxmox Hypervisor and Guest Network Perfomance

Hello Guys
I am experiencing a really slow network.
Hypervisor (Hetzner Dedicated with 200mbits guaranteed connection)
root@host ~ # ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Hetzner Online GmbH (xxxxxxxx)...
Selecting best server based on latency...
Hosted by HillCom Solutions (Alsfeld) [33.58 km]: 13.244 ms
Testing download speed........................................
Download: 591.59 Mbit/s
Testing upload speed..................................................
Upload: 193.99 Mbit/s
KVM VM (with virtio network)
root@host ~ # ./speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Hetzner Online GmbH (xxxxxxxx)...
Selecting best server based on latency...
Hosted by HillCom Solutions (Alsfeld) [33.58 km]: 8.29 ms
Testing download speed........................................
Download: 94.86 Mbit/s
Testing upload speed..................................................
Upload: 77.66 Mbit/s
VM OS is an ipfire firewall (Up2Date)
Any ideas?
Comments
I've not used virtio but could it be a 100mbit virtual nic?
What does virsh dumpxml kvmid show under the network card section
How can I check this?
lspci:
00:12.0 Ethernet controller: Red Hat, Inc Virtio network device
I cant find such command? How can I check this in the KVM VM?
virsh is a host node command not guest. Try it there.
there is no virsh only pvesh and then its like an Windows cmd no dumpxml and kvmid command...
Not used their custom OS install before, however a google shows the XML files for the guests should be in : /etc/pve/qemu-server
If you can give us the output of the file/network section.
Not sure what might be the issue; but just to check, could you post the output of
ethtool eth0
on your KVM?(i.e
ethtool INTERFACE
replacing INTERFACE with your network interface)My Networking is configured:
I got 2 IPv4 Adresses (external)
1 for Host
1 for Firewall (Ipfire)
Ipfire got 2 interfaces red0 and green0 (normal configuration)
The Networks are bridged:
ethtool -K of all 4 interfaces (1 unused)
http://pastebin.com/snn1yjJ1
I disabled gro and gxo on all interfaces
If you place a file on the host server eg 10GB file accessible via apache, if you wget that from the VM, what speed do you get.
If that is equally low then its likely your virtual network interface is rate limited.
How about
ethtool eth0
? The reason I'm asking is because the supported link modes might be able to give some hints of why the speed is low compared to the host machine;ethtool
(notethtool -k
, this only shows the features) contains this information as well as the duplex and speed.Ahhh, this is what I searched too:
Looks good, but I don't think that's VirtIO; though I might be wrong. Could you please run this last command? It should tell exactly what driver this is:
ethtool -i eth0
Here's an output from a VM running VirtIO:
@Verelox this is the hostmaschine.
On a vm it only outputs this:
with -i:
Thank you, I don't think it would be the network card in this case; maybe it's something else. Did you try @MarkTurner 's suggestion? I have seen that ipfire requires special network configuration to operate, so I would personally retry the same speed test on a VM running CentOS to ensure that the host machine is configured properly: if speed improvements is noted then I would think that the issue might be with the network configuration on the VM running ipfire; I'm really out of other ideas however but I do hope that you get the issue solved! Sorry if I couldn't be of much help here.
Test VM->Host next then you can either eliminate it or confirm thats the cause.
I just configured a new vm with debian 8 directly to the internet (ipfire place) and i got this:
so this must be a ipfire related issue. But why is it slowing so down so hard.
http://wiki.ipfire.org/en/configuration/network/proxy/wui_conf/limit_b
sorry but, this is just proxy related, this service is off.
regards
Thanks for all your help, i hope i can fix this
Are there any tc rules ratelimiting the interface?
Yes there are:
What does they mean?
I deleted those and finally, this vm is going places. /edit or not, this is really unstable. Its really random
This must be a bug...
It means there is some rate limiting going on.
I think its more likely that the TC classes are not setup yet. Just have a look at the rate limiting link I sent you and setup the rate limiting as you need it.