On 12/11/2012 06:30 PM, Thierry Bultel wrote:
> Le 11/12/2012 17:50, Gilles Chanteperdrix a écrit :
>> On 12/11/2012 05:01 PM, Thierry Bultel wrote:
>>> Le 11/12/2012 16:36, Gilles Chanteperdrix a écrit :
>>>> On 12/11/2012 04:26 PM, Thierry Bultel wrote:
>>>>> Gilles,
>>>>>
>>>>> another issue (likely related, and that may help to diagnose) that I can
>>>>> see is that time is completely wrong;
>>>>>
>>>>> For instance:
>>>>>
>>>>>
>>>>> [root@buildroot ~]# time sleep 10
>>>>>
>>>>> real      0m10.009s
>>>>> user      0m0.002s
>>>>> sys       0m0.013s
>>>>>
>>>>> The system says that it spent 10 secs but I actually measured 25 secs.
>>>>
>>>> No, that is likely because you have CONFIG_CPU_FREQ or CONFIG_CPU_IDLE
>>>> enabled.
>>>>
>>>
>>> Thanks, yes this was CONFIG_CPU_FREQ
>>
>> Ok, and when running at full speed, do the timer thread always take 20%
>> cpu ?
>>
> 
> It is much better. I only have 1.3% of CPU load.
> Also the target seems really stable now. Thanks a lot, again.
> 
> The only remaining 'weird' issue is that the iMX Timer Tick counter in 
> /proc/interrupts does not increase whereas it does when CONFIG_IPIPE is 
> set to NO. It is not really a blocking issue, but I would like to 
> understand why.

Could you check if you have the issue with the I-pipe kernel for Linux
3.4.6, available in xenomai git?

git://git.denx.de/ipipe.git branch core-3.4

-- 
                                            Gilles.

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

Reply via email to