From 47e6e7c84f008a53061e661f31ae96629bc694ef Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 26 Oct 2014 12:33:50 +0400 Subject: Debian 3.9.10 --- qa/pconf/cpu/system_calls | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 qa/pconf/cpu/system_calls (limited to 'qa/pconf/cpu/system_calls') 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."; + -- cgit v1.2.3