All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theo Veenker <Theo.Veenker@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: [Xenomai-help] Re: high latency every 8 seconds
Date: Wed, 07 Mar 2007 12:48:44 +0100	[thread overview]
Message-ID: <45EEA69C.3090508@domain.hid> (raw)
In-Reply-To: <45E48E50.1030502@domain.hid>

Jan Kiszka wrote:
> Theo Veenker wrote:
> 
>>Jan Kiszka wrote:
>>
>>>Theo Veenker wrote:
>>>
>>>>Hi all,
>>>>
>>>>I'm installing xenomai 2.2.5 (kernel 2.6.17.14) on a number of
>>>
>>>When starting new, pick something new, i.e. 2.3 right now. Only if
> 
> you
> 
>>>have good reasons, staying at older versions is recommended.
>>
>>I would love to, but I couldn't get my software running with 2.3.
>>I had to convert (a month ago) my software from RTLinux to Xenomai
>>having only a few days for it. I have a kernel module and an app
>>that talks to it. I use the posix skin. But with 2.3 apparently
>>I had to load posixio and something (forgot) manually, but I just
>>couldn't get these loaded. Since time was running out I decided
>>to stay with 2.2.5 for the time being (unfortunately).
> 
> 
> I do understand. But once your time constraints relaxed a bit, please
> don't forget to post remaining issues here. Maybe they reveal some real
> bug.
> 
> 
>>>>systems (MSI 945P, Intel P4 3Ghz). My kernel runs fine on several
>>>>other/older systems, but on the new systems there is something going
>>>>on every 8 seconds. See output of latency test below. What could
>>>>this be? Is this an SMI effect?
>>>
>>>Is CONFIG_XENO_HW_SMI_WORKAROUND selected? What does the kernel
> 
> output
> 
>>>tell you about if it's working? Do you have an ICH7 chipset on your
>>>board? Would be another reason to update Xenomai (2.3 takes care of
> 
> it,
> 
>>>2.2.x doesn't)... :)
>>>
>>>If this all doesn't help, have a look at this tool:
>>>
>>>http://www.xenomai.org/index.php/I-pipe:Tracer
>>>
>>>In any case, please give a feedback on the outcome.
>>
>>Thanks. I will.


My problems have been solved. First I did Ulich's fix to enable SMI
detect/workaround for ICH7 on 2.2.5. That worked fine. All devices
continue to work and no more SMI induced latencies.

Then I tried Xenomai 2.3.0 again to find out why I couldn't get that
going some time ago. Gilles reported that if I user shared memory then
I should enable shared memory for the posix api. My first thought was,
"duh of course I have enabled that, I'm not stupid". Guess what? I AM
stupid! Now everything works on all systems.

Thanks everybody.

Theo





  parent reply	other threads:[~2007-03-07 11:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 17:03 [Xenomai-help] high latency every 8 seconds Theo Veenker
2007-02-27 17:41 ` [Xenomai-help] " Jan Kiszka
2007-02-27 19:23   ` Theo Veenker
2007-02-27 20:02     ` Jan Kiszka
2007-03-06 10:32       ` Theo Veenker
2007-03-06 11:34         ` Ulrich Schwab
2007-03-06 12:09           ` Theo Veenker
2007-03-07 11:48       ` Theo Veenker [this message]
2007-02-28  0:09     ` Gilles Chanteperdrix
2007-02-28 11:56       ` Theo Veenker
2007-02-28 15:10         ` Gilles Chanteperdrix
2007-02-27 17:46 ` [Xenomai-help] " 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=45EEA69C.3090508@domain.hid \
    --to=theo.veenker@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --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.