From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FF415AB.2030503@xenomai.org> Date: Wed, 04 Jul 2012 12:06:35 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <4FF369E5.5040007@xenomai.org> <4FF402AD.3020601@xenomai.org> In-Reply-To: <4FF402AD.3020601@xenomai.org> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] Xenomai and normal linux application - Wait time with select() not reliable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On 07/04/2012 10:45 AM, Gilles Chanteperdrix wrote: > On 07/04/2012 10:36 AM, Jens Köhler wrote: >> Thank you for your response Gilles. I set thread to SCHED_FIFO policy >> with chrt command, Prio 99. But there is no improvement. Also >> nanosleep do not help. The kernel is 2.6.26. What could be reason that >> kernel is not restart thread when time is over? > > It could be that the xenomai activity, if any, is running for long > periods of time and causing linux ticks to be delayed. As usual, it > would help if you could provide a self-contained test-case allowing us > to reproduce the issue. > /proc/xenomai/stat as well, in case the rt activity changes mode a lot. -- Philippe.