diff options
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."; + |