From: Wei Xu <wexu@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: victork@redhat.com, jasowang@redhat.com, yvugenfi@redhat.com,
qemu-devel@nongnu.org, marcel@redhat.com, dfleytma@redhat.com
Subject: Re: [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest
Date: Tue, 15 Mar 2016 23:08:06 -0400 (EDT) [thread overview]
Message-ID: <1964147785.67139629.1458097686535.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20160315120009-mutt-send-email-mst@redhat.com>
----- Original Message -----
From: "Michael S. Tsirkin" <mst@redhat.com>
To: wexu@redhat.com
Cc: victork@redhat.com, jasowang@redhat.com, yvugenfi@redhat.com, qemu-devel@nongnu.org, marcel@redhat.com, dfleytma@redhat.com
Sent: Tuesday, March 15, 2016 6:01:12 PM
Subject: Re: [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest
On Tue, Mar 15, 2016 at 05:17:02PM +0800, wexu@redhat.com wrote:
> From: Wei Xu <wexu@redhat.com>
>
> Fixed issues based on rfc patch v2:
> 1. Removed big param list, replace it with 'NetRscUnit'
> 2. Different virtio header size
> 3. Modify callback function to direct call.
> 4. Needn't check the failure of g_malloc()
> 5. Other code format adjustment, macro naming, etc
>
> This patch is to support WHQL test for Windows guest, while this feature also
> benifits other guest works as a kernel 'gro' like feature with userspace implementation.
> Feature information:
> http://msdn.microsoft.com/en-us/library/windows/hardware/jj853324
>
> Both IPv4 and IPv6 are supported, though performance with userspace virtio
> is slow than vhost-net, there is about 1x to 3x performance improvement to
> userspace virtio, this is done by turning this feature on and disable
> 'tso/gso/gro' on corresponding tap interface and guest interface, while get
> less improment with all these feature on.
>
> Test steps:
> Although this feature is mainly used for window guest, i used linux guest to help test
> the feature, to make things simple, i used 3 steps to test the patch as i moved on.
> 1. With a tcp socket client/server pair running on 2 linux guest, thus i can control
> the traffic and debugging the code as i want.
> 2. Netperf on linux guest test the throughput.
> 3. WHQL test with 2 Windows guests.
>
> Current status:
> IPv4 pass all the above tests.
> IPv6 just passed test step 1 and 2 as described ahead, the virtio nic cannot
> receive any packet in WHQL test, looks like the test traffic is not sent from
> on the support machine, test device can access both host and another linux
> guest, tried a lot of ways to work it out but failed, maybe debug from windows
> guest driver side can help figuring it out.
>
> Note:
> A 'MessageDevice' nic chose as 'Realtek' will panic the system sometimes during setup,
> this can be figured out by replacing it with an 'e1000' nic.
>
> Todo:
> More sanity check and tcp 'ecn' and 'window' scale test.
So at this point this is still an RFC, pls label as such
in the subject.
Also, commit log of each patch should also include info on
how to activate a feature.
OK, thanks mst.
thanks!
> Wei Xu (2):
> virtio-net rsc: support coalescing ipv4 tcp traffic
> virtio-net rsc: support coalescing ipv6 tcp traffic
>
> hw/net/virtio-net.c | 602 ++++++++++++++++++++++++++++++++++++++++-
> include/hw/virtio/virtio-net.h | 1 +
> include/hw/virtio/virtio.h | 75 +++++
> 3 files changed, 677 insertions(+), 1 deletion(-)
>
> --
> 2.5.0
next prev parent reply other threads:[~2016-03-16 3:08 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 9:17 [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest wexu
2016-03-15 9:17 ` [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic wexu
2016-03-15 10:00 ` Michael S. Tsirkin
2016-03-16 3:23 ` Wei Xu
2016-03-17 8:42 ` Jason Wang
2016-03-17 16:45 ` Wei Xu
2016-03-18 2:03 ` Jason Wang
2016-03-18 4:17 ` Wei Xu
2016-03-18 5:20 ` Jason Wang
2016-03-18 6:38 ` Wei Xu
2016-03-18 6:56 ` Jason Wang
2016-03-18 14:52 ` Wei Xu
2016-03-15 9:17 ` [Qemu-devel] [ Patch 2/2] virtio-net rsc: support coalescing ipv6 " wexu
2016-03-17 8:50 ` Jason Wang
2016-03-17 16:50 ` Wei Xu
2016-03-15 10:01 ` [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest Michael S. Tsirkin
2016-03-16 3:08 ` Wei Xu [this message]
2016-03-17 6:47 ` Jason Wang
2016-03-17 15:21 ` Wei Xu
2016-03-17 15:44 ` Michael S. Tsirkin
2016-03-17 16:57 ` Wei Xu
2016-03-18 2:22 ` Jason Wang
2016-03-18 4:24 ` Wei Xu
2016-03-18 5:21 ` Jason Wang
2016-03-18 6:30 ` Wei Xu
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=1964147785.67139629.1458097686535.JavaMail.zimbra@redhat.com \
--to=wexu@redhat.com \
--cc=dfleytma@redhat.com \
--cc=jasowang@redhat.com \
--cc=marcel@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=victork@redhat.com \
--cc=yvugenfi@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).