two NIC on 2 core system (scheduling problem)
Bartosz Giza
gizmen at blurp.pl
Tue Oct 28 04:32:55 PDT 2008
Tuesday 28 of October 2008 11:43:40 Oleksandr Samoylyk napisał(a):
> Bartosz Giza wrote:
> > Hi,
> >
> > i have two core system with freebsd 7.0. I have two NIC; first is em
> > and second is bge.
> > I wonder why system put irq processes almost always to one core.
> > There is example:
> >
> > 11 root 1 171 ki31 0K 8K RUN 0 311.2H 96.19% idle:
> > cpu0 10 root 1 171 ki31 0K 8K CPU1 1 271.4H 71.44%
> > idle: cpu1 21 root 1 -68 - 0K 8K WAIT 1 48.8H
> > 13.87% irq17: bge0 20 root 1 -68 - 0K 8K - 1
> > 42.9H 11.72% em0 taskq
> >
> > Almost all the time irq17: bge0 and em0 taskq are on second cpu (1).
> > I use SCHED_4BSD scheduler. How can i make system to use two cores not
> > one for interrupt handling.
>
> In Linux it is possible to use SMP IRQ Affinity to attach IRQs to
> different CPUs.
>
> I wonder if there any way to do the same with FreeBSD?
AFAIK freebsd does not support such thing. But it would be really quite nice
feature to have.
Other thing what i think would be cool to have couple of processes which are
responsible for polling (swi1:net) probably one per NIC. This would benefit
from multi core systems (i think)
More information about the freebsd-net
mailing list