All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michel Rinaldi <automation.03@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problems with rt_task_create and rt_task_join
Date: Tue, 25 Jan 2011 14:17:40 +0100 (CET)	[thread overview]
Message-ID: <14122707.101295961457625.JavaMail.SYSTEM@PC-MRINALDI> (raw)
In-Reply-To: <20964580.81295961364859.JavaMail.SYSTEM@PC-MRINALDI>

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


----- Messaggio originale ----- 
Da: "Gilles Chanteperdrix" <gilles.chanteperdrix@xenomai.org> 
A: "Michel Rinaldi" <automation.03@domain.hid> 
Cc: xenomai@xenomai.org
Inviato: Lunedì, 24 gennaio 2011 17:54:51 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna 
Oggetto: Re: [Xenomai-help] Problems with rt_task_create and rt_task_join 


>Ok. Sorry, the rt_sem_p is actually waiting for the semaphore. So, for 
>it to take a long time, the kernel module would have to post it all the 
>time. In the kernel module, you should check rtdm_task_wait_period 
>return value. 
> 
>Anyway, what I said still stands: if we suspect the application of being 
>the culprit, we should try and run a system without this application 
>first. That is, only latency and some non real-time load. 

I run a latency test for about 2 hours, in concomitance with two 
dd if=/dev/zero of=/dev/null 
commands and some sporadic ssh big file transfers. Last row in test output was: 

RTD| 6.546| 7.191| 10.346| 0| 0| 1.101| 29.508 

Maximum latencies was obtained during file transfers. 
With this result I think that I could assert that Xenomai works properly on my system, is right? 

In facts, same test (only without file transfer) under another system with 1GHz Intel Atom on a SCH (Poulsbo) chipset (not supported by Xenomai to disable SMIs) reports these results: 

RTD| 11.353| 13.808| 31.264| 3| 0| 2.934| 231.539 

I think high latencies are due to SMIs. 
By the way, is there a reason why Xenomai does not disable SMIs on SCH chipsets? 
In past I tried to "patch" smi.c file with SCH identifier, but latency test results make worse instead improve. 

Thank you again 
Mauro 

[-- Attachment #2: Type: text/html, Size: 1968 bytes --]

       reply	other threads:[~2011-01-25 13:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20964580.81295961364859.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-25 13:17 ` Michel Rinaldi [this message]
2011-01-25 13:26   ` [Xenomai-help] Problems with rt_task_create and rt_task_join Gilles Chanteperdrix
     [not found] <8701358.01297411757328.JavaMail.SYSTEM@pc-msalvini>
2011-02-11  8:10 ` Mauro Salvini
2011-02-11  9:56   ` Gilles Chanteperdrix
     [not found] <21381658.41297350790328.JavaMail.SYSTEM@pc-msalvini>
2011-02-10 15:20 ` Mauro Salvini
2011-02-10 16:14   ` Gilles Chanteperdrix
     [not found] <29582899.21296203622078.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-28  8:34 ` Michel Rinaldi
2011-01-28 17:43   ` Gilles Chanteperdrix
     [not found] <11269195.111296118370328.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-27  8:58 ` Michel Rinaldi
2011-01-27 13:36   ` Gilles Chanteperdrix
     [not found] <22536578.91295887083468.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-24 16:39 ` Michel Rinaldi
2011-01-24 16:44   ` Gilles Chanteperdrix
2011-01-24 16:54     ` Gilles Chanteperdrix
     [not found] <24653571.21295878006500.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-24 14:07 ` Michel Rinaldi
     [not found] <14515395.201295629170328.JavaMail.SYSTEM@PC-MRINALDI>
2011-01-21 17:01 ` Michel Rinaldi
2011-01-21 17:11   ` Philippe Gerum
2011-01-22 14:26     ` Mauro
2011-01-22 19:14   ` Gilles Chanteperdrix
2011-01-24 14:05     ` Michel Rinaldi
2011-01-24 14:27       ` 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=14122707.101295961457625.JavaMail.SYSTEM@PC-MRINALDI \
    --to=automation.03@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.