Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 06:39:10 -0700 (PDT)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Nick Rogers <ncrogers@gmail.com>, Adrian Chadd <adrian@freebsd.org>
Cc:        Karim Fodil-Lemelin <fodillemlinkarim@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: igb and ALTQ in 9.1-rc3
Message-ID:  <1365082750.44226.YahooMailClassic@web121606.mail.ne1.yahoo.com>
In-Reply-To: <CAJ-VmokAMn_gHqEWbywWEkqa0MZrjgEZCbrx1yn0b=X9A84CzQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--- On Tue, 4/2/13, Adrian Chadd <adrian@freebsd.org> wrote:

> From: Adrian Chadd <adrian@freebsd.org>
> Subject: Re: igb and ALTQ in 9.1-rc3
> To: "Nick Rogers" <ncrogers@gmail.com>
> Cc: "Karim Fodil-Lemelin" <fodillemlinkarim@gmail.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
> Date: Tuesday, April 2, 2013, 6:39 PM
> Yes:
> 
> * you need to add it to conf/options - see if there's an
> opt_igb.h to
> add it to, otherwise you'll need to add one;
> * Make sure the driver code includes opt_igb.h;
> * Then make sure you make kernel modules using either make
> buildkernel
> KERNCONF=X, or you set the environment appropriately so the
> build
> scripts can find your kernel build directory (where it
> populates all
> the opt_xxx.h includes) and it'll have this module set.
> 
> Hopefully Jack will do this.
> 
> Yes, we need a better queue management discipline API in the
> kernel.
> Jacks' just falling afoul of the fact we don't have one.
> It's not his
> fault.

That's not true at all. For a bridged system running a firewall or doing
filtering, virtually all of the proper design can be done in 
the ethernet driver. Or course if you have 2 different drivers then you
need a different scheme, but if the input and the output is the same driver
you can manage virtually all of the contention. You can't just randomly
do things; you have to design to minimize lock contention. Drivers that
seem to work fine at low volume blow up quickly as contention increases.

BC



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