Xen high packet loss

virtualizationxen

I have a node running 30 xen vps.
When I ping my node IP, it's okay, but when I ping the guest IPs, there's high packet loss. Even when I login to my node to ping guests, there're high packet loss.

I've checked iptables, there's no rule for this, because when I stop iptables, packet loss still happens.

I've tried reboot the server but still not solved, anyone has any idea?

Best Answer

First thing to take a look at is xentop and drill down into network usage.

Beyond that you can also take a look at iftop to see if you notice any unusual traffic.

There are several common symptoms and problems outlined here: http://wiki.xen.org/xenwiki/Network_Throughput_Guide#head-732a4ea753ed40c3597076813049941b93ab5da9

And several approaches to optimize things: http://wiki.xen.org/xenwiki/Network_Throughput_Guide#head-2e0c6f8487454b9eb90d9527b21c595d890a90b8

Take a look at those and do so more troubleshooting and data collection. That guide ( http://wiki.xen.org/xenwiki/Network_Throughput_Guide) has other general suggestions as well that should apply to Xen in general.

Some things to think about looking at include CPU utilization or other over constraint symptoms (low memory, swapping, etc.). The other thing that is useful to think about is what type of guest is it (PV or HVM)? What driver is being used? Is there a better set of NIC configuration options that could be used?

Related Topic