]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks/activity: report the context switch and task wakeup rates
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Apr 2019 06:10:57 +0000 (08:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Apr 2019 14:04:23 +0000 (16:04 +0200)
commit0212fadd658bfcade0342dea708e398b47e31188
tree1a1e930a9527a1ab79b37a2e7e46aeafbaf12ab0
parent69b5a7f1a3d3276f8d7d43e3916eb9f51d839072
MINOR: tasks/activity: report the context switch and task wakeup rates

It's particularly useful to spot runaway tasks to see this. The context
switch rate covers all tasklet calls (tasks and I/O handlers) while the
task wakeups only covers tasks picked from the run queue to be executed.
High values there will indicate either an intense traffic or a bug that
mades a task go wild.
include/types/activity.h
src/cli.c
src/task.c