Re: [PATCH 00/10] perf/uprobe: Optimize uprobes

From: Google
Date: Mon Jul 08 2024 - 18:57:02 EST


On Mon, 08 Jul 2024 11:12:41 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Hi!
>
> These patches implement the (S)RCU based proposal to optimize uprobes.
>
> On my c^Htrusty old IVB-EP -- where each (of the 40) CPU calls 'func' in a
> tight loop:
>
> perf probe -x ./uprobes test=func
> perf stat -ae probe_uprobe:test -- sleep 1
>
> perf probe -x ./uprobes test=func%return
> perf stat -ae probe_uprobe:test__return -- sleep 1
>
> PRE:
>
> 4,038,804 probe_uprobe:test
> 2,356,275 probe_uprobe:test__return
>
> POST:
>
> 7,216,579 probe_uprobe:test
> 6,744,786 probe_uprobe:test__return
>

Good results! So this is another series of Andrii's batch register?
(but maybe it becomes simpler)

Thank you,

>
> Patches also available here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/uprobes
>
>


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>