All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Reading /proc/xenomai/stat causes high latencies
@ 2014-04-22 16:02 Jeroen Van den Keybus
  2014-04-23  9:14 ` Jeroen Van den Keybus
  0 siblings, 1 reply; 40+ messages in thread
From: Jeroen Van den Keybus @ 2014-04-22 16:02 UTC (permalink / raw)
  To: xenomai@xenomai.org

Using a 3.10.18 kernel with Xenomai 2.6.3, reading the stat entry of
/proc/xenomai causes high latencies in RT tasks. I've found a report
on a similar issue in
https://sites.google.com/site/manisbutareed/linuxcnc-2-5/xenomai-user-threads.
We also had this occurring on a 3.8.13 kernel.

A typical latency test run looks like:

RTT|  00:00:01  (periodic user-mode task, 100 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst
RTD|     -2.382|     -2.357|     -1.945|       0|     0|     -2.382|     -1.945
RTD|     -2.577|     -2.360|     -1.749|       0|     0|     -2.577|     -1.749
RTD|     -2.380|     -2.360|     -1.865|       0|     0|     -2.577|     -1.749
RTD|     -2.568|     -2.361|     -1.530|       0|     0|     -2.577|     -1.530
RTD|     -2.379|     -2.359|     -1.732|       0|     0|     -2.577|     -1.530
RTD|     -2.381|     -2.361|     -2.008|       0|     0|     -2.577|     -1.530
RTD|     -2.381|     -2.360|     -2.085|       0|     0|     -2.577|     -1.530
RTD|     -2.699|     -2.359|      2.566|       0|     0|     -2.699|      2.566
RTD|     -2.380|     -2.320|     -1.876|       0|     0|     -2.699|      2.566
RTD|     -2.381|     -2.359|      2.528|       0|     0|     -2.699|      2.566
RTD|     -2.380|     -2.360|     -1.805|       0|     0|     -2.699|      2.566
RTD|     -2.579|     -2.311|     -0.045|       0|     0|     -2.699|      2.566
RTD|     -2.380|     -2.359|     -2.072|       0|     0|     -2.699|      2.566
RTD|     -2.575|     -2.360|      2.065|       0|     0|     -2.699|      2.566
RTD|     -2.381|     19.028|   3043.067|      31|     0|     -2.699|   3043.067
RTD|     -2.566|     26.488|    105.823|      32|     0|     -2.699|   3043.067
RTD|     -2.443|     -2.276|      0.597|      32|     0|     -2.699|   3043.067
RTD|     -2.584|     -2.306|      2.032|      32|     0|     -2.699|   3043.067
RTD|     -2.377|     -2.242|      4.106|      32|     0|     -2.699|   3043.067
RTD|     -2.537|     -2.291|      4.394|      32|     0|     -2.699|   3043.067

It is obvious where I issued the 'cat /proc/xenomai/stat' command.

I will try to create an I-trace now. (config is same as under my
previous post 'Slow execution of RT task' - I'm still looking into
that issue as well).


Jeroen.


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

end of thread, other threads:[~2014-09-19 10:51 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 16:02 [Xenomai] Reading /proc/xenomai/stat causes high latencies Jeroen Van den Keybus
2014-04-23  9:14 ` Jeroen Van den Keybus
2014-04-23 13:45   ` Jeroen Van den Keybus
2014-04-23 14:07     ` Gilles Chanteperdrix
2014-04-23 20:54       ` Jeroen Van den Keybus
2014-04-23 20:56         ` Gilles Chanteperdrix
2014-04-23 21:39           ` Jeroen Van den Keybus
2014-04-23 22:25             ` Gilles Chanteperdrix
2014-04-24  8:57               ` Jeroen Van den Keybus
2014-04-24 14:46                 ` Jeroen Van den Keybus
2014-04-25  8:15                   ` Jeroen Van den Keybus
2014-04-25 10:44                     ` Jeroen Van den Keybus
2014-09-09 21:03                       ` Gilles Chanteperdrix
2014-09-10 13:50                         ` Jeroen Van den Keybus
2014-09-10 19:47                           ` Gilles Chanteperdrix
2014-09-11  5:11                         ` Jan Kiszka
2014-09-11  5:19                           ` Jan Kiszka
2014-09-18 11:46                             ` Gilles Chanteperdrix
2014-09-18 11:59                               ` Jan Kiszka
2014-09-18 12:11                                 ` Gilles Chanteperdrix
2014-09-18 12:17                                 ` Gilles Chanteperdrix
2014-09-18 12:20                                   ` Jan Kiszka
2014-09-18 13:05                                     ` Gilles Chanteperdrix
2014-09-18 13:26                                       ` Jan Kiszka
2014-09-18 13:44                                         ` Gilles Chanteperdrix
2014-09-18 16:14                                           ` Jan Kiszka
2014-09-18 16:28                                             ` Gilles Chanteperdrix
2014-09-18 18:39                                               ` Gilles Chanteperdrix
2014-09-18 19:23                                                 ` Jan Kiszka
2014-09-18 19:31                                                   ` Gilles Chanteperdrix
2014-09-18 19:09                                               ` Jan Kiszka
2014-09-18 19:32                                                 ` Gilles Chanteperdrix
2014-09-18 19:56                                                   ` Jan Kiszka
2014-09-18 20:13                                                     ` Gilles Chanteperdrix
2014-09-18 20:21                                 ` Gilles Chanteperdrix
2014-09-19  2:06                                   ` Gilles Chanteperdrix
2014-09-19  5:41                                     ` Jan Kiszka
2014-09-19  7:04                                       ` Philippe Gerum
2014-09-19 10:51                                     ` Gilles Chanteperdrix
2014-09-16 11:09                           ` Gilles Chanteperdrix

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.