Messages in this thread | | | Date | Fri, 4 Nov 2022 00:46:55 +0800 | Subject | Re: [PATCH v4] kprobes,lib: kretprobe scalability improvement | From | wuqiang <> |
| |
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.
| |