Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2018 13:26:33 +0200
From:      Peter <pmc@citylink.dinoex.sub.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Appendices - more data: SCHED_ULE+PREEMPTION is the problem
Message-ID:  <389733b6-0fec-78f1-8969-83bd95cd9fdd@citylink.dinoex.sub.org>
In-Reply-To: <d9d1ccfe-4f0a-ae87-ac6b-a0ecd6509ccb@citylink.dinoex.sub.org>
References:  <pa17m7$82t$1@oper.dinoex.de> <paak11$vcf$1@oper.dinoex.de> <07279919-3b8f-3415-559f-6e7e66cb51c9@freebsd.org> <d9d1ccfe-4f0a-ae87-ac6b-a0ecd6509ccb@citylink.dinoex.sub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I forgot to attach the commands used to create the logs - they are ugly 
anyway:

[1]
dtrace -q -n '::sched_choose:return { @[((struct thread 
*)arg1)->td_proc->p_pid, stringof(((struct thread 
*)arg1)->td_proc->p_comm), timestamp] = count(); } tick-1s { exit(0); }' 
| sort -nk 3 | awk '$1 > 27 {$3 = ($3/1000000)*1.0/1000; printf "%6d 
%20s %3.3f\n", $1, $2, $3 }'

[2]
dtrace -q -n '::runq_choose_from:entry /arg1 == 0||arg1 == 32/ { @[arg1, 
timestamp] = count(); }' | sort -nk2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?389733b6-0fec-78f1-8969-83bd95cd9fdd>