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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [patch] ne2000.patch

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch] ne2000.patch
From: han <vanbas.han@xxxxxxxxx>
Date: Tue, 30 May 2006 20:31:36 +0800
Cc: "Han, Zhu" <zhu.han@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 30 May 2006 05:31:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA8E4@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA8E4@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)
Actually, I didn't test against OpenBsd.
Without this patch, ne2K driver in Linux will complain about "bogus packet size" under high load(copy a large file larger than 100M among Domain). At the same time, the driver may also drop a large number of error packets. It also improve the performance 2 or 3 times in my test. The original result is about 700 KB/s. After patching it, the result is about 1.8M~2M /s. What's more important is it could prevent the emulated net card from being halted caused by IRQ missing problem. After the device-model transfering to event driven model, ne2000 card cannot work stable in VMX. Hope this patch could solve this problem!

_______________________________________________________
Best Regards,
hanzhu


Ian Pratt дµÀ:
This small could make ne2000 net card on HVM work stable.
I have submitted the patch to qemu mail list. Actually, they only check the second part of it!
Does this actually fix any reported bugs or measurably improve performance? If not then it isn't worth us diverging from qemu code: it's up to qemu maintainers whether or not to accept the patch.

Does it solve the issue that OpenBSD had with the ne2k emulation under
high load?

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel