Hello: This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@xxxxxxxxxx>: On Fri, 15 Mar 2024 14:33:29 -0700 you wrote: > When benchmarking with multiple threads (-pN, where N>1), we start > contending on single atomic counter that both BPF trigger benchmarks are > using, as well as "baseline" tests in user space (trig-base and > trig-uprobe-base benchmarks). As such, we start bottlenecking on > something completely irrelevant to benchmark at hand. > > Scale counting up by using per-CPU counters on BPF side. On use space > side we do the next best thing: hash thread ID to approximate per-CPU > behavior. It seems to work quite well in practice. > > [...] Here is the summary with links: - [v3,bpf-next] selftests/bpf: scale benchmark counting by using per-CPU counters https://git.kernel.org/bpf/bpf-next/c/520fad2e3206 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html