View Issue Details

IDProjectCategoryView StatusLast Update
0002098fsvybrid_LinuxKernelpublic2014-04-07 15:25
ReporterKeller Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionfsvybrid-V1.1 
Target Versionfsvybrid-V1.2Fixed in Versionfsvybrid-V1.2 
Summary0002098: Sleep functions on Vybrid only work with mulitples of 10ms
DescriptionDistributor/Customer reports that all sleeping functions on Vybrid only work with multiples of 10ms, which is rather coarse.
Steps To ReproduceDistri Mail:

Apparently everytime they use a sleep function in Linux, the minimum time that my thread will sleep is exactly a multiple of 10 milliseconds.

So, if they try to sleep 8 ms, it will sleep 10 ms. If I try to sleep 11 ms, it will sleep 20 ms.
This affect very much their application in a negative way.

Even non real-time Linux has a clock resolution that is less than 1 ms.

I have the feeling that this is somehow related with the option of the kernel related to PIT (Programmable Interrupt Timer), but this is just an hypothesis.
Additional InformationCheck if this has to do with the PIT timing. In Timesys patch linux-3.0-vybrid-ts2.8 there was a modification called:

Add Global Timer support to fix High Resolution Timer functionality

Maybe this is the solution. In fact the real global_timer.c was added with linux-3.0-vybrid-ts2.9, so both patches have to be considered.
Forum Link


There are no notes attached to this issue.