All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Julien Heyman <bidsonux@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Beginner's question / testsuite / latency
Date: Thu, 20 Jul 2006 23:58:11 +0200	[thread overview]
Message-ID: <44BFFC73.9080603@domain.hid> (raw)
In-Reply-To: <442248c90607201417m24729b7cs23a8b82b719ff1cc@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 2137 bytes --]

Julien Heyman wrote:
> Hi,
> 
> I am currently trying to evaluate Xenomai, and my current setup is :
> VIA C3 533Mhz processor, Kubuntu 6.06 Linux distribution.
> I am using Xenomai-2.1.0 over a 2.6.17.4 kernel.

General advice: especially when starting new, try to pick the latest
version, at least the latest from the preferred series (here 2.1.2). But
2.2 is even better. :)

> When I run the latency part of the testsuite (in a console under KDE), I
> get
> results that I cannot understand, so I probably did something wrong
> (execution trace included below).
> I get reasonable values during the first seconds, then all of a sudden
> latencies begin to rise, continuously, to very large values.
> - I did check that DMA transfer is activated on my HD.
> - I did select "Enable SMI workaround" + "Globally disable SMI" in the
> Xenomai
> options while configuring the kernel.
> - I have disabled power management at BIOS level and disabled ACPI support
> and
> CPU frequency scaling during kernel configuration.
> - I checked that I don't have anything called "legacy USB" in my BIOS. I do
> have an "OnChip USB" option enable in the BIOS though.
> 
> Any advice would be appreciated !

Maybe it's related to some other weird on-chip hardware. At work we run
Xenomai only on a head-less VIA C3 box, i.e. without X. No problems so
far. I would suggest to try stopping X and run the test from the text mode.

A further tool to analyse such effects in details is the I-pipe tracer.
It's an additional patch you have to apply to your kernel (see
http://download.gna.org/adeos/patches/v2.6/i386/tracer). Enable this
I-pipe option, rebuild your kernel, and start the latency test with -f.
The test will then capture on every new worst-case delay a backtrace to
/proc/ipipe/trace/frozen. You may want to play with the number of
back-trace points or the verbose mode (see /proc/ipipe/trace/*) even
after the capturing.

Unless you find something obvious immediately, feel free to post a
backtrace that includes the problematic delay period before the freeze
(compress when too large).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2006-07-20 21:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 21:17 [Xenomai-help] Beginner's question / testsuite / latency Julien Heyman
2006-07-20 21:58 ` Jan Kiszka [this message]
2006-07-22  9:52   ` Julien Heyman
2006-07-22 17:17     ` Jan Kiszka
2006-07-28 21:17       ` Julien Heyman
2006-07-28 21:32         ` Gilles Chanteperdrix
2006-07-30 17:29           ` Julien Heyman
2006-07-30 17:49             ` Philippe Gerum
2006-07-30 20:39             ` Gilles Chanteperdrix
2006-07-29 14:20         ` Jan Kiszka
2006-07-30 17:36           ` Julien Heyman
2006-07-30 18:03           ` Philippe Gerum
2006-07-30 19:33             ` Jan Kiszka
2006-07-30 20:03               ` Gilles Chanteperdrix
2006-07-30 22:00                 ` Jan Kiszka
2006-07-30 21:23               ` Philippe Gerum
2006-07-30 22:00                 ` Jan Kiszka
2006-07-31  9:57                   ` Philippe Gerum
2006-07-31 11:39                 ` Gilles Chanteperdrix
2006-07-31 14:19                   ` Philippe Gerum
2006-07-31 20:49                     ` Julien Heyman
2006-08-01 13:13                       ` Gilles Chanteperdrix
2006-08-01 13:38                         ` Philippe Gerum
2006-08-01 14:30                     ` Philippe Gerum
2006-08-01 14:45                       ` [Xenomai-core] [RFC] tame the watchdog (was: Beginner's question / testsuite / latency) Jan Kiszka
2006-08-02  8:52                         ` [Xenomai-core] " Philippe Gerum
2006-08-02 11:04                           ` [Xenomai-core] Re: [RFC] tame the watchdog Jan Kiszka
2006-07-21 13:25 ` [Xenomai-help] Beginner's question / testsuite / latency Gilles Chanteperdrix
2006-07-22  9:58   ` Julien Heyman

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=44BFFC73.9080603@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=bidsonux@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.