All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: robert165 <robert165@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] test result on at91rm9200
Date: Tue, 29 Dec 2009 15:31:20 +0100	[thread overview]
Message-ID: <4B3A12B8.9030902@domain.hid> (raw)
In-Reply-To: <27741962.171501262064832984.JavaMail.coremail@domain.hid>

robert165 wrote:
> 
> 
> 
> 在2009-12-28,"Gilles Chanteperdrix" <gilles.chanteperdrix@domain.hid> 写道:
>>robert165 wrote:
>>> Hi,
>>> I have tested xenomai on my at91rm9200 board, I used
>>> xenomai 2.4.10 + linux-2.6.28 + adeos-ipipe-2.6.28-arm-1.12-05.patch
>>> Test result seems very poor, is that correct?
>>
>>Your test results are rather good for an at91rm9200 board, which is the
>>sure sign that you are not loading the system enough.
>>
>>As I already told, you, the expected results are:
>>- user-space latency of 260us without FCSE
>>- user-space latency of 200us with FCSE
>>- kernel-space latency of 50us if running with unlocked context switches
>>(an option which is only available in the upcoming 2.5 branch).
>>
>>> And is there any introduction of the tests, as their purper, their
>>> meanling...
>>
>>The latency test computes some latencies (either user-space scheduling
>>latency, kernel-space scheduling latency, or kernel-space interrupt
>>latency, depending on the options). The switchtest tests context
>>switches. The switchbench measures context switching time. cyclictest
>>does the same thing as the latency test (only, you need to run it with
>>the right options to avoid running in fact with Linux timer), and in
>>general return similar results. Here I do not know what is the meaning
>>of cyclictest results you got, but if you want to know, I am afraid you
>>wil have to investigate, or simply ignore them.
>>
> 
> Thanks for your introdution, and is there any document of it. 
> The man pages just explain  parametres  of test scripts.  I could
> not understand the output of some test.

No there is no document. But patches are welcome, as usual. As far as I
can tell, I explained you what the tests do, there is not much more to
tell. Which test's output did you not understand?

> 
>>> 
>>> Test is under loads as followed,
>>>     dd if=/dev/zero of=/dev/null > /dev/null &
>>>     ping 172.18.23.10 > /dev/null &
>>>     while ls; do ls; done > /dev/null &
>>
>>This load is laughable. Do you find that they really stress the system,
>>that they make it really unresponsive? Do you really expect a test which
>>sends one packet every second over network to stress the system in some
>>way? That is what I meant when I said hammering the system real hard.
> 
> The reason I procuce the load is: 
> https://mail.gna.org/public/xenomai-help/2008-01/msg00023.html
> How can I produce a real hard load. Are there any direction about it.

The mail you are refering to is using ping -f, not ping, and talks about
stressing cache by running the cache calibrator. The way we do our tests
evolved a bit since then. We use netcat instead of ping -f, and the
hackbench test to stress the linux scheduler. That is when FCSE is
enabled in guaranteed mode. Without FCSE, we use ltp (the linux testing
project) and netcat.

-- 
					    Gilles.



  reply	other threads:[~2009-12-29 14:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-27 16:50 [Xenomai-help] test result on at91rm9200 robert165
2009-12-27 17:48 ` Gilles Chanteperdrix
2009-12-29  5:33   ` robert165
2009-12-29 14:31     ` Gilles Chanteperdrix [this message]
2009-12-29 16:32       ` robert165
2009-12-29 16:39         ` Gilles Chanteperdrix
2009-12-29 16:47           ` robert165

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=4B3A12B8.9030902@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=robert165@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.