From: Pierre Habouzit <madcoder@debian.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jon Smirl <jonsmirl@gmail.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: git blame with valgrind massif
Date: Tue, 11 Dec 2007 22:27:43 +0100 [thread overview]
Message-ID: <20071211212743.GD29110@artemis.madism.org> (raw)
In-Reply-To: <alpine.LFD.0.9999.0712111315060.25032@woody.linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
On Tue, Dec 11, 2007 at 09:22:53PM +0000, Linus Torvalds wrote:
>
>
> On Tue, 11 Dec 2007, Jon Smirl wrote:
> >
> > How do you interpret the massif output?
>
> Not very easy, since massif will tell you what *allocated* it, but then
> trying to see who was supposed to free it is another issue altogether.
>
> I also find the textual output to be very confusing. But what massif is
> really good at is to look at the memory usage over time in the postscript
> file it generates, and that gives you a much better feel for what
> particular allocation is a problem.
>
> In this case, it's patch_delta that generates all the memory usage (well,
> 98% of it ;^), but that's not that helpful unless you know git internals,
No 37%, the 98% list is the list of calls that generate 98% of the
total allocations git blame does, and then massif lists each individual
call, and patch_delta generates 37% of the total.
Though it's meaningless without knowing how much time this memory
stayed allocated>
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-12-11 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-11 20:57 git blame with valgrind massif Jon Smirl
2007-12-11 21:20 ` Pierre Habouzit
2007-12-11 21:45 ` Jon Smirl
2007-12-12 0:50 ` André Goddard Rosa
2007-12-11 21:22 ` Linus Torvalds
2007-12-11 21:27 ` Pierre Habouzit [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071211212743.GD29110@artemis.madism.org \
--to=madcoder@debian.org \
--cc=git@vger.kernel.org \
--cc=jonsmirl@gmail.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).