lkml.org 
[lkml]   [2017]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] xen-netfront: Fix Rx stall during network stress and OOM
From
Date

On 01/30/2017 08:47 AM, Vineeth Remanan Pillai wrote:
>
> On 01/29/2017 03:09 PM, Boris Ostrovsky wrote:
>>
>> There are couple of problems with this patch.
>> 1. The 'if' clause now evaluates to true on pretty much every call to
>> xennet_alloc_rx_buffers().
> Thanks for catching this. In my testing I did not notice this - mostly
> because of the nature of the workload in my testing.
I am working on a patch to revert to the old behavior and solve the Rx
stall issue by scheduling the timer if any of the following
conditions are true:
- unconsumed requests + new requests < NET_RX_SLOTS_MIN (old behavior)
- skb allocations fail

Will send out the patch by next week after I can do some testing.

Thanks,
Vineeth

\
 
 \ /
  Last update: 2017-01-31 17:54    [W:0.792 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site