Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 11:59:21 -0800
From:      Jack Vogel <jfvogel@gmail.com>
To:        pyunyh@gmail.com
Cc:        "Yuriy A. Korobko" <administrator@shtorm.com>, freebsd-net@freebsd.org
Subject:   Re: Reducing number of interrupts from intel pro 1000 et adapter
Message-ID:  <2a41acea0911241159u3b2dab36p66f29724f8cac13@mail.gmail.com>
In-Reply-To: <20091124194025.GA1116@michelle.cdnetworks.com>
References:  <1258998140.3015.34.camel@stormi-desktop> <20091124194025.GA1116@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
There are significant changes to igb forthcoming, I believe I have fixed the
multiqueue problems that exist in it now, and I am working to improve the
AIM code so it handles TX and RX (this is still experimental right now
though).
I hope it addresses your problems.

Jack


On Tue, Nov 24, 2009 at 11:40 AM, Pyun YongHyeon <pyunyh@gmail.com> wrote:

> On Mon, Nov 23, 2009 at 07:42:20PM +0200, Yuriy A. Korobko wrote:
> > Hi,
> >
> > I'd like to know a way to control tx interrupts on intel pro 1000 et
> > adapter with igb driver. Just installed one in the router and systat
> > shows 8-9k rx interrupts and 20k tx interrupts from igb0 and igb1
> > adapters. Box is a router running freebsd 7.2 release, I've tried
> > default driver from kernel source and latest from intel site, effect is
> > the same with automatic interrupt moderation enabled and disabled. I
>
> I'm also aware of this issue. Here is patch I'm currently
> experimenting. It seems igb(4) wants to dynamically adjust
> interrupt moderation on Rx traffic such that this seems to cause
> lots of Tx interrupts under heavy Rx traffic. I simply disabled
> that feature and fixed Rx handler not to generate more interrupts.
> Without Rx handler fix the igb(4) took all CPU cycles under heady
> load(64 bytes UDP torture test) I couldn't even type a character
> on console. You can get my patch at the following URL.
> http://people.freebsd.org/~yongari/igb/igb.buf.patch5<http://people.freebsd.org/%7Eyongari/igb/igb.buf.patch5>;
>
> The patch also includes other changes I made so it's somewhat big.
> Note, please don't apply the patch on production servers it needs
> more testing.
>
> > have the same box with intel pro 1000 pt adapter which have
> > tx(rx)_int_delay sysctls in em driver, I was able to reduce number of
> > tx/rx interrupts to 7-8k per interface and got much more cpu idle
> > because of less context switches with same pps.
> >
>
> I guess you sacrificed latencies.
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



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