Re: [PATCH v3] perf bench sched pipe: Add -G/--cgroups option
From: Arnaldo Carvalho de Melo
Date: Mon Oct 16 2023 - 11:55:47 EST
Em Mon, Oct 16, 2023 at 12:51:52PM -0300, Arnaldo Carvalho de Melo escreveu:
> Now back at testing with with cgroups.
Humm, even without the -G I get:
[root@five ~]# perf stat -e context-switches,cgroup-switches perf bench sched pipe -l 10000
# Running 'sched/pipe' benchmark:
# Executed 10000 pipe operations between two processes
Total time: 0.082 [sec]
8.246400 usecs/op
121265 ops/sec
Performance counter stats for 'perf bench sched pipe -l 10000':
20,002 context-switches
20,002 cgroup-switches
0.091228041 seconds time elapsed
0.007122000 seconds user
0.087700000 seconds sys
[root@five ~]#
- Arnaldo