Intr process on freebsd

Hi
I am currently investigating moving our platform from linux to freebsd
On my test server I can see an increase in cpu usage compared to linux
(specifically system cpu% rather than user%)
On further investigation, it is the “intr” process using a lot of cpu.
Nginx is running ~100 req/sec
Is this normal behaviour and could anyone further describe what’s going
on/is this normal etc?

12 root 19 -60 - 0K 304K WAIT 0 55:24 7.32% intr

Hello!

On Tue, Jul 05, 2011 at 08:38:47AM +0000, Richard K. wrote:

Hi
I am currently investigating moving our platform from linux to freebsd
On my test server I can see an increase in cpu usage compared to linux
(specifically system cpu% rather than user%)
On further investigation, it is the “intr” process using a lot of cpu. Nginx is
running ~100 req/sec
Is this normal behaviour and could anyone further describe what’s going on/is
this normal etc?

12 root 19 -60 - 0K 304K WAIT 0 55:24 7.32% intr

Try pressing ‘H’ in top to see separate threads, this should give
you a hint who eats cpu. 8% system at 100r/s seems a bit too many
for me, too. But I really doubt it’s nginx related.

Maxim D.

Hmm, it’s the Ethernet
12 root -68 - 0K 288K WAIT 2 0:37 5.66% {irq256:
bge0}

What could this mean?

Hello!

On Tue, Jul 05, 2011 at 09:29:13AM +0000, Richard K. wrote:

Hmm, it’s the Ethernet
12 root -68 - 0K 288K WAIT 2 0:37 5.66% {irq256: bge0}

What could this mean?

With default settings it shows not only ethernet costs but also
all incoming packet processing costs. You may try setting
net.isr.direct and net.isr.direct_force to 0 to see what actually
takes cpu time, and playing with various network settings
(including net.isr.*) to see if it would be possible to reduce
load in your case.

Maxim D.