lkml.org 
[lkml]   [2022]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4] kprobes,lib: kretprobe scalability improvement
From
On 2022/11/3 05:33, Andrew Morton wrote:
> On Wed, 2 Nov 2022 10:30:12 +0800 wuqiang <wuqiang.matt@bytedance.com> wrote:
>
>> Tests of
>> kretprobe throughput show the biggest ratio as 333.9x of the original
>> freelist.
>
> Seriously.
>
> I'll add this for some runtime testing.

Thanks.

>
> Are you able to identify other parts of the kernel which could use
> (and benefit from) the new objpool?

The scalability issue is caused by freelist. Currently kretprobe and rethook
are the only use cases.

I'm working on the evaluation of bpf percpu-freelist, which scales well but
uses raw_spinlock and needs local irq disabled.

\
 
 \ /
  Last update: 2022-11-03 17:49    [W:2.025 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site