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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 321823002: histograms.xml: add five zram (compressed memory) histograms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@var-run
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index b94d38b37fe23f032008473843f1182ff71f17ba..65d29aff2c454f63c3d6c54ae096cef5eba33ac8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18458,6 +18458,50 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Platform.ZramCompressedSize" units="MB">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ Compressed swap size in megabytes. This is the actual amount of RAM used by
+ the system to compress memory (i.e. after compression). Snapshot every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramCompressionRatioPercent" units="%">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ Compression ratio in percents (between 100% and 600%, i.e. a ratio between 1
Ilya Sherman 2014/06/11 20:30:47 Hmm, why is 600% the upper bound, and why is 100%
+ and 6) when the compressed memory is at least 1 MB after compression. This
+ is the fraction of RAM used before compression (including zero pages) and
+ after compression. Values close to 100% indicate low compression
+ effectiveness. Snapshot every 30s.
Ilya Sherman 2014/06/11 21:37:30 nit: Suggested phrasing tweaks, that help at least
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramSavings" units="MB">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ RAM savings in megabytes from using memory compression. This is the
+ difference between the RAM size before and after compression. Snapshot
+ every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramZeroPages" units="pages">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ Number of zero-filled pages that the OS is compressing. A large number
+ suggests wasteful allocation. Snapshot every 30s.
+ </summary>
+</histogram>
+
+<histogram name="Platform.ZramZeroRatioPercent" units="%">
+ <owner>semenzato@google.com</owner>
+ <summary>
+ The fraction of compressed memory that consists of zero-filled pages.
+ Snapshot every 30s.
+ </summary>
+</histogram>
+
<histogram name="PlatformFile.UnknownCreateFileErrors" units="code">
<obsolete>
Deprecated as of 2013-05, replaced by
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698