WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

RE: [Xen-users] High network latency on first packet

To: Russ Purinton <rpurinton@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] High network latency on first packet
From: Luca Corti <luca@xxxxxxxxxxxx>
Date: 2010年4月27日 15:51:49 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2010年4月27日 06:55:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1272373611.2825.15.camel@luca-laptop >
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <37A3FE5EB8938A499D07FA505DD32ED2BEEDE7@xxxxxxxxxxxxxxxxxxxxxxx> <1272373611.2825.15.camel@luca-laptop >
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010年04月27日 at 15:06 +0200, Luca Corti wrote:
> The problem is with ARP taking > 500ms to reply.
>
> This seems very similar to 
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=596 
A workaround is to add a gateway host in addition to the device route.
This way arp lookups are skipped.
$ netstat -rn 
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0
eth0
$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
0.0.0.0 1.2.3.4 0.0.0.0 UG 0 0 0
eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0
eth0
Note that this works despite the gateway being on a subnet which is not
configured on any interface, the IP address could also be fake (1.2.3.4
can be actually configured and solving the issue without harm, since it
is a bogon). ARP lookups are skipped in the presence of any route with a
gateway host because the gateway ip is itself resolved via ARP and then
cached:
$ arp -a
? (1.2.3.4) at fe:ff:ff:ff:ff:ff [ether] on eth0
This is ugly anyway, a cleaner solution would be great.
ciao
Luca
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] Re: Xen4 on Debian Lenny - Migration completed , Jean Baptiste FAVRE
Next by Date: Re: [Xen-users] Re: Xen4 on Debian Lenny - Migration completed , Jean Baptiste FAVRE
Previous by Thread: RE: [Xen-users] High network latency on first packet , Luca Corti
Next by Thread: [Xen-users] pci device not owned by pciback. , James Pifer
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /