From: Der Herr Hofrat Message-Id: <200403120744.i2C7iI725496@domain.hid> Subject: Re: [Adeos-main] 260 uSec latency and no idea why In-Reply-To: <200403120422.44317.roloff@domain.hid> from Dirk Roloff at "Mar 12, 2004 04:22:44 am" Date: Fri, 12 Mar 2004 08:44:17 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: adeos-main-admin@domain.hid Errors-To: adeos-main-admin@domain.hid List-Help: List-Post: List-Subscribe: , List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: To: Dirk Roloff Cc: adeos-main@gna.org > Am Donnerstag, 11. M=E4rz 2004 20:04 schrieb Paolo Mantegazza: >=20 > Hi Paolo, >=20 > > Dirk Roloff wrote: > > Have you tried using rt_get_cpu_time_ns to avoid mixing up with Linux > > stuff?=20 >=20 >=20 > No i don't because i am not using rtai. I "just" use an adeos patched k= ernel. > But i changed the do_gettimeofday() by a rdtsc call. I dont want to kno= w the time, > just the time elapsed. So i dont need the time calculation done by do_g= ettimeofday() > and i avoid mixing stuff. But the results are the same. :-( >=20 > >Have you checkd the interrupt level acknolwdge jitter/latency using > > the calibration tool available in RTAI? >=20 > again - no rtai >=20 > > Can you change your code so that it can be used anywhere? In such a c= ase > > it would be simple to run it on a safe machine (e.g. mine) and see if= it > > can be repeated, or is machine specific (yours). >=20 > Yes but it will not help a lot. I can't see such a latency on other mac= hines. > f.e. on my Box here at home 7-17 MicroSec in the adeos domain. > And i try stressing the Box- but its a complete different h/ware. >=20 > So it must be the celeron box or some kernel/compiler settings on it. >=20 > But what is able to delay the delivery of an interrupt if there is no o= ne=20 > calling cli or masking irq's (Both is prohibited by adeos isn't it ?) It is a software layer - no hardware prhibiting this - so if you have a X-server doing cli/sti in the driver or a binary driver that does somthing like that - they adeos can't stop it. >=20 > One thing would be waking a suspended cpu - but i disabled APM. > Someone told me Intel SpeedStep switching the mode will take hundrets o= f MicroSecs > but i didn't find what this is yet. Have to google some more. >a could you run the test code in the adeos cvs repository and send me the numbers ? hofrat=20