Re: [PATCH v9 3/5] kprobes: kretprobe scalability improvement with objpool

2023-10-08 Thread wuqiang
by: Masami Hiramatsu (Google) Wuqiang, can you update the above number with the simplified objpool? I got better number (always 80% of the native performance) with 128 node/probe. (*) https://lore.kernel.org/all/20231003003923.eabc33bb3f4ffb8eac71f...@kernel.org/ That's great. I'll prepar

Re: [PATCH v9 0/5] lib,kprobes: kretprobe scalability improvement

2023-10-08 Thread wuqiang
On 2023/9/23 16:57, Masami Hiramatsu (Google) wrote: Hi Wuqiang, I dug my mail box and found this. Sorry for replying late. On Tue, 5 Sep 2023 09:52:50 +0800 "wuqiang.matt" wrote: This patch series introduces a scalable and lockless ring-array based object pool and replaces th

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-10-08 Thread wuqiang
On 2023/9/23 17:48, Masami Hiramatsu (Google) wrote: Hi Wuqiang, Sorry for replying later. On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: The object pool is a scalable implementaion of high performance queue for object allocation and reclamation, such as kretprobe instan

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-10-08 Thread wuqiang
On 2023/9/25 17:42, Masami Hiramatsu (Google) wrote: Hi Wuqiang, On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: The object pool is a scalable implementaion of high performance queue for object allocation and reclamation, such as kretprobe instances. With leveraging p

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-10-09 Thread wuqiang
p;tail, next) WRITE_ONCE(slot->entries[tail & slot->mask], obj) return slot->entries[head & slot->mask] Regards, wuqiang On 2023/9/25 17:42, Masami Hiramatsu (Google) wrote: Hi Wuqiang, On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: