From: Philippe Gerum <rpm@xenomai.org>
To: Jakub Nowacki <j.s.nowacki@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai on i7-870
Date: Mon, 20 Jun 2011 18:16:29 +0200 [thread overview]
Message-ID: <1308586589.2119.10.camel@domain.hid> (raw)
In-Reply-To: <4DFF664C.5030504@domain.hid>
On Mon, 2011-06-20 at 16:25 +0100, Jakub Nowacki wrote:
> On 06/20/2011 04:02 PM, Gilles Chanteperdrix wrote:
> > To make proper benchmarks, you should:
> > - let the latency run long
> > - provide some load, you can use the dohell script in xenomai-head to
> > generate the load.
> >
> I've generated a load using 'dd if=/dev/zero of=/dev/null' one for each
> core (8 in total), which is roughly the way how xeno-test does it. The
> test was running for 30 min, which is not very long but I should see the
> long latencies by that time, I think at least.
>
> > That said, having some spikes is not abnormal. The real question is to
> > know whether the latencies your get are sufficient for your application.
> >
> Well, I think it should be OK for peak latencies < 20 us, that is what
> I'm getting now.
>
> >> ioctl(RTTST_RTIOC_SWTEST_CREATE_KTASK): Cannot allocate memory
> >
> > You have to increase CONFIG_XENO_OPT_SYS_STACKPOOLSZ.
> >
> It is 128 Kb now. Should it be more? Is there any (thumb) rule for this
> value?
Max # of concurrent kernel-based Xenomai threads x stack_size. 8k stack
minimum is a safe bet for x86_64.
Typically, RTDM (driver) tasks in kernel space are Xenomai ones, so you
would need to reserve stack space for each of them in this amount.
The switchtest driver is RTDM-based, and may run a number of RTDM tasks,
depending on the test scenario.
>
> Best wishes,
>
> Jakub
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2011-06-20 16:16 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 9:18 [Xenomai-help] Xenomai on i7-870 Jakub Nowacki
2011-06-16 10:37 ` Gilles Chanteperdrix
2011-06-17 14:05 ` Jakub Nowacki
2011-06-17 19:00 ` Gilles Chanteperdrix
2011-06-17 19:44 ` Gilles Chanteperdrix
2011-06-17 19:52 ` Jakub Nowacki
2011-06-18 15:17 ` Gilles Chanteperdrix
2011-06-20 14:34 ` Jakub Nowacki
2011-06-20 15:02 ` Gilles Chanteperdrix
2011-06-20 15:25 ` Jakub Nowacki
2011-06-20 16:16 ` Philippe Gerum [this message]
2011-06-20 17:34 ` Gilles Chanteperdrix
2011-06-20 21:30 ` Jakub Nowacki
2011-06-20 22:54 ` [Xenomai-help] Xenomai beagleboard xm ethernet not working David Wiebe
2011-06-21 6:54 ` Gilles Chanteperdrix
2011-06-21 8:18 ` David Wiebe
2011-06-21 8:38 ` [Xenomai-help] Xenomai beagleboard xm ethernet working! David Wiebe
2011-06-21 10:37 ` Gilles Chanteperdrix
2011-06-20 17:43 ` [Xenomai-help] Xenomai on i7-870 Gilles Chanteperdrix
2011-06-17 19:48 ` Jakub Nowacki
-- strict thread matches above, loose matches on Subject: below --
2011-06-16 9:19 Jakub Nowacki
2011-06-13 10:44 Jakub Nowacki
2011-06-13 17:43 ` Gilles Chanteperdrix
2011-06-13 19:06 ` Jakub Nowacki
2011-06-14 5:58 ` Jan Kiszka
2011-06-14 11:18 ` Jakub Nowacki
2011-06-14 11:30 ` Jan Kiszka
2011-06-15 16:21 ` Jakub Nowacki
2011-06-15 16:51 ` Gilles Chanteperdrix
2011-06-15 20:43 ` Jakub Nowacki
2011-06-16 7:01 ` Gilles Chanteperdrix
2011-06-16 8:52 ` Pavel Machek
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=1308586589.2119.10.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=j.s.nowacki@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.