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/cpu/syscall | |
download | pcp-debian.tar.gz |
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'src/pmieconf/cpu/syscall')
-rw-r--r-- | src/pmieconf/cpu/syscall | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/pmieconf/cpu/syscall b/src/pmieconf/cpu/syscall new file mode 100644 index 0000000..4dcf074 --- /dev/null +++ b/src/pmieconf/cpu/syscall @@ -0,0 +1,69 @@ +#pmieconf-rules 1 +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) +# + +rule cpu.syscall + summary = "$rule$" + predicate = +"some_host ( + kernel.all.syscall $hosts$ + > hinv.ncpu $hosts$ * $threshold$ count/sec +)" + enabled = yes + version = 1 + help = +"Average number of system calls per CPU per second exceeded +threshold over the past sample interval."; + +string rule + default = "High aggregate system call rate" + modify = no + display = no; + +double threshold + default = 10000 + help = +"The threshold of system calls per second per CPU. The appropriate +value here is a function of the processor type and the workload, but +here are some indicative figures of sustained system call rates for a +single process: + getpid() - 380000 syscalls/sec + lseek() to start of file - 280000 syscalls/sec + gettimeofday() - 200000 syscalls/sec + read() at end of file - 83000 syscalls/sec + file creat() and close() - 65000 syscalls/sec + socket(), connect() and close() - 7000 syscalls/sec +(generated using an otherwise idle system with 180MHz R10000 processors)."; + +string action_expand + default = %vscall/s@%h + display = no + modify = no; + +string email_expand + default = "host: %h aggregate syscalls/sec: %v" + display = no + modify = no; + + +# Configuration info specific to non-PCP tools follows... +# + +# for SGI Embedded Support Partner integration: +string esp_type + default = "0x200043" + display = no + modify = no; + +# for EnlightenDSM integration: +string enln_test + default = cpu.syscall + display = no + modify = no; +string enln_units + default = scall/s + display = no + modify = no; + +# +# --- DO NOT MODIFY THIS FILE --- see pmieconf(4) |