David Miller
2018-Apr-08 16:52 UTC
[PATCH] vhost-net: set packet weight of tx polling to 2 * vq size
From: haibinzhang(???) <haibinzhang at tencent.com> 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 at tencent.com> > Signed-off-by: Yunfang Tai <yunfangtai at tencent.com> > Signed-off-by: Lidong Chen <lidongchen at tencent.com>Michael and Jason, please review.
Seemingly Similar Threads
- [PATCH RESEND v2] vhost-net: set packet weight of tx polling to 2 * vq size
- [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size
- [PATCH] vhost-net: set packet weight of tx polling to 2 * vq size
- [PATCH] vhost-net: add limitation of sent packets for tx polling
- [PATCH] vhost-net: add limitation of sent packets for tx polling