OpenVZ Forum


Home » General » Support » Awful proxy_arp performance
Awful proxy_arp performance [message #36598] Fri, 03 July 2009 15:43 Go to previous message
tobia is currently offline  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?

http://forum.openvz.org/index.php?t=getfile&id=756

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
  • Attachment: Picture 1.png
    (Size: 24.25KB, Downloaded 584 times)

[Updated on: Fri, 03 July 2009 15:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Mac address allocation to virtual interfaces
Next Topic: Using the ip_conntrack_tftp iptables module within containers
Goto Forum:
  


Current Time: Tue Jul 23 22:30:19 GMT 2024

Total time taken to generate the page: 0.02445 seconds