summaryrefslogtreecommitdiff
path: root/qa/pconf/cpu/system_calls
blob: c2244e1d1560ac64b8ac1ed406d74b550390ec96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.";