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/cpu/system_calls | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/pconf/cpu/system_calls')
-rw-r--r-- | qa/pconf/cpu/system_calls | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/qa/pconf/cpu/system_calls b/qa/pconf/cpu/system_calls new file mode 100644 index 0000000..c2244e1 --- /dev/null +++ b/qa/pconf/cpu/system_calls @@ -0,0 +1,29 @@ +#pmieconf-rules 1 +# + +rule cpu.system_calls + default = "$rule$" + predicate = +"some_host ( + ( kernel.all.syscall $hosts$ / hinv.ncpu $hosts$ ) + > $threshold$ count/sec +)" + enabled = no + version = 1 + help = +"Average number of system calls per CPU per second exceeded threshold +over the past sample interval."; + +string rule + default = "high average system call rate per CPU" + modify = no + display = no; + +double threshold + default = 2500 + help = +"The threshold of system calls per second per CPU. The appropriate +value is a function of the processor type and the workload, but in +the range 500 (a few, expensive systems calls) to 5000 (many, +lightweight system calls) would be typical."; + |