All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai latency tests on various PowerPC boards
Date: Tue, 18 Oct 2005 20:14:44 +0200	[thread overview]
Message-ID: <43553B94.4070801@domain.hid> (raw)
In-Reply-To: <4354E6A3.2010500@domain.hid>

Wolfgang Grandegger wrote:
> On 10/18/2005 01:44 PM Philippe Gerum wrote:
> 
>>Philippe Gerum wrote:
>>
>>>Wolfgang Grandegger wrote:
>>>
>>>
>>>>Hallo,
>>>>
>>>>attached you will find the results of Xemonai latency measurements on
>>>>various embedded PowerPC boards using MPC 8xx and AMCC 4xx processors,
>>>>from low to high end covering a worst case latency range from 25 to 225
>>>>us. It also includes a comparison with RTAI 3.0r5 on the slowest CPU.
>>>>Here are some remarks and comments:
>>>>
>>>>- On low-end processor code size matters a lot and it's difficult to
>>>>  beat RTAI/RTHAL.
>>>>
>>>
>>>Beat no, get closer, yes, probably. The good news is that looking at the 
>>>figures, we do have a margin of improvement! :o>
>>>
>>>Btw, the nucleus can be configured so that the user-space threading 
>>>engine is compiled out (i.e. CONFIG_XENO_OPT_PERVASIVE from the nucleus 
>>>menu), which would be the corresponding profile to compare with klatency 
>>>(i.e. sched_up). Disabling this option reduces the code size for the 
>>>nucleus from:
>>>
>>>   text       data        bss        dec        hex    filename
>>>  66740        792       6540      74072      12158    
>>>nucleus/xeno_nucleus.ko
>>>
>>>to:
>>>
>>>  text       data        bss        dec        hex    filename
>>>  52596        576       3956      57128       df28    
>>>nucleus/xeno_nucleus.ko
>>>
>>
>>Disabling the periodic timer support which is unused for the klatency test 
>>brings this down to:
>>
>>    text	   data	    bss	    dec	    hex	filename
>>   51040	    544	   3956	  55540	   d8f4	nucleus/xeno_nucleus.ko
> 
> 
> OK, here are the new figures with (*)
> 
>  CONFIG_XENO_OPT_PERVASIVE is not set
>  CONFIG_XENO_HW_PERIODIC_TIMER is not set:
> 
>            |-----lat min|-----lat avg|-----lat max|-overrun|---test-time
> RTAI 3.0r5 |       23120|       31838|       70520|       ?|    00:12:26
> Xenomai    |       50560|       98976|      199040|       0|    00:09:45
> Xenomai (*)|       44160|       96215|      200640|       0|    00:09:53
> 
> The min latency decreases as expected.
> 

I just discovered that -00 did not include some recent changes I had in my tree, 
aimed at prevent high latencies during fork pressure. I've committed -01 which 
does include them. When time allows, I'd be interested to know if this has some 
impact on the Ocotea figures. TIA,

-- 

Philippe.


  parent reply	other threads:[~2005-10-18 18:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18  9:30 [Xenomai-core] Xenomai latency tests on various PowerPC boards Wolfgang Grandegger
2005-10-18 11:23 ` Philippe Gerum
2005-10-18 11:44   ` Philippe Gerum
2005-10-18 12:12     ` Wolfgang Grandegger
2005-10-18 12:21       ` Philippe Gerum
2005-10-18 18:14       ` Philippe Gerum [this message]
2005-10-19  8:35         ` Wolfgang Grandegger
2005-10-19 10:56           ` Philippe Gerum

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=43553B94.4070801@domain.hid \
    --to=rpm@xenomai.org \
    --cc=wg@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.