All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hapke <mah@tzi.de>
To: linux-smp@vger.kernel.org
Subject: Re: interrupt latency
Date: Mon, 22 Jul 2002 02:40:24 +0200	[thread overview]
Message-ID: <200207220240.24904.mah@tzi.de> (raw)
In-Reply-To: <1027196383.16818.16.camel@irongate.swansea.linux.org.uk>

Hello,
thanks for your answer!

I am aware of the fact that this issue depends completely on the equipment 
used, as well on the load of the concerned bus systems etc. I actually need 
some information of that sort to mention in my diploma thesis, so I don't 
have to really quantify the microsconds consumed, although the points listed 
below are still interesting.
It is not so important, whether the latency is about 10 microseconds or 11, I 
only need some approximation and I appreciate any hint.

Thanks,
Mark

> You need a fast timer that sees the IRQ raise and is read in the IRQ
> handler to measure it easily. Be aware that the apic bus is message
> based so the apic worst case times on PIII at least are an order of
> magnitude above average. Furthermore on a PC your instruction fetch for
> the first instruction of the IRQ handler might end up triggering ITLB,
> DTLB fetches which in turn have to fetch a page directory and a page
> table each from main memory and then an additional line fetched for the
> code itself.
>
> If you think that is getting complicated each of the memory accesses may
> in turn collide with other bus traffic (invalidates, memory writes by
> other masters or processors) and so forth.
>
> Your processor might be running at varying speeds (including thermal
> events).
>
> Finally your processor may be stalled on a PCI space access when the IRQ
> arrives. That on some badly behaved graphics cards can push your IRQ
> response up near the millisecond level.
>
> You need to define your entire system very carefully before you can
> answer the question for PC class systems.


  reply	other threads:[~2002-07-22  0:40 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-19 23:55 interrupt latency Mark Hapke
2002-07-20 20:19 ` Alan Cox
2002-07-22  0:40   ` Mark Hapke [this message]
2002-07-22 13:02     ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2019-07-29 17:46 Muni Sekhar
2007-07-06 14:08 Interrupt latency Jayabrata Chakrabarty
2002-10-30 23:50 interrupt latency Keith Adamson
2002-08-27  9:58 Wessler, Siegfried
2002-08-27 14:11 ` Stephen Samuel
2002-08-27 17:16   ` Robert Schwebel
2002-08-27 21:44     ` Stephen Samuel
2002-08-27 17:41 ` Mark Hounschell
2002-08-27 18:01   ` Richard B. Johnson
2002-08-27 19:54     ` yodaiken
2002-08-27 20:44       ` Richard B. Johnson
2002-08-27 20:56         ` yodaiken
2002-08-27 22:47           ` Rogier Wolff
2002-08-28 12:18           ` Richard B. Johnson
2002-08-28 13:41             ` yodaiken
2002-08-28 14:25               ` Jonathan Lundell
2002-08-28 13:53             ` yodaiken
2002-08-28 15:02               ` Richard B. Johnson
2002-08-28 15:19                 ` yodaiken
2002-08-28 15:31                 ` Alan Cox
2002-08-28 15:37                   ` Richard B. Johnson
2002-08-28 16:53                   ` Randy.Dunlap
2002-08-28 12:42         ` Pavel Machek
2002-08-27 18:05 ` Dag Nygren
2002-06-12 18:50 Interrupt Latency Jon Baker
2002-06-12 19:25 ` Dan Malek
2002-06-12 20:16 ` Wolfgang Denk

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=200207220240.24904.mah@tzi.de \
    --to=mah@tzi.de \
    --cc=linux-smp@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 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.