Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 12:07:35 -0700 (PDT)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Erik Trulsson <ertr1013@student.uu.se>, Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, Andrew Snow <andrew@modulus.org>
Subject:   Re: Interrupts + Polling mode (similar to Linux's NAPI)
Message-ID:  <606440.37646.qm@web63907.mail.re1.yahoo.com>
In-Reply-To: <20090429135722.GB51674@onelab2.iet.unipi.it>

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




--- On Wed, 4/29/09, Luigi Rizzo <rizzo@iet.unipi.it> wrote:

> From: Luigi Rizzo <rizzo@iet.unipi.it>
> Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI)
> To: "Erik Trulsson" <ertr1013@student.uu.se>
> Cc: "Barney Cordoba" <barney_cordoba@yahoo.com>, "Andrew Snow" <andrew@modulus.org>, "FreeBSD Net" <freebsd-net@freebsd.org>
> Date: Wednesday, April 29, 2009, 9:57 AM
> On Wed, Apr 29, 2009 at 03:21:56PM +0200, Erik Trulsson
> wrote:
> > On Wed, Apr 29, 2009 at 05:46:32AM -0700, Barney
> Cordoba wrote:
> ...
> > > When the collective answer to better network
> performance is polling, it
> > > makes it appear as if the FreeBSD project is a
> bunch of dudes working on
> > > stuff they feel like doing, rather than there
> being some centralized plan
> > > to make the project successful.
> > 
> > That appearance is probably due to the fact the the
> FreeBSD project actually
> > is a bunch of dudes working on what they feel like
> doing (or in a few cases
> > on what they get paid for doing), and that there is
> very little centralized
> > planning being done. (And even if there was, there is
> no way of enforcing
> > that people work according to such a plan.)
> 
> not to mention that very little if any work has been done
> on polling recently: i developed the base system in
> 2001-2002,
> and since then there has been just some basic maintainance
> (at least in the tree).
> 
> cheers
> luigi

Obviously someone has ported it to 5, 6 and 7, and the pat answer to
performance questions about a driver is "have you tried polling"? Its
counterproductive and gives people an excuse not to create any mechanisms
to properly tune drivers and to write them correctly for SMP kernels.

Barney


      



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