<div dir="ltr"><div><div><div>Hello,<br><br></div>Yes, I used 'rtspin' to allocate the task. And what I expect is the WCRT = execution time + overheads, 0.3 ms overheads for DPCP is too large to be accepted. I will turn off all the debugging options and try that again. Thank you very much!<br><br></div>Best wishes!<br></div>SHI<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-28 14:23 GMT+02:00 Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 28 Mar 2017, at 12:14, 施俊杰 <<a href="mailto:shijunjie92@gmail.com">shijunjie92@gmail.com</a>> wrote:<br>
><br>
> I got some unexpected results during my experiments when using the protocol under P-FP plugin. I used 'rtspin' to set the task, 'st-trace-schedule' to collect the data and 'st-job-stats' to handle the data.<br>
<br>
</span>What does the schedule look like?<br>
<span class=""><br>
> I set my task as follows: WCET: 1ms, critical section: 0.5 ms, partition: cpu_0, resource location: cpu_1, protocol: DPCP, period: 2ms, total execution time: 100s.<br>
<br>
</span>Is this using rtspin?<br>
<span class=""><br>
> There is only one real-time task in my system. The result of the WCRT is 1.34 ms which is too large than the expected value.<br>
<br>
</span>What response time did you expect? Keep in mind that the task still needs to do some other work to prepare the next periodic release.<br>
<span class=""><br>
> And if I set the protocol as MPCP, partition is cpu_0 (same as resource location), the WCRT is 1.125 ms, which is also too large.<br>
<br>
</span>Again, what did you expect?<br>
<span class=""><br>
> Moreover, if I add the number of tasks to 40, the unexpected overheads of DPCP can be accumulated to more than 1 ms.<br>
> Can any one explain that?<br>
<br>
</span>Can you trace the source of the overhead?<br>
<span class=""><br>
<br>
> Or do I need to modify my configuration?<br>
<br>
</span>Depends on what you have enabled… did you turn off all debugging options?<br>
<br>
- Björn<br>
<br>
<br>
______________________________<wbr>_________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" rel="noreferrer" target="_blank">https://lists.litmus-rt.org/<wbr>listinfo/litmus-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best wishes!<br></div>SHI<br></div></div>
</div>