netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Zhangjie (HZ)" <zhangjie14@huawei.com>
Cc: "jasowang@redhat.com" <jasowang@redhat.com>,
	Qinchuanyu <qinchuanyu@huawei.com>,
	Liuyongan <liuyongan@huawei.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	netdev@vger.kernel.org
Subject: Re: Change dev->needed_headroom of virtio_net to make Patch"virtio-net: put virtio net header inline with data"work better
Date: Thu, 24 Apr 2014 14:44:57 +0300	[thread overview]
Message-ID: <20140424114457.GB16979@redhat.com> (raw)
In-Reply-To: <60A73B7A161A82449A7DB7B382BFD15537026EF3@SZXEMA504-MBS.china.huawei.com>

On Thu, Apr 24, 2014 at 10:19:58AM +0000, Zhangjie (HZ) wrote:
> Hi!
> 
> Patch “virtio-net: put virtio net header inline with data” , has a notable
> improvement for TCP packages.
> 
> But UDP packages from virtio_net nic, do not have enough head room. I wonder if
> we can set dev->needed_headroom
> 
> to the size of virtio net header, so as to put the header in. By doing this,
> udp get about 5% improvement in bandwidth.

Sounds like a reasonable thing to do.
Want to post the patch so people can try it out?

>  
> 
> --
> 
> Thanks,
> 
> //Zhang Jie
> 
>  
> 

       reply	other threads:[~2014-04-24 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <60A73B7A161A82449A7DB7B382BFD15537026EF3@SZXEMA504-MBS.china.huawei.com>
2014-04-24 11:44 ` Michael S. Tsirkin [this message]
2014-04-24 11:50   ` Change dev->needed_headroom of virtio_net to make Patch"virtio-net: put virtio net header inline with data"work better Zhangjie (HZ)

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=20140424114457.GB16979@redhat.com \
    --to=mst@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=liuyongan@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=qinchuanyu@huawei.com \
    --cc=zhangjie14@huawei.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).