From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Peter Bock Subject: Re: IRQ timeout Date: Wed, 9 Sep 2009 14:40:51 +0200 Message-ID: <20090909124051.GA20154@isw.uni-stuttgart.de> References: <20090908122650.GI14282@isw.uni-stuttgart.de> <80ws49y23l.fsf@merkur.tec.linutronix.de> <20090908142726.GJ14282@isw.uni-stuttgart.de> <80bplkr1qz.fsf@merkur.tec.linutronix.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Cc: linux-rt-users@vger.kernel.org, Hans-Peter Bock To: John Ogness Return-path: Received: from isw70.isw.uni-stuttgart.de ([141.58.102.70]:35734 "EHLO mail.isw.uni-stuttgart.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751585AbZIIMku (ORCPT ); Wed, 9 Sep 2009 08:40:50 -0400 Content-Disposition: inline In-Reply-To: <80bplkr1qz.fsf@merkur.tec.linutronix.de> Sender: linux-rt-users-owner@vger.kernel.org List-ID: --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 i= s triggered by uio_sercos3 in the function UsrCb_t3(). > > The system is idle: > > > > 0.01 0.02 0.00 1/114 2374 >=20 > 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 n= ot have much work to do since they were not completely ramped up. Best regards, Hans-Peter --=20 (=B0< Hans-Peter Bock, Dipl.-Ing., http://www.isw.uni-stuttgart.de/ >=B0) (/) ISW - Universit=E4t Stuttgart, Seidenstra=DFe 36, 70174 Stuttgart (\) --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iQEcBAEBAgAGBQJKp6JTAAoJEFsH0RM0g3luKq0H/3/WOcu+NH8syzTkLQKqcpP0 nh46ndIQ4b794ePI680Pzh6sAQE/jhEMdclwDXGhRSMc7k6COBmF54lBL+CRrqsK PJi8k2upFZi55rXnyV8fNAsfrW09lCHcaLY1n3YkC5kxVpKmBHbTQdnK3+3NpVGe y48nXfninbk0ugpPLMmZSi51ciIz0L1gxpzcHpYE3ujCoFZGosq3qc4CnCb0orgC eepB99a4qvo1O4xdmK0NoU05G8NYTpMCcnjoO9/r+Cu4F2+T/Dzbi4kdbJ/tSbt1 nu22z/XQ+KvzDVhgbIw+MFtkngtnRbeRO9i3fBXMQI0NNg+zl312oWFoAr1L2XY= =lr88 -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--