Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: haibinzhang(张海斌) <haibinzhang@xxxxxxxxxxx>
Date: Fri, 6 Apr 2018 08:22:37 +0000

> handle_tx will delay rx for tens or even hundreds of milliseconds when tx busy
> polling udp packets with small length(e.g. 1byte udp payload), because setting
> VHOST_NET_WEIGHT takes into account only sent-bytes but no single packet length.
> 
> Ping-Latencies shown below were tested between two Virtual Machines using
> netperf (UDP_STREAM, len=1), and then another machine pinged the client:
...
> Signed-off-by: Haibin Zhang <haibinzhang@xxxxxxxxxxx>
> Signed-off-by: Yunfang Tai <yunfangtai@xxxxxxxxxxx>
> Signed-off-by: Lidong Chen <lidongchen@xxxxxxxxxxx>

Michael and Jason, please review.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux