<div dir="ltr"><div><div><div>Dear Glenn and Björn,<br></div><br>Thank you for the suggestions. Process actually turns into an uninterruptible state. <br></div>Actually I am trying to simulate with Experiment scripts from Jonathan Herman <br>
<br><a href="https://github.com/hermanjl/experiment-scripts">https://github.com/hermanjl/experiment-scripts</a><br><br><br></div><div>I am running the script on actual machine, 4 cores.<br></div><div>Generated task file of P-EDF and C-EDF runs without stalling up to 2500 tasks with 2 cpus. <br>
./gen_exps.py -f tasks=2500 cpus=2 P-EDF, release_mater=default<br>./gen_exps.py -f tasks=2500 cpus=2 C-EDF , release_mater=default  where cluster was default=L2<br><br></div><div>With both of them if 5000 tasks is generated to run CPU seems stopped working. (Even I can not open terminal, may be its was still running)<br>
</div><div><br></div><div>But wherein ,G-EDF only working with release_master=False.<br></div><div>even with tasks ./gen_exps.py -f tasks=500 cpus=2 G-EDF, ran execution stalls.<br><br></div><div>Suggestions about task generation and also task execution and assumption of execution time is badly necessary.<br>
<br></div><div>Thanks in advance <br></div><div>Sanjib <br></div><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 9, 2014 at 3:38 PM, Glenn Elliott <span dir="ltr"><<a href="mailto:gelliott@cs.unc.edu" target="_blank">gelliott@cs.unc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Feb 9, 2014, at 8:57 AM, Sanjib Das <<a href="mailto:cnt.sanjib@googlemail.com">cnt.sanjib@googlemail.com</a>> wrote:<br>
<br>
> Hello Björn,<br>
><br>
> No i haven't tried with killall.<br>
> what will be parameter for the killall command,<br>
> killall -g rtspin doesnt work<br>
> also<br>
> killall -g rcu_preempt<br>
><br>
> how should I try it ?<br>
><br>
> Thanks in advance<br>
><br>
> Sanjib<br>
> On 09.02.2014 13:54, Björn Brandenburg wrote:<br>
>> On 09 Feb 2014, at 05:11, Sanjib Das <<a href="mailto:cnt.sanjib@googlemail.com">cnt.sanjib@googlemail.com</a>> wrote:<br>
>><br>
>>> Dear Concern,<br>
>>><br>
>>> I am wondering if there is any way to kill all the running real-time task manually.<br>
>> Have you tried killall?<br>
>><br>
>> - Björn<br>
>><br>
>><br>
>>> I am trying to run G-EDF and C-EDF with different tasks and because of wrong parameter I found "rcu_preempt detected stalls on cpus/tasks", as a result my rt tasks were still running.<br>
>>><br>
>>> "<br>
>>> <a href="tel:%5B%202072.588370" value="+12072588370">[ 2072.588370</a>] Could not switch plugin: -16<br>
>>> <a href="tel:%5B%202107.177026" value="+12107177026">[ 2107.177026</a>] Could not switch plugin: -16<br>
>>> [ 2120.735386] Could not switch plugin: -16<br>
>>> [ 2131.718955] Could not switch plugin: -16<br>
>>> [ 2173.427350] INFO: rcu_preempt detected stalls on CPUs/tasks: {} (detected by 1, t=600017 jiffies, g=53906, c=53905, q=0)<br>
>>> [ 2173.427371] INFO: Stall ended before state dump start<br>
>>> [ 2189.814720] Could not switch plugin: -16<br>
>>> [ 2353.473222] INFO: rcu_preempt detected stalls on CPUs/tasks: {} (detected by 1, t=780022 jiffies, g=53906, c=53905, q=0)<br>
>>> [ 2353.473241] INFO: Stall ended before state dump start<br>
>>> [ 2533.519115] INFO: rcu_preempt detected stalls on CPUs/tasks: {} (detected by 1, t=960027 jiffies, g=53906, c=53905, q=0)<br>
>>> [ 2533.519131] INFO: Stall ended before state dump start<br>
>>><br>
>>> "<br>
>>><br>
>>><br>
>>> Though I ran the command using sudo,<br>
>>> "<br>
>>> Error: Cannot write to /proc/litmus/active_plugin. Do you have root privileges?<br>
>>> Error: Setting new plugin failed.<br>
>>> Are there any active real-time tasks?<br>
>>> sdas@sdas-lab:~/littest/liblitmus$<br>
>>> "<br>
>>><br>
>>> Any suggestions will be very helpful.<br>
>>><br>
>>> Thanks in advance<br>
<br>
<br>
</div></div>“sudo pkill -9 rtspin” should work, unless the tasks are stuck in an uninterruptible state.  If that pkill command won’t work, then I think you have no choice but to reboot or even a hard reset.  You shouldn’t kill rcu_preempt—it’s a kernel demon.<br>

<span class="HOEnZb"><font color="#888888"><br>
-Glenn<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</div></div></blockquote></div><br></div>