mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* About threaded interrupt handler CPU affinity
@ 2019-07-22 14:14 John Garry
  2019-07-22 14:41 ` Marc Zyngier
  0 siblings, 1 reply; 8+ messages in thread
From: John Garry @ 2019-07-22 14:14 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: bigeasy, maz, chenxiang, linux-kernel

Hi Thomas,

I have a question on commit cbf8699996a6 ("genirq: Let irq thread follow 
the effective hard irq affinity"), if you could kindly check:

Here we set the thread affinity to be the same as the hard interrupt 
affinity. For an arm64 system with GIC ITS, this will be a single CPU, 
the lowest in the interrupt affinity mask. So, in this case, effectively 
the thread will be bound to a single CPU. I think APIC is the same for this.

The commit message describes the problem that we solve here is that the 
thread may become affine to a different CPU to the hard interrupt - does 
it mean that the thread CPU mask could not cover that of the hard 
interrupt? I couldn't follow the reason.

We have experimented with fixing the thread mask to be the same as the 
interrupt mask (we're using managed interrupts), like before, and get a 
significant performance boost at high IO datarates on our storage 
controller - like ~11%.

Thanks in advance,
John


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

end of thread, other threads:[~2019-08-12  8:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22 14:14 About threaded interrupt handler CPU affinity John Garry
2019-07-22 14:41 ` Marc Zyngier
2019-07-22 15:17   ` John Garry
2019-07-22 15:34     ` Thomas Gleixner
2019-07-22 16:08       ` John Garry
2019-07-23 15:29         ` John Garry
2019-08-10  9:47         ` Ming Lei
2019-08-12  8:46           ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®