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

Issue 2853263002: SimpleCache: histogram queuing delays and I/O portion of more ops. (Closed)

Created:
3 years, 7 months ago by Maks Orlovich
Modified:
3 years, 7 months ago
Reviewers:
Mark P, mpearson, xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, asvitkine+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add histograms for how execution of open + create in SimpleCache is split between queuing delay and synchronous portion. (there is already an end-to-end stat that covers both ops, and one for sync portion of open only). Made the sync portion of open histogram split by cache_type like every other SimpleCache statistic. Also add synchronous portion metrics for Write/Close as both of these seem to have opportunities for improvement, so it makes sense to measure them directly, at least short-term. BUG= Review-Url: https://codereview.chromium.org/2853263002 Cr-Commit-Position: refs/heads/master@{#469038} Committed: https://chromium.googlesource.com/chromium/src/+/5753d9910d1fe46387348c180b7212ca485df179

Patch Set 1 #

Total comments: 9

Patch Set 2 : Add a couple more sync metrics. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -12 lines) Patch
M net/disk_cache/simple/simple_entry_impl.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M net/disk_cache/simple/simple_synchronous_entry.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M net/disk_cache/simple/simple_synchronous_entry.cc View 1 8 chunks +20 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 4 chunks +48 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
Maks Orlovich
3 years, 7 months ago (2017-05-02 14:27:44 UTC) #4
xunjieli
I will take a look by EOD today. On choosing a histograms.xml reviewer, I normally ...
3 years, 7 months ago (2017-05-02 14:33:48 UTC) #5
xunjieli
> 2) Add sync + queue delay stats for every other common op. That feels ...
3 years, 7 months ago (2017-05-02 18:21:29 UTC) #8
Maks Orlovich
Thanks for the feedback. Added a couple other sync ones as well. https://codereview.chromium.org/2853263002/diff/1/net/disk_cache/simple/simple_synchronous_entry.cc File net/disk_cache/simple/simple_synchronous_entry.cc ...
3 years, 7 months ago (2017-05-02 19:49:20 UTC) #12
xunjieli
lgtm https://codereview.chromium.org/2853263002/diff/1/net/disk_cache/simple/simple_synchronous_entry.cc File net/disk_cache/simple/simple_synchronous_entry.cc (right): https://codereview.chromium.org/2853263002/diff/1/net/disk_cache/simple/simple_synchronous_entry.cc#newcode279 net/disk_cache/simple/simple_synchronous_entry.cc:279: UMA_HISTOGRAM_TIMES("SimpleCache.DiskOpenLatency", On 2017/05/02 19:49:20, Maks Orlovich wrote: > ...
3 years, 7 months ago (2017-05-02 21:25:18 UTC) #15
Maks Orlovich
+mpearson for the histograms.xml review (unless it already sends this when I edit the issue, ...
3 years, 7 months ago (2017-05-03 13:06:17 UTC) #17
Mark P
histograms.xml lgtm
3 years, 7 months ago (2017-05-03 18:17:01 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2853263002/20001
3 years, 7 months ago (2017-05-03 18:18:08 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 18:24:30 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5753d9910d1fe46387348c180b72...

Powered by Google App Engine
This is Rietveld 408576698