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

Issue 874483008: Add UMA stats to get the quality of service of memory pressure handling scheme in ChromeOS. (Closed)

Created:
5 years, 11 months ago by xdai1
Modified:
5 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA stats to record the memory pressure level periodically (once per second) in ChromeOS. This is used to show the relative frequency of the system being in a critical vs relaxed memory pressure state BUG=442829 Committed: https://crrev.com/c919cea5dbf733fe6e817df779196968ed04c737 Cr-Commit-Position: refs/heads/master@{#314702}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Address the code review comment. #

Total comments: 12

Patch Set 4 : Address the review comments. #

Total comments: 3

Patch Set 5 : Address the code review comments. #

Total comments: 1

Patch Set 6 : Modify MemoryPressureListener::MemoryPressureLevel #

Patch Set 7 : Add MemoryPressureLevelUMA #

Patch Set 8 : Just add a variable kNumMemoryPressureLevels #

Total comments: 4

Patch Set 9 : Address the review comments. #

Total comments: 3

Patch Set 10 : Address Ilya's code review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -1 line) Patch
M base/chromeos/memory_pressure_observer_chromeos.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M base/chromeos/memory_pressure_observer_chromeos.cc View 1 2 3 4 5 6 7 8 4 chunks +35 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
xdai1
Hi Stefan, Can you take a look at the CL? Thanks! I'm not quite sure ...
5 years, 11 months ago (2015-01-24 01:35:08 UTC) #3
Mr4D (OOO till 08-26)
xdai, sorry for the delay, but with the interviews going on it is tricky to ...
5 years, 11 months ago (2015-01-27 13:49:42 UTC) #4
xdai1
Hi Stefan, please take another look at the CL. I modified the UMA stat from ...
5 years, 10 months ago (2015-01-29 00:27:50 UTC) #7
Mr4D (OOO till 08-26)
Nearly there - only a few nits! Many thanks for doing this! https://codereview.chromium.org/874483008/diff/100001/base/chromeos/memory_pressure_observer_chromeos.cc File base/chromeos/memory_pressure_observer_chromeos.cc ...
5 years, 10 months ago (2015-01-29 08:17:53 UTC) #8
Mr4D (OOO till 08-26)
Oh - one more: Fixing it to 0..100: this is probably not good. I would ...
5 years, 10 months ago (2015-01-29 08:29:24 UTC) #9
xdai1
Hi Stefan, Thanks for the review! Please take another look at the CL, thanks! https://codereview.chromium.org/874483008/diff/100001/base/chromeos/memory_pressure_observer_chromeos.cc ...
5 years, 10 months ago (2015-01-31 00:01:39 UTC) #11
Mr4D (OOO till 08-26)
lgtm after a few nits Thanks! https://codereview.chromium.org/874483008/diff/140001/base/chromeos/memory_pressure_observer_chromeos.cc File base/chromeos/memory_pressure_observer_chromeos.cc (right): https://codereview.chromium.org/874483008/diff/140001/base/chromeos/memory_pressure_observer_chromeos.cc#newcode59 base/chromeos/memory_pressure_observer_chromeos.cc:59: // fraction with ...
5 years, 10 months ago (2015-02-01 10:16:34 UTC) #12
xdai1
isherman@, please help to reivew tools/metrics/histograms/histograms.xml file, thanks!
5 years, 10 months ago (2015-02-02 17:55:19 UTC) #14
Ilya Sherman
https://codereview.chromium.org/874483008/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/874483008/diff/160001/tools/metrics/histograms/histograms.xml#newcode2710 tools/metrics/histograms/histograms.xml:2710: + number is better. Hmm, from looking at this ...
5 years, 10 months ago (2015-02-02 19:55:50 UTC) #15
Mr4D (OOO till 08-26)
The goal is to see "quality of service" improvements. The idea being that we compare ...
5 years, 10 months ago (2015-02-03 00:05:41 UTC) #16
Ilya Sherman
On 2015/02/03 00:05:41, Mr4D (OOO - Slow response) wrote: > The goal is to see ...
5 years, 10 months ago (2015-02-03 00:35:37 UTC) #17
Mr4D (OOO till 08-26)
On 2015/02/03 00:35:37, Ilya Sherman wrote: > On 2015/02/03 00:05:41, Mr4D (OOO - Slow response) ...
5 years, 10 months ago (2015-02-03 01:17:59 UTC) #18
Ilya Sherman
On 2015/02/03 01:17:59, Mr4D (OOO - Slow response) wrote: > On 2015/02/03 00:35:37, Ilya Sherman ...
5 years, 10 months ago (2015-02-03 01:39:22 UTC) #19
Mr4D (OOO till 08-26)
> You might have already considered this, but you could just emit to the histogram ...
5 years, 10 months ago (2015-02-03 01:58:28 UTC) #20
Mr4D (OOO till 08-26)
I think this looks good! A few nits and we are there. https://codereview.chromium.org/874483008/diff/250001/base/chromeos/memory_pressure_observer_chromeos.cc File base/chromeos/memory_pressure_observer_chromeos.cc ...
5 years, 10 months ago (2015-02-04 00:11:19 UTC) #23
xdai1
Please take another look at the CL, thanks!
5 years, 10 months ago (2015-02-04 01:24:02 UTC) #24
Mr4D (OOO till 08-26)
lgtm
5 years, 10 months ago (2015-02-04 01:34:02 UTC) #25
Ilya Sherman
Thanks, this looks much better! LGTM % nits. https://codereview.chromium.org/874483008/diff/270001/base/chromeos/memory_pressure_observer_chromeos.h File base/chromeos/memory_pressure_observer_chromeos.h (right): https://codereview.chromium.org/874483008/diff/270001/base/chromeos/memory_pressure_observer_chromeos.h#newcode79 base/chromeos/memory_pressure_observer_chromeos.h:79: // ...
5 years, 10 months ago (2015-02-04 23:13:17 UTC) #26
xdai1
On 2015/02/04 23:13:17, Ilya Sherman wrote: > Thanks, this looks much better! LGTM % nits. ...
5 years, 10 months ago (2015-02-05 00:06:34 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/874483008/290001
5 years, 10 months ago (2015-02-05 00:09:10 UTC) #30
commit-bot: I haz the power
Committed patchset #10 (id:290001)
5 years, 10 months ago (2015-02-05 01:15:49 UTC) #31
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 01:17:04 UTC) #32
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/c919cea5dbf733fe6e817df779196968ed04c737
Cr-Commit-Position: refs/heads/master@{#314702}

Powered by Google App Engine
This is Rietveld 408576698