All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: "RAKOTOSALAMA, Nirilanto" <NIRILANTO.RAKOTOSALAMA@airbus.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Perfs and rt alarms questions.
Date: Tue, 17 Apr 2007 16:18:06 +0200	[thread overview]
Message-ID: <4624D71E.3040008@domain.hid> (raw)
In-Reply-To: <5C40CD1E4697424ABDE3AC57CF1B22C603221037@domain.hid>

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

RAKOTOSALAMA, Nirilanto wrote:
> Hello everybody.
> 
> I managed to compile a stable kernel (the Scalability O(1) scheduler options seems to make my system freeze)

That's not good. What precisely did you do? Applied the .config you
posted, just enabling CONFIG_XENO_OPT_SCALABLE_SCHED? And what test
case, latency?

> xenomai 2.3.1 and vanilla 2.6.20.4, gcc 4.1.1 on FC6.
> 
> I'm programming and testing a xenomai support for a timer library using rt_alarm. The test program
> lauches the timer periodically and calculate the precision (difference between theoretical and practical results).
> 
> When I launch the latency test, the max latency I have doesn't exceed 10us. So I supposed the precision shouldn't 

Using what load for the system? Keep in mind that unloaded benchmark
numbers are practically meaningless.

> exceed 10 to 20us as well, No ? But sometimes, the precision exceed 30 to 60us. Is it normal ?

Depending on your hardware (CPU, chipset, peripherals), this can be very
well a worst-case latency of the loaded system. Try to capture such a
result with the tracer (you may put your own xntrace_user_freeze() calls
into your timer lib).

> Something wrong in the way I use rt alarms ? in the kernel configuration ?
> 
> I attach : 
> 	- .config
> 	- tests results with overtime with this actual config
> 	- tests results without overtime I had with an old config (unfortunately I cannot restore it). The precision was less than 
> 		8us, I didn't enable xeno debug option. I haven't managed to get such high precision since I recompiled my kernel.
> 	- test program test_stability_trace.c
> 	- xenomai timer library support implementation support_xenomai.c
> 
> Thanks in advance.
> 
> Niry.
> 

Jan


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

  parent reply	other threads:[~2007-04-17 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 14:04 [Xenomai-help] Perfs and rt alarms questions RAKOTOSALAMA, Nirilanto
2007-04-17 14:11 ` Gilles Chanteperdrix
2007-04-17 14:18 ` Jan Kiszka [this message]
2007-04-17 18:26   ` Jan Kiszka
2007-04-17 19:40     ` Philippe Gerum
  -- strict thread matches above, loose matches on Subject: below --
2007-04-17 15:44 RAKOTOSALAMA, Nirilanto
2007-04-17 15:55 ` 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=4624D71E.3040008@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=NIRILANTO.RAKOTOSALAMA@airbus.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.