Awful proxy_arp performance [message #36598] |
Fri, 03 July 2009 15:43 |
tobia
Messages: 5 Registered: July 2009
|
Junior Member |
|
|
Hi
I have the following setup:
- Debian Lenny 5.0.1
- Pre-built Debian kernel: linux-image-2.6.26-2-openvz-amd64, version 2.6.26-15
- Standard venet0 routed setup, with ip_forward and proxy_arp enabled
I'm experiencing an awful proxy_arp performance.
ARP requests from a random host on the LAN (let's call it host A) to any VE running on this server, which we'll call host B, take between zero and 800ms to complete. See a frequency graph of 1000 tests, below.
ARP requests from host A to host B (not to a VE) are near-istantaneous (<1ms) as are subsequent pings from A to the VE, after ARP resolution has taken place.
Is there a way to fix this problem without resorting to a bridged veth setup?
In case you want to run the test on your own, here is what I did to measure the times, in Bash:
h=192.168.10.7; for ((i=0; i<1000; i++)) do sudo arp -d $h; ping -nc1 $h | awk -F'[ =]' '/bytes from/ {print $10}'; done > times.csv
[Updated on: Fri, 03 July 2009 15:58] Report message to a moderator
|
|
|
|
|