From:  Vladan Djeric <vdjeric@mozilla.com>
Date:  13 Nov 2015 05:50:49 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.memory
Subject:  

Re: Telemetry memory probes

NNTP-Posting-Host:  63.245.214.181

Yes, please prioritize adding the residentUnique measurement on Windows. Is there a bug for it?

On Thu, Nov 12, 2015 at 4:16 PM, Eric Rahm <erahm@mozilla.com> wrote:
The main issue is trying to get a useful view of the overall memory used by the main process and content processes. The naive implementation of summing the RSS for all processes is going to make things look much worse than they are. For the measurements I've been doing w/AWSY + e10s I settled on:
overall_memory = main_rss + sum(content_processes_uss)

So at the very least you'll want to add 'residentUnique' to the probe. Currently this only works on linux (I think), I'm about to land a patch for OS X as well. If necessary we can prioritize adding it to Windows as well.

I'm not familiar with the telemetry probe, but you'd need to make sure it's reporting from all processes, not just the main process.

-e

On Thu, Nov 12, 2015 at 12:39 PM, Vladan Djeric <vdjeric@mozilla.com> wrote:
My team would like to compare e10s & non-e10s memory usage using Telemetry data (bug 1198209). Are there any gotchas with interpreting the memory measurements collected in gatherMemory?

https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/TelemetrySession.jsm#1043

Are there other memory measurements we should be aware of?

Vladan

_______________________________________________
dev-memory mailing list
dev-memory@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-memory