New issue
Advanced search Search tips

Issue 750798 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Feature

Blocking:
issue 750751



Sign in to add a comment

Add UMA statistics for shared leveldb block caches

Project Member Reported by cmumford@chromium.org, Jul 31 2017

Issue description

In addition to shared read block caches, identify other in-memory overhead in need of UMA logging.
 
Labels: -Type-Bug Type-Feature
Blocking: 750751
Status: Started (was: Assigned)
Status: Fixed (was: Started)
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f8bb2ba9149776e582473ed72563628a50a67c88

commit f8bb2ba9149776e582473ed72563628a50a67c88
Author: Chris Mumford <cmumford@chromium.org>
Date: Wed Oct 18 00:55:38 2017

leveldb: Not logging SharedCache.BytesUsed.InMemory.

A bug was not recording LevelDB.SharedCache.BytesUsed.InMemory
on small memory devices. However, because the in-memory shared
cache size is always zero the correct fix is to simply not
record this value.

Bug:  750798 
Change-Id: Ib5e1188aa857aae6510118bb9ccf27e06ac8c8eb
Reviewed-on: https://chromium-review.googlesource.com/723607
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509636}
[modify] https://crrev.com/f8bb2ba9149776e582473ed72563628a50a67c88/third_party/leveldatabase/leveldb_chrome.cc

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4611a2e319faeb3ad9d199fc6a1bb9deaf4e704e

commit 4611a2e319faeb3ad9d199fc6a1bb9deaf4e704e
Author: Chris Mumford <cmumford@chromium.org>
Date: Fri Oct 20 17:05:00 2017

leveldb: Increased limit of LevelDB.SharedCache.BytesUsed.

Roughly 25% of the LevelDB.SharedCache.BytesUsed.Browser values
were > the limit of UMA_HISTOGRAM_COUNTS_10M. Switching to logging
KB and changed name to LevelDB.SharedCache.KBUsed.

Bug:  750798 
Change-Id: I1c566c06489aaefa5f7bce9da664677b3d19ff6f
Reviewed-on: https://chromium-review.googlesource.com/723800
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Reviewed-by: Mark Pearson <mpearson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#510471}
[modify] https://crrev.com/4611a2e319faeb3ad9d199fc6a1bb9deaf4e704e/third_party/leveldatabase/leveldb_chrome.cc
[modify] https://crrev.com/4611a2e319faeb3ad9d199fc6a1bb9deaf4e704e/tools/metrics/histograms/histograms.xml

Sign in to add a comment