Re: [PATCH 0/3] perf tools: Speedup DWARF unwind

From: Ingo Molnar
Date: Fri Apr 18 2014 - 03:55:42 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

>
> * Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> > hi,
> > trying to speedup DWARF unwind report code by factoring
> > related code:
> > - caching sample's registers access
> > - keep dso data file descriptor open for the
> > life of the dso object
> > - replace dso cache code by mapping dso data file
> > directly for the life of the dso object
> >
> > The speedup is mainly for libunwind unwind. The libdw will benefit
> > mainly from cached registers access, because it handles dso data
> > accesses by itself.. and anyway it's still faster ;-).
>
> Just curious: do you have any numbers about how much faster it got in
> practice?

Oh, the numbers are all in the changelogs, never mind!

So in your test workload it went from 54.6 seconds to 36.7, a 48%
speedup :-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/