lkml.org 
[lkml]   [2018]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] percpu: add a schedule point in pcpu_balance_workfn()
On Fri, Feb 23, 2018 at 08:12:42AM -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> When a large BPF percpu map is destroyed, I have seen
> pcpu_balance_workfn() holding cpu for hundreds of milliseconds.
>
> On KASAN config and 112 hyperthreads, average time to destroy a chunk
> is ~4 ms.
>
> [ 2489.841376] destroy chunk 1 in 4148689 ns
> ...
> [ 2490.093428] destroy chunk 32 in 4072718 ns
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied to percpu/for-4.16-fixes.

Thank, Eric.

--
tejun

\
 
 \ /
  Last update: 2018-02-23 17:54    [W:0.056 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site