Skip to contentSkip to conversation

The core in which NAPI is using

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

lore
Share & tools
lore

J.Hwan Kim

author
#0 lore raw

Hi, everyone

My ethernet card always interrupts at Core 0 .
The driver of the device is using NAPI.
When NAPI is appled, does the core in which NAPI is processing vary? Is the NAPI triggered by software interrupt, isn't it?
My system monitor indicates the CPU loading varies randomly among 8 cores. Can you give an information if the core which NAPI is using varies?

Thanks in advance.

Best Regards,
J.Hwan Kim

#1 lore raw

Hi..

Quoted 6 lines · J.Hwan Kim

Hi, everyone

My ethernet card always interrupts at Core 0 .
The driver of the device is using NAPI.
When NAPI is appled, does the core in which NAPI is processing vary? Is the NAPI triggered by software interrupt, isn't it?

if you mean "software interrupt" is somekind of timer, then I think yes. Instead of relying on interrupt coming from the devices, NAPI uses (tight) polling in order to match the speed of incoming/outgoing packet bursts.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

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