XenServer slow network issues

Hey guys, I need some help.

I am looking at an issue where all servers running Citrix Hypervisor release 8.2.1 are not able to reach a speed higher then 3.5Gbits over 40Gbit links. While testing this we found the same 3.5Gbit speed while running an iperf from VM to VM on the same host server over a virtual network.

The VMs have xen tools installed and we are not seeing any resource saturation issues that could explain this.

Anyone have any ideas here?

Did someone maybe setup a traffic rate/bandwith limit per VM, so that no single VM could use the whole bandwidth?

No - these are base windows builds on a fresh install of XenServer with no changes to the VMs

What are the hardware specs of the server?
Remember on each of your VM they don’t have direct access to the hardware unless you’re passing them to the VM or doing SR-IOV.

You have to think of your network interface for your VM as another piece of software that’s made to look like an ethernet adapter. I seem to remember reading somewhere there is a hard limitation on network throughput, I could be wrong there don’t quote me on that.
XenServer has to do all the translations and network traffic, so your limit is really your CPU’s IPC.

I am not sure if Citrix has iperf installed on the host, but you might want to log into the cli and run iperf tests from there to see if your getting your line speed.
XCP-ng a Xen Server fork does have iperf installed in the host

Here is a worthwhile read https://wiki.xenproject.org/wiki/Network_Throughput_and_Performance_Guide

Here is some information on testing with iperf 40g and above https://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf/multi-stream-iperf3/

1 Like

Are you running with emulated network adapters?

1 Like