Messages in this thread | | | From | Dexuan Cui <> | Subject | RE: [PATCH net-next] hv_sock: perf: loop in send() to maximize bandwidth | Date | Wed, 22 May 2019 23:31:44 +0000 |
| |
> From: linux-hyperv-owner@vger.kernel.org > <linux-hyperv-owner@vger.kernel.org> On Behalf Of Sunil Muthuswamy > > Currently, the hv_sock send() iterates once over the buffer, puts data into > the VMBUS channel and returns. It doesn't maximize on the case when there > is a simultaneous reader draining data from the channel. In such a case, > the send() can maximize the bandwidth (and consequently minimize the cpu > cycles) by iterating until the channel is found to be full.
Reviewed-by: Dexuan Cui <decui@microsoft.com>
The patch looks good. Thanks, Sunil!
Thanks, -- Dexuan
| |