From: Wolfgang Grandegger <wg@domain.hid>
To: Everett Wang <everteq@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM rs232 strange behavior
Date: Wed, 09 Jun 2010 08:19:43 +0200 [thread overview]
Message-ID: <4C0F327F.8020900@domain.hid> (raw)
In-Reply-To: <AANLkTil10j3uoPdVXmgE8kIPrMQRSAArQB5gz3swDruD@mail.gmail.com>
On 06/05/2010 04:22 AM, Everett Wang wrote:
> Hi All,
>
> I am playing around with xenomai and RTDM serial driver on a
> 1.7Ghz Pentium-M machine running xenomai 2.5.3. The example cross-link
> produced this result:
>
> main : starting read-task
> Nr | write->irq | irq->read | write->read |
> -----------------------------------------------------------
> 0 | 118948 | 614135 | 733083
> 1 | 115598 | 614281 | 729879
> 2 | 108917 | 614982 | 723899
> 3 | 106101 | 616560 | 722661
> 4 | 113457 | 614971 | 728428
> 5 | 110358 | 614265 | 724623
> 6 | 106499 | 614406 | 720905
> 7 | 110363 | 615015 | 725378
> 8 | 115478 | 614840 | 730318
> 9 | 110766 | 614168 | 724934
> 10 | 108986 | 616435 | 725421
> 11 | 108030 | 614299 | 722329
> 12 | 109369 | 614420 | 723789
> 13 | 105862 | 614456 | 720318
> 14 | 110428 | 616301 | 726729
>
> Is 0.7 millisecond between write and read a reasonable number?
I just ran this test on my PC and got similar results. The figures are
in *nanoseconds*. And yes, stupid me, 0.7 *milli-seconds* is a resonable
number for 115200: (2 * 4 bytes * 10 bits-per-byte) / 115200 bits/sec.
Wolfgang.
prev parent reply other threads:[~2010-06-09 6:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-05 2:22 [Xenomai-help] RTDM rs232 strange behavior Everett Wang
2010-06-07 8:05 ` Wolfgang Grandegger
2010-06-07 12:07 ` Everett Wang
2010-06-07 13:17 ` Wolfgang Grandegger
2010-06-08 1:32 ` Everett Wang
2010-06-08 2:46 ` Everett Wang
2010-06-09 6:19 ` Wolfgang Grandegger [this message]
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=4C0F327F.8020900@domain.hid \
--to=wg@domain.hid \
--cc=everteq@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.