From: Jan Kiszka <jan.kiszka@domain.hid>
To: Lauener Nathan <Nathan.Lauener@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] CPU load over 90%
Date: Mon, 15 May 2006 14:01:31 +0200 [thread overview]
Message-ID: <44686D9B.2010509@domain.hid> (raw)
In-Reply-To: <AD78122AD7C05B4B936EBAD7F49738C0AB2B3D@square.bfh.ch>
[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]
Lauener Nathan wrote:
> Hi,
> I am using Xenomai to read data from different sensors in real time from
> user space. So far I am reading position data from a device attached to
> a serial port. The CPU load is at about 1%. I also have a
> microcontroller attached via USB to read encoder data. The USB device is
> a USB-to-serial converter. As soon as I open the (USB-)serial port with
> normal systemcalls and read the incoming data my CPU load skyrockets to
> over 90%. I only read about 30 bytes every 100ms.
> I ran the application on a much newer computer also to rule out any
> buggy hardware. The results stayed the same. Intensively searching the
> mailing list and provided documentation have not helped solve the
> problem.
> I'm using Xenomai 2.1.0 with kernel 2.6.15.6. Xenomai is compiled into
> the kernel. I also use the driver xeno_16550A loaded as module. The
> USB-to-serial bridge used is a CP2101 from Silabs.
Is there any IRQ conflict between the USB host controller and some
RT-device? Please check /proc/interrupts and /proc/xenomai/irq.
Which process is consuming your CPU time? At system or at user level?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-05-15 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 10:07 [Xenomai-help] CPU load over 90% Lauener Nathan
2006-05-15 12:01 ` Jan Kiszka [this message]
2006-05-16 12:41 ` [Xenomai-help] CPU load over 90%[Scanned] Nathan Lauener
2006-05-16 12:52 ` Jan Kiszka
2006-05-17 9:21 ` Nathan Lauener
2006-05-17 10:56 ` Jan Kiszka
2006-05-22 11:37 ` Nathan Lauener
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=44686D9B.2010509@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Nathan.Lauener@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.