All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Franz Engel" <franz_lambert_engel@yahoo.de>
To: 'Jan Kiszka' <jan.kiszka@siemens.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] High latency and smi with intel vendor chip
Date: Sat, 22 Jun 2013 13:57:26 +0200	[thread overview]
Message-ID: <000c01ce6f3f$ab320d50$019627f0$@de> (raw)
In-Reply-To: <51C45C6F.9080109@siemens.com>

Franz Engel wrote:
> Jan Kiszkas wrote:
> > Franz Engel wrote:
> > Hi,
> >
> > In my dmesg I get the following message:
> > dmesg | grep -i xeno
> > [    4.478964] I-pipe: head domain Xenomai registered.
> > [    4.494089] Xenomai: hal/x86_64 started.
> > [    4.505969] Xenomai: scheduling class idle registered.
> > [    4.521300] Xenomai: scheduling class rt registered.
> > [    4.538525] Xenomai: real-time nucleus v2.6.2.1 (Day At The Beach)
> loaded.
> > [    4.559065] Xenomai: debug mode enabled.
> > [    4.579351] Xenomai: SMI-enabled chipset found
> > [    4.592628] Xenomai: SMI workaround failed!
> > [    4.605677] Xenomai: starting native API services.
> > [    4.619979] Xenomai: starting POSIX services.
> > [    4.633088] Xenomai: starting RTDM services.
> >
> >
> > And I have very high latencies. I read that I should try to insert my
> the ID of my LCP into the /usr/src/xenomai/ksrc/arch/x86/smi.c file.
> 
> That is no longer true since 2.6.2.1. Xenomai already detects your LPC
> (see above), but the BIOS has apparently locked SMI disabling down.
> 
> In this case, you may want to play with smi_mask (see documentation of
> "SMI_EN - SMI Control and Enable Register" in the Intel chipset
> manuals) to see if disabling of individual SMI features work. If not,
> the board is useless for low-latency real-time purposes.

I found the documentation for my chipset. But I'm not sure with the
interpretation. I think that chapter 13.8.3.11 "SMI_EN-SMI Control and
Enable Register"
(http://www.intel.com/content/dam/doc/datasheet/io-controller-hub-10-family-
datasheet.pdf) is the chapter that descript the options for SMI. But I don't
know how to interpret it. It would be very nice if somebody could look into
and say me how to understand it and how I can use this information to reduce
my latency (if possible).
> 
> Jan
Franz



  reply	other threads:[~2013-06-22 11:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1371808801.4609.xenomai@xenomai.org>
2013-06-21 13:07 ` [Xenomai] High latency and smi with intel vendor chip Franz Engel
2013-06-21 14:00   ` Jan Kiszka
2013-06-22 11:57     ` Franz Engel [this message]
2013-06-24  6:40       ` Jan Kiszka
2013-06-24  7:20         ` Jan Kiszka
2013-06-27 17:26           ` Franz Engel
2013-06-27 18:51             ` Gilles Chanteperdrix
2013-06-27 18:35     ` Gilles Chanteperdrix

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='000c01ce6f3f$ab320d50$019627f0$@de' \
    --to=franz_lambert_engel@yahoo.de \
    --cc=jan.kiszka@siemens.com \
    --cc=xenomai@xenomai.org \
    /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.