All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] IO-APIC latencies
@ 2012-09-17  6:30 Gilles Chanteperdrix
  2012-09-17  7:43 ` Jan Kiszka
  0 siblings, 1 reply; 40+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-17  6:30 UTC (permalink / raw)
  To: Xenomai


Hi,

looking at x86 latencies, I found that what was taking long on my atom
was masking the fasteoi interrupts at IO-APIC level. So, I experimented
an idea: masking at LAPIC level instead of IO-APIC, by using the "task
priority" register. This seems to improve latencies on my atom:

http://sisyphus.hd.free.fr/~gilles/core-3.4-latencies/atom.png

This implies splitting the LAPIC vectors in a high priority and low
priority sets, the final implementation would use ipipe_enable_irqdesc
to detect a high priority domain, and change the vector at that time.

This also improves the latencies on my old PIII with a VIA chipset, but
it generates spurious interrupts (I do not know if it really is a
matter, as handling a spurious interrupt is still faster than masking an
IO-APIC interrupt), the spurious interrupts in that case are a
documented behaviour of the LAPIC.

Is there any interest in pursuing this idea, or are x86 with slow
IO-APIC the exception more than the rule, or having to split the vector
space appears too great a restriction?

Regards.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2012-09-18  9:36 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17  6:30 [Xenomai] IO-APIC latencies Gilles Chanteperdrix
2012-09-17  7:43 ` Jan Kiszka
2012-09-17  8:07   ` Gilles Chanteperdrix
2012-09-17  8:18     ` Jan Kiszka
2012-09-17  8:32       ` Gilles Chanteperdrix
2012-09-17  9:07         ` Jan Kiszka
2012-09-17  9:29           ` Gilles Chanteperdrix
2012-09-17  9:42             ` Jan Kiszka
2012-09-17 10:00               ` Gilles Chanteperdrix
2012-09-17 10:39                 ` Henri Roosen
2012-09-17 11:14                   ` Gilles Chanteperdrix
2012-09-17 12:15                     ` Henri Roosen
2012-09-17 12:27                       ` Jan Kiszka
2012-09-17 13:46                         ` Gilles Chanteperdrix
2012-09-17 13:54                           ` Jan Kiszka
2012-09-17 14:02                             ` Gilles Chanteperdrix
2012-09-17 14:35                               ` Jan Kiszka
2012-09-17 17:46                                 ` Gilles Chanteperdrix
2012-09-17 18:05                                   ` Jan Kiszka
2012-09-17 18:08                                     ` Gilles Chanteperdrix
2012-09-17 18:12                                       ` Jan Kiszka
2012-09-17 18:13                                         ` Gilles Chanteperdrix
2012-09-17 18:15                                         ` Jan Kiszka
2012-09-17 18:16                                           ` Gilles Chanteperdrix
2012-09-17 18:18                                             ` Jan Kiszka
2012-09-17 18:18                                           ` Gilles Chanteperdrix
2012-09-17 18:22                                             ` Gilles Chanteperdrix
2012-09-17 18:29                                             ` Jan Kiszka
2012-09-17 18:37                                               ` Gilles Chanteperdrix
2012-09-17 18:54                                                 ` Jan Kiszka
2012-09-17 21:50                                                   ` Gilles Chanteperdrix
2012-09-18  8:48                                                     ` Jan Kiszka
2012-09-18  9:06                                                       ` Gilles Chanteperdrix
2012-09-18  9:12                                                         ` Gilles Chanteperdrix
2012-09-18  9:30                                                         ` Jan Kiszka
2012-09-18  9:36                                                           ` Gilles Chanteperdrix
2012-09-17 18:15                                         ` Gilles Chanteperdrix
2012-09-17 12:12                 ` Richard Cochran
2012-09-17 12:21       ` Gilles Chanteperdrix
2012-09-17 12:27         ` Jan Kiszka

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.