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

From: Dexuan Cui
Date: Wed May 22 2019 - 19:34:41 EST


> From: linux-hyperv-owner@xxxxxxxxxxxxxxx
> <linux-hyperv-owner@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>

The patch looks good. Thanks, Sunil!

Thanks,
-- Dexuan