Re: [PATCH -tip 0/7] tools/perf: Update rbtree implementation and optimize users

From: Arnaldo Carvalho de Melo
Date: Mon Nov 27 2017 - 12:14:32 EST


Em Mon, Nov 27, 2017 at 08:14:57AM -0800, Davidlohr Bueso escreveu:
> On Sun, 26 Nov 2017, Andi Kleen wrote:
>
> > > Applies on today's -tip tree. Please consider for v4.16.
> >
> > No numbers on the improvements?
>
> I have not done performance tests perse for perf, but ultimately
> it will depend a lot on the workload and size of the tree. I had
> previously measured, on a Xeon E5-2450 @ 2.10GHz, the cost of
> an rb_first() was ~60 cycles for 100 nodes, and ~75 cycles with
> 1000 nodes. fwiw.

I'll try to do some before/after perf stat runs to compare output and to
see the overall diff in cycles, etc.

- Arnaldo