<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">Hi,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">First of all, my apologies for the long post, but needed to cover the setup and results in details. I am forced to use litmus 2014.2 on a 3.10 kernel.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">I have a set of 45 embedded benchmarks. I have written a litmus RT main file (<span style="color:rgb(11,83,148);font-family:verdana,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">wrapper) </span>for each benchmark which calls it as a periodic litmus RT job for a duration T. The tasks are compiled and linked against the litmus RT API and libraries. The attached file (main.c) is for benchmarks with arguments.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">The running platform is an ARM Odroid-XU4 board with Exynos 5422 Octa-core (ARM big little A15 and A7 cores).</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">

<span style="color:rgb(11,83,148);font-family:verdana,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">In a previously published research project we did, the WCET of each benchmark was estimated on the same platform for each type of the cores, so I have two sets of WCETs for each A15 and A7 core types. This is a safe WCET estimate. Execution times never exceeded this WCET. We choose the WCET based on which type of core the task is run at.</span></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"> </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">I am using partitioned EDF (each core is a partition - L1 cache based). I have estimated the overhead of the wrapper and scheduler to be 0.36ms on the A15 core and 0.5ms on the A7 core. <b>Those overheads are factored into the final WCET when running the litmus task.</b></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">For now, <b><i>I am running each RT benchmark one at a time with synchronous release and forced completion.</i></b></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><b><br></b></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">A sample command is running the bitcnts benchmark, <b>the period is four times the WCET. Therefore, the implicit deadline is far away.</b></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">sudo ./bitcnts -p 1 -w 1502 6010 30 -- 1125000  & <br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)">I have run each of the benchmarks and they do execute periodically. So no problem in launching the benchmarks and I verified that my tasks are launching fine with correct results/outputs. However, the problems are the follows:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><ol><li>When running <i>st-trace-schedule</i> and collecting results by <i>st-job stats</i> for one task, ACET values are odd. In many cases, they are 0, in others extremely high values which makes no sense (e.g. 3677604500000) (see file result_01</li><li>This issue is a frequent case with most benchmarks, I will list one as an example. In a task with a WCET of 107ms and a period of 500ms running for 30 seconds, the results are odd. The ACET shows as before, 0. And there are lots of forced jobs in a pattern of 1,1,0,1,1,0 ... etc or 0,1,0,10,1 ...etc. Why would the task be forced? The execution time is less than the WCET and the deadline is four times the WCET. There is no way I can imagine that the job would exceed its deadline. (see file result_02). Do note, in a previous project we have run those benchmarks tens of thousands of times each and we have a solid idea of how long they execute on average.</li><li>Is the period capped? I have a task which is run as " <span class="gmail-gr_ gmail-gr_1138 gmail-gr-alert gmail-gr_spell gmail-gr_inline_cards gmail-gr_run_anim gmail-ContextualSpelling" id="gmail-1138" style="display:inline;color:rgb(11,83,148);font-size:small;border-bottom:2px solid transparent;background-repeat:no-repeat;font-family:verdana,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">sudo</span><span style="color:rgb(11,83,148);font-family:verdana,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> ./bitcnts -p 1 -w 1502 6010 30 -- 1125000  &  ". However, the trace shows a period of 1715 instead of 6010</span></li></ol></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><div class="gmail_default"># Task,   Job,     Period,   Response, DL Miss?,   Lateness,  Tardiness, Forced?,       ACET,  Preemptions,   Migrations</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><div class="gmail_default"># task NAME=bitcnts PID=4052 COST=1502000000 PERIOD=1715032704 CPU=1</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><div class="gmail_default">  4052,     2, 1715032704, 1443401363,        0, -4566598637,          0,       0,          0,            0,            0</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><div class="gmail_default">  4052,     3, 1715032704, 1446788641,        0, -4563211359,          0,       0,          0,            0,            0</div><div class="gmail_default"><br></div></div></blockquote></blockquote><font color="#0b5394" face="verdana, sans-serif"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148);display:inline">​Thank you​</div><br></font><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(11,83,148)"><br></div></div>