All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: roland Tollenaar <rolandtollenaar@domain.hid>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] Latencies due to RT-Socket-CAN register accesses
Date: Mon, 23 Apr 2007 20:28:32 +0200	[thread overview]
Message-ID: <17964.64208.463335.611234@domain.hid> (raw)
In-Reply-To: <bc4264770704230809i9f9c554k14d67007b828971d@domain.hid>

roland Tollenaar wrote:
 > Hi Wolfgang, Gilles, Stephane
 > 
 > In the intrim I have checked for latency killers and have found
 > nothing. I have a faster machine than you have posted the poerformance
 > of below yet I have substantially worse latencies.
 > 
 > Attached is my config file if you care to look at it.
 > 
 > One point may be USB. I am using usb pen drives and have seen in one
 > of the threads that USB (even if not used?) is considered a latency
 > killer.
 > 
 > Gilles suggested also to turn off the debug features but they were
 > turned off already AFAIK.
 > 
 > Sorry for the delay, I have not been able to work on this project for a while.
 > 
 > Ah and I have updated to 2.3.1 today, no problems but also no
 > improvement on the latency unfortunately. Just to eliminate that
 > point.

The latency killers:
- SMI: check dmesg to see if you get a warning saying that an
  SMI-enabled chipset was detected. If yes, read the TROUBLESHOOTING. If
  no, and you have a fairly recent Intel chipset, then we probably need
  to add support for your chipset to the SMI workaround module, send us
  the result of lspci -vv.
- USB: disable legacy USB in BIOS configuration, sometimes it is not
  enough, and you have to _enable_ USB in kernel configuration, and load
  the USB modules (that is at least uhci-hcd, ohci-hcd, ehci-hcd and
  usbcore) so that they disable BIOS legacy USB emulation.
- X-window: if you see high latencies only when the X server is running,
  the X-server is probably causing them. A workaround is proposed in the
  TROUBLESHOOTING file.

In case all that fails, enable the I-pipe tracer, run latency with the
-f option, and check /proc/ipipe/trace/frozen once you observed the high
latency in latency.

-- 


					    Gilles Chanteperdrix.


  reply	other threads:[~2007-04-23 18:28 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-13 10:52 [Xenomai-help] Latencies due to RT-Socket-CAN register accesses Wolfgang Grandegger
2007-03-13 13:16 ` [Xenomai-help] " Roland Tollenaar
2007-03-13 13:29   ` Wolfgang Grandegger
2007-03-13 13:41     ` Roland Tollenaar
2007-03-13 14:06       ` Wolfgang Grandegger
2007-03-14  9:33       ` Wolfgang Grandegger
2007-03-28 17:05       ` roland Tollenaar
2007-03-28 18:50         ` Wolfgang Grandegger
2007-03-29  2:17           ` Roland Tollenaar
2007-03-29  8:38             ` Stéphane ANCELOT
2007-03-29  8:59             ` Wolfgang Grandegger
2007-03-29 16:44               ` Roland Tollenaar
2007-03-29 18:51                 ` Gilles Chanteperdrix
2007-03-29 18:59                 ` Wolfgang Grandegger
2007-04-23 15:09                   ` [Xenomai-help] " roland Tollenaar
2007-04-23 18:28                     ` Gilles Chanteperdrix [this message]
2007-04-24  8:44                       ` roland Tollenaar
2007-04-24  8:56                         ` Gilles Chanteperdrix
2007-04-24 10:27                           ` roland Tollenaar
2007-04-24 10:27                             ` roland Tollenaar
2007-04-24 12:57                               ` Gilles Chanteperdrix
2007-04-24 18:36                                 ` roland Tollenaar
2007-04-24  9:05                         ` Jan Kiszka
2007-04-24 10:31                           ` roland Tollenaar
2007-04-24 10:51                             ` Jan Kiszka
2007-04-24 12:14                               ` roland Tollenaar
2007-04-24 12:32                                 ` Jan Kiszka
2007-04-24 10:57                             ` Wolfgang Grandegger
2007-04-24 11:00                               ` Jan Kiszka
2007-04-24 12:17                               ` roland Tollenaar
2007-04-24 12:19                                 ` roland Tollenaar
2007-04-24 12:44                                   ` Wolfgang Grandegger
2007-04-25  9:04                     ` Stéphane ANCELOT
2007-04-25 11:02                       ` Roland Tollenaar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17964.64208.463335.611234@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=Xenomai-help@domain.hid \
    --cc=rolandtollenaar@domain.hid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.