From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754537AbaI2CfI (ORCPT ); Sun, 28 Sep 2014 22:35:08 -0400 Received: from lgeamrelo01.lge.com ([156.147.1.125]:32972 "EHLO lgeamrelo01.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753532AbaI2CfG (ORCPT ); Sun, 28 Sep 2014 22:35:06 -0400 X-Original-SENDERIP: 10.177.222.235 X-Original-MAILFROM: namhyung@gmail.com From: Namhyung Kim To: Jean Pihet Cc: Arun Sharma , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Paul Mackerras , Namhyung Kim , LKML , Jiri Olsa Subject: Re: [PATCH 2/2] perf callchain: Use global caching provided by libunwind References: <1411453828-14832-1-git-send-email-namhyung@kernel.org> <1411453828-14832-2-git-send-email-namhyung@kernel.org> <54217D09.40500@fb.com> <874mvxlprb.fsf@sejong.aot.lge.com> <87bnq3j5g0.fsf@sejong.aot.lge.com> Date: Mon, 29 Sep 2014 11:35:02 +0900 In-Reply-To: (Jean Pihet's message of "Fri, 26 Sep 2014 09:14:41 +0200") Message-ID: <87lhp3i27d.fsf@sejong.aot.lge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jean, On Fri, 26 Sep 2014 09:14:41 +0200, Jean Pihet wrote: > Hi, > > On 26 September 2014 07:50, Namhyung Kim wrote: >> Hi Jean, >> >> On Wed, 24 Sep 2014 15:45:57 +0200, Jean Pihet wrote: >>> Hi! >>> >>> Here are the test results on ARMv7 for the 2 patches. The speedup is >>> about x2.1 for identical unwinding output data. >>> >>> 'perf record --call-graph dwarf -- stress --cpu 2 --io 2 --vm 2 >>> --timeout 10s' generates a 365 MB perf.data file. >>> >>> time perf.orig report --sort symbol --call-graph --stdio 2&>1 > /dev/null >>> average on 3 runs >>> real 36.736 >>> user 14.79 >>> sys 21.91 >>> >>> time perf.libunwind.speedup report --sort symbol --call-graph --stdio >>> 2&>1 > /dev/null >>> average on 3 runs >>> real 17.41 x2.11 >>> user 6.42 x2.3 >>> sys 10.97 x2 >>> >>> So the patches definitely speedup the unwinding. >>> FWIW: Acked-by: Jean Pihet >> >> Thanks for your test! >> >> Btw, have you checked the difference of the output before and after the >> caching? > Yes the output is identical (as stated here above). Ah, I misunderstood it. Thanks for your confirmation. :) Thanks, Namhyung