From: "Schlägl Manfred jun." <manfred.schlaegl@domain.hid>
To: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Adeos/Xenomai Arm Port
Date: Wed, 18 Oct 2006 17:56:06 +0200 [thread overview]
Message-ID: <1161186966.5093.79.camel@domain.hid> (raw)
In-Reply-To: <453647E6.2050307@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 3198 bytes --]
> >
> > Again Latency:
> >
> > -sh-3.00# time ./run -- -t 1 -p 1000 -T 10
> > *
> > *
> > * Type ^C to stop this application.
> > *
> > *
> > Using /lib/modules/2.6.15.7/kernel/kernel/xenomai/nucleus/xeno_nucleus.ko
> > Using /lib/modules/2.6.15.7/kernel/kernel/xenomai/skins/native/xeno_native.ko
> > Using /lib/modules/2.6.15.7/kernel/kernel/xenomai/skins/rtdm/xeno_rtdm.ko
> > Using /lib/modules/2.6.15.7/kernel/drivers/xenomai/testing/xeno_timerbench.ko
> > == Sampling period: 1000 us
> > == Test mode: in-kernel periodic task
> > == All results in microseconds
> > warming up...
> > RTT| 00:00:01 (in-kernel periodic task, 1000 us period, priority 99)
> > RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
> > worst
> > RTD| 11.680| 16.586| 36.126| 0| 11.680|
> > 36.126
> > RTD| 11.182| 17.092| 43.947| 0| 11.182|
> > 43.947
> > RTD| 11.521| 17.091| 65.411| 0| 11.182|
> > 65.411
> > RTD| 11.981| 17.116| 63.388| 0| 11.182|
> > 65.411
> > RTD| 11.919| 17.121| 66.767| 0| 11.182|
> > 66.767
> > RTD| 12.354| 17.178| 42.996| 0| 11.182|
> > 66.767
> > RTD| 11.884| 17.122| 66.315| 0| 11.182|
> > 66.767
> > RTD| 11.849| 17.132| 65.287| 0| 11.182|
> > 66.767
> > RTD| 11.578| 17.093| 66.824| 0| 11.182|
> > 66.824
> > ---|------------|------------|------------|--------|-------------------------
> > RTS|-1095668.296| 0.001| 93.252| 93340|
> > 00:00:10/00:00:10
>
> Looks like you forgot to recompile the user space part after applying my
> patch. It changes the ABI between the driver and the test tool, so both
> sides have to be in sync.
>
User and Kernel-space are in sync, but i'm using xenomai-2.2.3:
typedef struct rttst_tmbench_config {
int mode;
- uint64_t period;
int priority;
+ uint64_t period;
int warmup_loops;
int histogram_size;
int histogram_bucketsize;
int freeze_max;
} rttst_tmbench_config_t;
RTTST_RTIOC_TMBENCH_START works
but every RTTST_RTIOC_INTERM_BENCH_RES is received by
rt_tmbench_ioctl_nrt (can't handle this request -> -ENOSYS) and
rt_tmbench_ioctl_rt. is this normal?
[42949607.400000] rt_tmbench_ioctl_nrt: request
-1070594560(RTTST_RTIOC_INTERM_BENCH_RES) -> ret = -ENOSYS(-38)
[42949607.410000] rt_tmbench_ioctl_rt -1070594560
I think i should download the latest working copy...
> >
> > real 0m17.730s
> > user 0m0.840s
> > sys 0m5.000s
> > Time is running very slowly while running this test
> > 0m17.730s on target, while 1m6 in reality
> >
>
> Sounds like Linux is not getting (enough) timer IRQs. Check
> /proc/interrupts for progress.
>
I know. That's the Problem. But why? ... Too short periode?
"It's sort of weird."
I'll try to check this tomorrow.
> Jan
>
Manfred
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-10-18 15:56 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 15:16 [Xenomai-help] Adeos/Xenomai Arm Port Schlägl Manfred jun.
2006-10-18 15:27 ` Jan Kiszka
2006-10-18 15:56 ` Schlägl Manfred jun. [this message]
2006-10-19 5:52 ` Jan Kiszka
2006-10-21 12:11 ` Schlägl Manfred jun.
-- strict thread matches above, loose matches on Subject: below --
2006-10-17 15:39 Schlägl Manfred jun.
2006-10-18 7:52 ` Schlägl Manfred jun.
2006-10-18 10:35 ` Jan Kiszka
2006-10-18 12:24 ` Schlägl Manfred jun.
2006-10-18 12:33 ` Jan Kiszka
2006-10-18 12:48 ` Gilles Chanteperdrix
2006-10-21 14:56 ` Schlägl Manfred jun.
2006-10-21 16:44 ` Jan Kiszka
2006-10-25 8:03 ` Schlägl Manfred jun.
2006-10-18 10:25 ` Philippe Gerum
2006-10-18 12:05 ` Gilles Chanteperdrix
2006-10-17 9:23 Schlägl Manfred jun.
2006-10-17 9:37 ` Jan Kiszka
2006-10-16 15:48 Schlägl Manfred jun.
2006-10-16 16:24 ` Jan Kiszka
2006-10-16 18:20 ` Gilles Chanteperdrix
2006-10-16 21:30 ` Philippe Gerum
2006-10-17 8:15 ` Gilles Chanteperdrix
2006-10-17 8:38 ` Gilles Chanteperdrix
2006-10-17 9:54 ` Philippe Gerum
2006-10-17 10:04 ` Philippe Gerum
2006-10-17 12:05 ` 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=1161186966.5093.79.camel@domain.hid \
--to=manfred.schlaegl@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.