Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 08:10:32 -0700 (PDT)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        rihad <rihad@mail.ru>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: [POLLING] strange interrupt/system load
Message-ID:  <409746.70532.qm@web63901.mail.re1.yahoo.com>
In-Reply-To: <4AAE27B8.6050006@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Mon, 9/14/09, rihad <rihad@mail.ru> wrote:=0A=0A> From: rihad =
<rihad@mail.ru>=0A> Subject: Re: [POLLING] strange interrupt/system load=0A=
> To: "Barney Cordoba" <barney_cordoba@yahoo.com>=0A> Cc: freebsd-net@FreeB=
SD.org=0A> Date: Monday, September 14, 2009, 7:23 AM=0A> Barney Cordoba wro=
te:=0A> > =0A> >> Without polling (current load around 190-200=0A> mbit/s, =
around=0A> >> 24-26 kpps):=0A> >>=0A> >> top:=0A> >> CPU:=A0 0.0% user,=A0 =
0.0% nice,=A0 8.4%=0A> >> system,=A0 0.0% interrupt, 91.6% idle=0A> >>=0A> =
>> Interrupts/s: 18322 total=0A> >> 28 mpt0 irq16=0A> >> 1999 cpu0: time=0A=
> >> 6906 em0 irq256=0A> >> 3392 em1 irq257=0A> >> 1999 cpu1: time=0A> >> 1=
999 cpu2: time=0A> >> 1999 cpu3: time=0A> > =0A> > You really need to look =
at the taskq usage as=0A> averaging on a 4 core=0A> CPU:=A0 0.0% user,=A0 0=
..0% nice, 10.0% system,=A0=0A> 0.0% interrupt, 90.0% idle=0A> =A0 =A0 27 ro=
ot=A0 =A0 =A0 =A0 1=0A> -68=A0 =A0 -=A0 =A0=A0=A00K=A0 =A0=0A> 16K -=A0 =A0=
 =A0 1 137:47 40.28% em0 taskq=0A> =A0 =A0 28 root=A0 =A0 =A0 =A0 1=0A> -68=
=A0 =A0 -=A0 =A0=A0=A00K=A0 =A0=0A> 16K -=A0 =A0 =A0 2=A0=A0=A05:05=A0=0A> =
0.88% em1 taskq=0A> =0A> > You'll do a lot better setting your ITR to 2000 =
or so.=0A> You really don't=0A> > need an interrupt every 4 packets at thos=
e traffic=0A> levels.=0A> =0A> Sorry, how would I do that? And how do I fin=
d the current=0A> ITR value?=0A> =0AI made mine a sysctl long ago, so I'm n=
ot sure what the current state=0Aof em is. It used to be a macro MAX_INTS_P=
ER_SEC=0A=0ABarney=0A=0A=0A      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409746.70532.qm>