public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans-Peter Bock <Hans-Peter.Bock@isw.uni-stuttgart.de>
To: John Ogness <john.ogness@linutronix.de>
Cc: linux-rt-users@vger.kernel.org,
	Hans-Peter Bock <Hans-Peter.Bock@isw.uni-stuttgart.de>
Subject: Re: IRQ timeout
Date: Wed, 9 Sep 2009 14:40:51 +0200	[thread overview]
Message-ID: <20090909124051.GA20154@isw.uni-stuttgart.de> (raw)
In-Reply-To: <80bplkr1qz.fsf@merkur.tec.linutronix.de>

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

Hello John,

how can I change the rt priority of a running process?


> >> 3. How many interrupts per second (approx.) are being generated by
> >>    the Sercos hardware while your application is running?
> >>    $ cat /proc/interrupts; sleep 1; cat /proc/interrupts
> ...
> Indeed. There are also over 500 timer interrupts per second, so I assume
> that your non-UIO geos thread is using a 2ms timer to perform the sercos
> driver duties.

There is no timer, the geos thread sleeps on a conditional variable which is triggered by uio_sercos3 in the function UsrCb_t3().


> > The system is idle:
> >
> > 0.01 0.02 0.00 1/114 2374
> 
> Was this after the application was running for a few minutes? This
> surprises me because the reported error implies that the network isn't
> getting properly scheduled.

The system actually is idle. The geos thread and the other CNC threads do not have much work to do since they were not completely ramped up.


Best regards, Hans-Peter
-- 
(°< Hans-Peter Bock, Dipl.-Ing., http://www.isw.uni-stuttgart.de/ >°)
(/) ISW - Universität Stuttgart, Seidenstraße 36, 70174 Stuttgart (\)

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2009-09-09 12:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08 12:26 IRQ timeout Hans-Peter Bock
2009-09-08 13:53 ` John Ogness
2009-09-08 14:27   ` Hans-Peter Bock
2009-09-09  7:55     ` John Ogness
2009-09-09 12:40       ` Hans-Peter Bock [this message]
2009-09-09 12:48         ` Gregory Haskins

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=20090909124051.GA20154@isw.uni-stuttgart.de \
    --to=hans-peter.bock@isw.uni-stuttgart.de \
    --cc=john.ogness@linutronix.de \
    --cc=linux-rt-users@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox