Skip to contentSkip to conversation

Soft interrupt in multi-core environment

DISCUSSION J.Hwan Kim 2 participants 2 messages Aug 26, 2011

lore
Share & tools
lore

J.Hwan Kim

author
#0 lore raw

Hi, everyone

When network card interrupts occur in multi-core system, what core is used by soft irq for network interrupts?
That is, for example, if the IRQ happens in core 0,
does the soft irq run on the same core ?
Is it possible for soft irq to use other core different from hard IRQ?

Thanks in advance.

Best Regards,
J.Hwan Kim

#1 lore raw

Hi Kim...

Quoted 6 lines · J.Hwan Kim

Hi, everyonehttp://forum.detik.com/mundur-ini-dia-isi-surat-resign-steve-jobs-t287069.html

When network card interrupts occur in multi-core system, what core is used by soft irq for network interrupts? That is, for example, if the IRQ happens in core 0, does the soft irq run on the same core ?

quite likely yes. This come from my understanding that IRQ processing sometimes use per core data structure, thus to maximize locality, using the same core would be the best choice.

Quoted 1 line

Is it possible for soft irq to use other core different from hard IRQ?

theoritically yes, especially when it falls to be executed by ksoftirqd.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com