Soft interrupt in multi-core environment

Mulyadi Santosa mulyadi.santosa at gmail.com
Fri Aug 26 01:58:56 EDT 2011


Hi Kim...

On Fri, Aug 26, 2011 at 11:18, J.Hwan Kim <frog1120 at gmail.com> wrote:
> 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.

> 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.


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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



More information about the Kernelnewbies mailing list