From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751586AbaDRHzd (ORCPT ); Fri, 18 Apr 2014 03:55:33 -0400 Received: from mail-ee0-f50.google.com ([74.125.83.50]:54345 "EHLO mail-ee0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751034AbaDRHza (ORCPT ); Fri, 18 Apr 2014 03:55:30 -0400 Date: Fri, 18 Apr 2014 09:55:25 +0200 From: Ingo Molnar To: Jiri Olsa Cc: linux-kernel@vger.kernel.org, Corey Ashford , David Ahern , Frederic Weisbecker , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Arnaldo Carvalho de Melo , Jean Pihet Subject: Re: [PATCH 0/3] perf tools: Speedup DWARF unwind Message-ID: <20140418075525.GA14243@gmail.com> References: <1397756352-26694-1-git-send-email-jolsa@redhat.com> <20140418075148.GA13793@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140418075148.GA13793@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > > * Jiri Olsa 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