Re: Change dev-needed_headroom of virtio_net to make Patchvirtio-net: put virtio net header inline with datawork better

2014-04-24 Thread Michael S. Tsirkin
On Thu, Apr 24, 2014 at 10:19:58AM +, 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
 
  
 
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: Change dev-needed_headroom of virtio_net to make Patchvirtio-net: put virtio net header inline with datawork better

2014-04-24 Thread Zhangjie (HZ)
Thank you very much!
I will post a patch tomorrow.

--Best wishes!
//Zhang Jie
-Original Message-
From: Michael S. Tsirkin [mailto:m...@redhat.com] 
Sent: Thursday, April 24, 2014 7:45 PM
To: Zhangjie (HZ)
Cc: jasow...@redhat.com; Qinchuanyu; Liuyongan; kvm@vger.kernel.org; 
net...@vger.kernel.org
Subject: Re: Change dev-needed_headroom of virtio_net to make 
Patchvirtio-net: put virtio net header inline with datawork better

On Thu, Apr 24, 2014 at 10:19:58AM +, 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
 
  
 
N�r��yb�X��ǧv�^�)޺{.n�+h����ܨ}���Ơz�j:+v���zZ+��+zf���h���~i���z��w���?��)ߢf