Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: High packet loss in netbsd-5.0 domU
On Thu, Apr 23, 2009 at 12:51:21PM +0200, Anup Patil wrote:
> On Tue, 2009-04-21 at 21:59 +0200, Manuel Bouyer wrote:
> > On Tue, Apr 21, 2009 at 04:24:40PM +0200, Anup Patil wrote:
> > >
> > > On a netbsd-5.0 RC2 domU under xen-3.3.1, It was found that packet
> > > losses were upto 50% for udp network tests. The network load was
> > > generated using iperf and udp datagrams of length 100 to 1470 were
> > > transmitted.
> >
> > What network test ? who is sending the datagram and who is receiving them ?
> > Did you check that the dom0 can handle the network load ? What OS is
> > the dom0 running ?
> >
>
> Dom0 is linux-2.6.18.8, built from the xen sources.
Can you try the attached patch (from Brian Marcotte) and see if it helps ?
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
diff -u if_xennet_xenbus.c.orig if_xennet_xenbus.c
--- if_xennet_xenbus.c.orig 2009-03-07 22:12:50.000000000 -0500
+++ if_xennet_xenbus.c 2009-04-14 20:13:23.000000000 -0400
@@ -461,6 +461,12 @@
goto abort_transaction;
}
error = xenbus_printf(xbt, sc->sc_xbusd->xbusd_path,
+ "feature-rx-notify", "%u", 1);
+ if (error) {
+ errmsg = "writing feature-rx-notify";
+ goto abort_transaction;
+ }
+ error = xenbus_printf(xbt, sc->sc_xbusd->xbusd_path,
"event-channel", "%u", sc->sc_evtchn);
if (error) {
errmsg = "writing event channel";
Home |
Main Index |
Thread Index |
Old Index