Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2018503002: [system-health] Normalize the structure of memory metric values (Closed)

Created:
4 years, 7 months ago by petrcermak
Modified:
4 years, 6 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org, eakuefner, benjhayden, perezju, sullivan
Base URL:
git@github.com:catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[system-health] Normalize the structure of memory metric values As explained in the tracking bug (https://github.com/catapult-project/catapult/issues/2363), this patch normalizes the values reported by the memory metric as follows: 1. All values are renamed as follows: Before: memory:<browser>:<process>:vmstats: <component>:<size-property> After: memory:<browser>:<process>:reported_by_os:system_memory: <component>:<size-property> Before: memory:<browser>:<process>:subsystem:gpu: android_memtrack:<component>:<size-property> After: memory:<browser>:<process>:reported_by_os:gpu_memory: <component>:<size-property> Before: memory:<browser>:<process>:subsystem: <component>:<size-property> (<component> != gpu:android_memtrack) After: memory:<browser>:<process>:reported_by_chrome: <component>:<size-property> 2. Top-level sums are added: * memory:<browser>:<process>:reported_by_os: proportional_resident_size * memory:<browser>:<process>:reported_by_os:system_memory: proportional_resident_size (already reported as memory:<browser>:<process>:vmstats: overall:pss) * memory:<browser>:<process>:reported_by_os:gpu_memory: proportional_resident_size * memory:<browser>:<process>:reported_by_chrome:effective_size 4. 'pss' and 'private_dirty' are renamed to 'proportional_resident_size' and 'private_dirty_size'. 4. Process names are extended to 'browser_process', 'renderer_processes', 'gpu_process', 'ppapi_process' and 'all_processes'. 5. 'memtrack_pss' size property is renamed to 'proportional_resident_size' in the memory metric (but NOT in the Trace Viewer UI). 6. The full cross product of {native_heap, java_heap, ashmem} and {proportional_resident_size, private_dirty_size} is now reported: * memory:<browser>:<process>:reported_by_os:system_memory: native_heap:proportional_resident_size * memory:<browser>:<process>:reported_by_os:system_memory: java_heap:proportional_resident_size (NEW) * memory:<browser>:<process>:reported_by_os:system_memory: ashmem:proportional_resident_size * memory:<browser>:<process>:reported_by_os:system_memory: native_heap:private_dirty_size (NEW) * memory:<browser>:<process>:reported_by_os:system_memory: java_heap:private_dirty_size * memory:<browser>:<process>:reported_by_os:system_memory: ashmem:private_dirty_size (NEW) This patch is an important step towards the metrics graphical model (see https://goo.gl/uCI8Jh and https://goo.gl/gZp7SU). BUG=chromium:617117 ,catapult:#2363 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/76449fc4e65a7e6b51d061d40539793a2e28371b

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Longer explicit names #

Patch Set 4 : Exclude tracing from total reported_by_chrome values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2279 lines, -1040 lines) Patch
M tracing/tracing/metrics/system_health/memory_metric.html View 1 2 3 12 chunks +683 lines, -332 lines 0 comments Download
M tracing/tracing/metrics/system_health/memory_metric_test.html View 1 2 3 13 chunks +1596 lines, -708 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
petrcermak
primiano: PTAL. I didn't do the four changes as separate patches because they require quite ...
4 years, 7 months ago (2016-05-26 16:07:58 UTC) #4
nednguyen
+Annie This will lead to a massive name update to the memory metrics on the ...
4 years, 7 months ago (2016-05-26 16:13:56 UTC) #6
Primiano Tucci (use gerrit)
New names and code itself LGTM. Defer to Ned to the best approach to move ...
4 years, 7 months ago (2016-05-27 09:30:21 UTC) #7
petrcermak
Primiano: Thanks for the review. Ned: I was worried that changing the names could be ...
4 years, 7 months ago (2016-05-27 09:47:52 UTC) #8
Primiano Tucci (use gerrit)
On 2016/05/27 09:47:52, petrcermak wrote: > One thing to mention is that there is a ...
4 years, 7 months ago (2016-05-27 09:53:42 UTC) #9
nednguyen
On 2016/05/27 09:53:42, Primiano Tucci wrote: > On 2016/05/27 09:47:52, petrcermak wrote: > > One ...
4 years, 6 months ago (2016-05-27 15:06:45 UTC) #10
nednguyen
lgtm
4 years, 6 months ago (2016-05-31 17:27:09 UTC) #11
petrcermak
FYI this patch has just been updated to its final version and will land tomorrow.
4 years, 6 months ago (2016-06-13 17:38:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018503002/120001
4 years, 6 months ago (2016-06-14 09:47:21 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 10:12:04 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698