Summary: | massif numbers don't seem to add up | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Zooko O'Whielacronx <zooko> |
Component: | massif | Assignee: | Nicholas Nethercote <njn> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.2.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Zooko O'Whielacronx
2007-03-08 22:35:13 UTC
Hmm, the .ps and the .html don't appear to match. It's not a problem with your understanding... it may well be a bug in Massif. The Allmydata-Tahoe project is interested in the memory usage of an app, but this bug is a bit of a deterrent to trusting massif's output. I have the hypothesis that massif was wrong because the running time was several orders of magnitude larger than what I guess is a typical massif task, and the aggregate memory usage was an order of magnitude or two larger than what I guess is typical. So, basically, I hazard a guess that there is some inaccuracy in massif's aggregation of samples which doesn't really show up in smaller tasks but becomes significant for larger tasks. http://allmydata.org/pipermail/tahoe-dev/2007-July/000050.html [A general message:] Massif has recently been completely overhauled. Instead of recording space-time usage, it now records space usage at various points during execution, including the peak allocation point. The output format has also changed, and presents more information, more compactly. It's also more robust than the old version. The new version will be Valgrind 3.3.0, which should be released in the next week or two. In the meantime, if you want to try it, please check out the code from the SVN repository (see http://www.valgrind.org/downloads/repository.html for how). [A specific message about this bug:] The better internal sanity-checking in the new version will hopefully mean that this problem is fixed. So I'm closing this bug. Please reopen it if you still have problems with the new version. |