[LITMUS^RT] running rtspin and calculate deadline miss ratio? -- Sisu

Sisu Xi xisisu at gmail.com
Wed Apr 17 18:47:37 CEST 2013


Hi, all:

Is there any tutorial on running multiple rt tasks (say, rtspin) for some
time and calculate the deadline miss ratio? like the ones you presented in
the paper?

I run a single rtspin task with wcet of 5 and period of 10 for 100 seconds.
There is no output of this.

I can trace the task execution via reading /dev/litmus/log, it shows:

208107 P2: rt: adding rtspin/1357 (5000000, 10000000, 10000000)
rel=1088752672478 to ready queue at 1088754177964
208108 P2: check_for_preemptions: attempting to link task 1357 to 1
208110 P2: (rtspin/1357:2350) blocks:0 out_of_time:0 np:0 sleep:1 preempt:0
state:0 sig:0
208111 P2: (rtspin/1357:2350) job_completion().
208112 P2: rt: adding rtspin/1357 (5000000, 10000000, 10000000)
rel=1088762672478 to ready queue at 1088764173889
208113 P2: check_for_preemptions: attempting to link task 1357 to 1
208115 P2: (rtspin/1357:2351) blocks:0 out_of_time:0 np:0 sleep:1 preempt:0
state:0 sig:0
208116 P2: (rtspin/1357:2351) job_completion().

I assume the 1357 is the pid, and the number following (2350, 2351, etc) is
the job id. However, I don't know the exact job release time and job
completion time. Thus I don't know whether this job missed its deadline or
not.

How do you guys trace the deadline miss ratio?

Thanks very much!

Sisu



-- 
Sisu Xi, PhD Candidate

http://www.cse.wustl.edu/~xis/
Department of Computer Science and Engineering
Campus Box 1045
Washington University in St. Louis
One Brookings Drive
St. Louis, MO 63130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20130417/93f5e244/attachment.html>


More information about the litmus-dev mailing list