[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180408.125230.1777996328363149390.davem@davemloft.net>
Date: Sun, 08 Apr 2018 12:52:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: haibinzhang@...cent.com
Cc: mst@...hat.com, jasowang@...hat.com, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, lidongchen@...cent.com,
yunfangtai@...cent.com
Subject: Re: [PATCH] vhost-net: set packet weight of tx polling to 2 * vq
size
From: haibinzhang(张海斌) <haibinzhang@...cent.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@...cent.com>
> Signed-off-by: Yunfang Tai <yunfangtai@...cent.com>
> Signed-off-by: Lidong Chen <lidongchen@...cent.com>
Michael and Jason, please review.
Powered by blists - more mailing lists