summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebc6c19)
raw | patch | inline | side by side (parent: ebc6c19)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 11:07:38 +0000 (13:07 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 11:07:38 +0000 (13:07 +0200) |
This tells you how often the ARC has been shrunk to release
memory for other processes.
memory for other processes.
src/types.db | patch | blob | history | |
src/zfs_arc.c | patch | blob | history |
diff --git a/src/types.db b/src/types.db
index deae1afab31c57277c46db49668ded2d744f87b3..0c5a43345df8abe235379b55e9791372158e04b4 100644 (file)
--- a/src/types.db
+++ b/src/types.db
memcached_ops value:DERIVE:0:U
memory value:GAUGE:0:281474976710656
memory_lua value:GAUGE:0:281474976710656
+memory_throttle_count value:DERIVE:0:U
multimeter value:GAUGE:U:U
mutex_operations value:DERIVE:0:U
mysql_bpool_bytes value:GAUGE:0:U
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index 3354de8019d22138d25d53aad6ecc9a122542499..e4b92a5e02f3f665334592b6217b1c166245e6e7 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
/* Issue indicators */
za_read_derive (ksp, "mutex_miss", "mutex_operations", "miss");
za_read_derive (ksp, "hash_collisions", "hash_collisions", "");
+ za_read_derive (ksp, "memory_throttle_count", "memory_throttle_count", "");
/* Evictions */
za_read_derive (ksp, "evict_l2_cached", "cache_eviction", "cached");