diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-10-26 12:33:50 +0400 |
commit | 47e6e7c84f008a53061e661f31ae96629bc694ef (patch) | |
tree | 648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/pconf/filesys/buffer_cache | |
download | pcp-debian/3.9.10.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pconf/filesys/buffer_cache')
-rw-r--r-- | qa/pconf/filesys/buffer_cache | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/qa/pconf/filesys/buffer_cache b/qa/pconf/filesys/buffer_cache new file mode 100644 index 0000000..e964d0e --- /dev/null +++ b/qa/pconf/filesys/buffer_cache @@ -0,0 +1,37 @@ +#pmieconf-rules 1 +# + +rule filesys.buffer_cache + default = "$rule$" + predicate = +"some_host ( + ( (kernel.all.io.lread $hosts$ + - kernel.all.io.bread $hosts$) + / kernel.all.io.lread $hosts$ ) < $threshold$ / 100 + && kernel.all.io.lread $hosts$ > 30 * 16 Kbytes/sec +)" + enabled = no + version = 1 + help = +"Some file system read activity (at least 30 x 16 Kbyte logical reads +per second), and the read hit ratio in the buffer cache is below +threshold percent."; + +string rule + default = "low read hit ratio in buffer cache" + modify = no + display = no; + +percent threshold + default = 80 + help = +"The minimum acceptable buffer cache read hit ratio, expressed as a +percentage. Values may be in the range 0 (nothing is read from the +cache and poor performance is expected) to 100 (all reads come from +the cache, no disk I/O required and good performance expected)."; + +string action_expand + default = "%v%@%h" + display = no + modify = no; + |