All of lore.kernel.org
 help / color / mirror / Atom feed
From: han <vanbas.han@gmail.com>
To: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>
Cc: "Han, Zhu" <zhu.han@intel.com>, xen-devel@lists.xensource.com
Subject: Re: [patch] ne2000.patch
Date: Tue, 30 May 2006 20:31:36 +0800	[thread overview]
Message-ID: <447C3B28.2060209@gmail.com> (raw)
In-Reply-To: <A95E2296287EAD4EB592B5DEEFCE0E9D4BA8E4@liverpoolst.ad.cl.cam.ac.uk>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030; format=flowed, Size: 1430 bytes --]

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@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

  reply	other threads:[~2006-05-30 12:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 11:39 [patch] ne2000.patch Ian Pratt
2006-05-30 12:31 ` han [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-31  2:36 Han, Zhu
2006-05-30  6:14 Han, Zhu
2006-05-30 11:33 ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=447C3B28.2060209@gmail.com \
    --to=vanbas.han@gmail.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    --cc=zhu.han@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.