From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by kanga.kvack.org (Postfix) with ESMTP id C08C56B0032 for ; Fri, 9 Jan 2015 19:19:56 -0500 (EST) Received: by mail-vc0-f178.google.com with SMTP id hq11so4161979vcb.9 for ; Fri, 09 Jan 2015 16:19:56 -0800 (PST) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com. [2607:f8b0:400c:c03::236]) by mx.google.com with ESMTPS id h2si4630064vcf.79.2015.01.09.16.19.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 16:19:55 -0800 (PST) Received: by mail-vc0-f182.google.com with SMTP id hq12so4121357vcb.13 for ; Fri, 09 Jan 2015 16:19:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20150108223024.da818218.akpm@linux-foundation.org> Date: Fri, 9 Jan 2015 16:19:55 -0800 Message-ID: Subject: Re: mm performance with zram From: Luigi Semenzato Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Joonsoo Kim Cc: Andrew Morton , Linux Memory Management List Thank you! I am using perf version 3.13.11.10, will look for newer versions. On Fri, Jan 9, 2015 at 4:06 PM, Joonsoo Kim wrote: > 2015-01-10 1:45 GMT+09:00 Luigi Semenzato : >> On Thu, Jan 8, 2015 at 10:30 PM, Andrew Morton >> wrote: >>> On Thu, 8 Jan 2015 14:49:45 -0800 Luigi Semenzato wrote: >>> >>>> I am taking a closer look at the performance of the Linux MM in the >>>> context of heavy zram usage. The bottom line is that there is >>>> surprisingly high overhead (35-40%) from MM code other than >>>> compression/decompression routines. >>> >>> Those images hurt my eyes. >> >> Sorry about that. I didn't find other ways of computing the >> cumulative cost of functions (i.e. time spent in a function and all >> its descendants, like in gprof). I couldn't get perf to do that >> either. A flat profile shows most functions take a fracion of 1%, so >> it's not useful. If anybody knows a better way I'll be glad to use >> it. > > Hello, > > Recent version of perf has an ability to compute cumulative cost of functions. > And, it's a default configuration. :) > If you change your perf to recent version, you can easily get the data. > > Thanks. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org