Re: [PATCH net-next] hv_sock: perf: loop in send() to maximize bandwidth

2019-05-22 Thread David Miller
From: Sunil Muthuswamy Date: Wed, 22 May 2019 23:10:44 + > 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 s

RE: [PATCH net-next] hv_sock: perf: loop in send() to maximize bandwidth

2019-05-22 Thread Dexuan Cui
> From: linux-hyperv-ow...@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

[PATCH net-next] hv_sock: perf: loop in send() to maximize bandwidth

2019-05-22 Thread 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 cyc