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 /src/pmieconf/filesys/dnlc_miss | |
download | pcp-debian/3.9.10.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmieconf/filesys/dnlc_miss')
-rw-r--r-- | src/pmieconf/filesys/dnlc_miss | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/pmieconf/filesys/dnlc_miss b/src/pmieconf/filesys/dnlc_miss new file mode 100644 index 0000000..59264de --- /dev/null +++ b/src/pmieconf/filesys/dnlc_miss @@ -0,0 +1,72 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule filesys.dnlc_miss + default = "$rule$" + predicate = +"some_host ( + 100 * ( name_cache.misses $hosts$ + + name_cache.enters $hosts$ + + name_cache.removes $hosts$ ) + / name_cache.searches $hosts$ > $threshold$ + && name_cache.searches $hosts$ + > $min_lookup$ count/sec +)" + enabled = no + version = 1 + help = +"With at least min_lookup directory name cache (DNLC) lookups per +second being performed, threshold percent of lookups result in +cache misses."; + +string rule + default = "High directory name cache miss rate" + modify = no + display = no; + +percent threshold + default = 90 + help = +"Threshold percent of total directory name cache lookups are resulting +in cache misses, in the range 0 (all accesses are satisified in the +cache) to 100 (no accesses are satisifed in the cache)."; + +double min_lookup + default = 100 + help = +"Minimum number of name cache lookups per second before considering +whether these lookups are stressing the cache or not."; + +string action_expand + default = "%v%miss@%h" + display = no + modify = no; + +string email_expand + default = "host: %h name cache misses: %v%" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x200040" + display = no + modify = no; + +# for EnlightenDSM integration: +string enln_test + default = filesys.dnlc_miss + display = no + modify = no; +string enln_units + default = %miss + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) |