All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Markus.Franke@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] interrupt latencies (irqloop/irqbench)
Date: Mon, 12 Feb 2007 23:44:12 +0100	[thread overview]
Message-ID: <45D0EDBC.5020402@domain.hid> (raw)
In-Reply-To: <45D0E411.4010807@domain.hid>

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

Markus Franke wrote:
> Dear all,
> 
> I am doing some latency benchmarks with irqbench/irqloop.
> Everything works fine with irqloop in testmode (1=user, 2=kernel and
> 3=irq handler) But when trying to start with testmode 4=hard IRQ
> handler, I get the following message:
> 
> ---snip---
> irqloop: error starting test: Resource temporarily unavailable
> ---snap---
> 
> This occurs somewhere when calling:
> 
> 	ioctl(benchdev, RTTST_RTIOC_IRQBENCH_START, &config)
> 
> Any quick suggestions how to solve this problem?

This test mode exploits the I-pipe support for multiple domains
intensively. By default, Xenomai is configured to be the topmost domain
and is optimised for this use case. But it can also be "second-best" and
let someone else be first in the interrupt pipeline - e.g. xeno_irqloop.
To achieve this, switch off CONFIG_XENO_OPT_PIPELINE_HEAD (nucleus
option) and retry the test.

But while watching the (probably) impressive numbers, keep the
restricted usage scenario of such stacked domains in mind. This kind of
super domains lacks any RTOS environment that Xenomai provides. It's
only useful for simple jobs that can be done within an IRQ handler and
do not need an RT-scheduler.

> By the way: I read already the provided document in "txt" folder.
> 

Then there is a bug - in the doc. :)

Jan


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

  reply	other threads:[~2007-02-12 22:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12 22:02 [Xenomai-help] interrupt latencies (irqloop/irqbench) Markus Franke
2007-02-12 22:44 ` Jan Kiszka [this message]
2007-02-12 23:01   ` Markus Franke
2007-02-12 23:13     ` Jan Kiszka

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=45D0EDBC.5020402@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=Markus.Franke@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.