Thomas, Brieuc \(GE Healthcare\) wrote: > > Thomas, Brieuc \(GE Healthcare\) wrote: > > Hi every one ! > > > > I really don't understand, my porting of application works very well > > (under vxworks skin), message, semaphore, timer... Except the task !! > > I've got a curious behaviour, when I've got a heavy task, the kernel > > tick counter stop during the process!! > > > > And take back when this one is finish. > > > > Therefore the other tasks are freeze and my application crash. > > > > > > > > have You already seen this case? > > I do not know if it is what you mean, but when running Xenomai, your > tasks are supposed to suspend sufficiently frequently to leave Linux > tick normally. This means that if you configured CONFIG_HZ=100, your > real-time activity (including kernel-space tasks and user-space tasks in > primary mode) is supposed to take a break at least once every 1/100 > second. > > -- > > > Gilles Chanteperdrix. > > Oh no! Sorry, I mean the real-time tick counter!
If the heavy task is using intLock() then yes, it will prevent the timer from ticking. If you are observing something else, could you send to this mailing list a minimal test case illustrating what you are observing? > But if my real-time activity don't take a break during a while (more > than 1/100 second), Is it dangerous for my real-time activity? If you do not let Linux run often enough, it will crash, and this is dangerous for your real-time activity. I do not know exactly how much is "often enough", and it probably depends on many factors, but if you want Linux timed services to work normally, you should let Linux timer tick regularly. -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help