All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [xenomai-forge] timer-internal consume a lot of cpu
@ 2014-12-07 16:26 Ronny Meeus
  2014-12-16 17:36 ` Ronny Meeus
  0 siblings, 1 reply; 21+ messages in thread
From: Ronny Meeus @ 2014-12-07 16:26 UTC (permalink / raw)
  To: xenomai

Hello

we are using the xenomai-forge implementation.
We from time to time see an issue that the timer-internal thread is
consuming a complete core. It is seen when we send broadcast traffic that
needs to be handled by the Linux kernel (ARP).

The kernel thread's priority handling the packets in the middle between the
timer-internal thread and the application thread's priority. All threads
run on the same core.
If the priority of the timer-internal is lowered below the kernel thread,
the load disappears immediately.
So it looks like there is some busy polling on a common resource that is
currently held by the application thread running at the lowest prio.

I see that the timer lock being used is a mutex with priority inheritance
so I would expect that the prio of the application is raised as soon as the
timer-internal thread tries to obtain the mutex.

It might be that it has nothing to do with the mutex, this is just my guess.

Has anybody seen similar issues before?

Best regards,
Ronny

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-01-23 16:45 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 16:26 [Xenomai] [xenomai-forge] timer-internal consume a lot of cpu Ronny Meeus
2014-12-16 17:36 ` Ronny Meeus
2014-12-16 17:58   ` Philippe Gerum
2014-12-16 19:41     ` Ronny Meeus
2014-12-16 20:07       ` Philippe Gerum
2014-12-18  8:00         ` Ronny Meeus
2014-12-18  9:04           ` Jan Kiszka
2014-12-18 12:28             ` Ronny Meeus
2014-12-18 13:35               ` Jan Kiszka
2014-12-18 14:17                 ` Ronny Meeus
2014-12-18 14:12               ` Gilles Chanteperdrix
2014-12-18 14:58                 ` Jan Kiszka
2014-12-18 15:04                   ` Gilles Chanteperdrix
2014-12-18 15:25                     ` Ronny Meeus
2014-12-18 15:30                       ` Gilles Chanteperdrix
2014-12-18 15:35                         ` Jan Kiszka
2014-12-18 15:49                           ` Ronny Meeus
2014-12-18 16:06                             ` Jan Kiszka
2014-12-18 17:21                               ` Ronny Meeus
2014-12-23 17:36                                 ` Ronny Meeus
2015-01-23 16:45                                   ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.