On 05/08/2013 08:39 PM, Sebastian Pavez wrote:

> Obviously Xenomai can't utilize the 100% of CPU,


Xenomai can utilize 100% of the CPU, the problem is that if it does so
for a too long time, the system crashes eventually.

> so my question is: If I 
> try to work in Xenomai, with some task that are not able to execute 
> completely, the CPU will try to utilize resource that doesn't have?


I do not understand this question.

> In regard the changes I made, how are related the Xenomai scheduler and 
> the Linux one? where I could find some detailed documentation about this 
> (to put in my references)? Is there something like an scheduler of 
> schedulers that take the execution of Xenomai's task and then the Linu'x 
> ones?


Linux as a whole is seen as one task by Xenomai scheduler, executed when
Xenomai scheduler has no other task to execute.

> 
> A confirmation of why my previous test (both tasks running with Xenomai) 
> was a dead end would be great. Some souce of information (more formal 
> than a suggestion) would also be quite appreciated.


You never showed a test that I could run on my machine to try and
understand what you are trying to prove. And I still do not understand.
Please make a test program, using rt_timer_spin to simulate the cpu
load, and explain me, in very simple word, or with a printf in the test
code, or with a comment in the test code, the problem you observe. Is it
a latency problem?

-- 
                                                                Gilles.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to