All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	CAMUS Benoit <benoit.camus@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Latencies while ethernet access
Date: Fri, 04 May 2007 18:24:07 +0200	[thread overview]
Message-ID: <463B5E27.7050408@domain.hid> (raw)
In-Reply-To: <463B086B.6060402@domain.hid>

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

Gilles Chanteperdrix wrote:
> CAMUS Benoit wrote:
>> Hi,
>>
>> I'm using Xenomai 2.3.1 with a 2.6.19.2 kernel (from ELDK) on a custom
>> board based on Xscale PXA processor and with smc91c111 ethernet chip. 
>> I did modifications on Linux kernel to port it on board and then just
>> applied Adeos's patch following Xenomai's proceedings.
>> Http and telnet servers are running on and i notice that latencies get
>> really worse while i access any of them (see traces below).
>>
>> I understood that Adeos might avoid that kind of behavior due to its
>> architecture. So i infer that the ethernet driver might access the
>> hardware by-passing Adeos ?
> 
> Despite Adeos architecture, latency with Xenomai is known to depend on
> the non real-time workload, because there are some low-level ressources
> such as busses and processor cache that the real-time and non real-time
> processes need to share.

Such effects can often be analysed with... the latency tracer [1]!

When some hardware interaction shows up right before the delayed timer
(or whatever RT-)IRQ, Xenomai cannot help. But if there is something
else, more fishy going on, you will see long interrupts-off sections,
weird scheduling decisions, etc. Then our job starts again.

Jan

[1] http://www.xenomai.org/index.php/I-pipe:Tracer


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

  reply	other threads:[~2007-05-04 16:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04  8:40 [Xenomai-help] Latencies while ethernet access CAMUS Benoit
2007-05-04 10:18 ` Gilles Chanteperdrix
2007-05-04 16:24   ` Jan Kiszka [this message]
2007-05-14 10:09     ` CAMUS Benoit
2007-05-14 10:28       ` Jan Kiszka
2007-05-14 16:03         ` Jan Kiszka
2007-05-14 16:12           ` Gilles Chanteperdrix
2007-05-04 10:26 ` Gilles Chanteperdrix
     [not found]   ` <1178287470.22169.9.camel@domain.hid>
2007-05-04 16:06     ` Gilles Chanteperdrix
2007-05-04 16:12       ` 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=463B5E27.7050408@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=benoit.camus@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.