From owner-freebsd-net@FreeBSD.ORG Wed Apr 29 19:07:37 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 285CE106564A for ; Wed, 29 Apr 2009 19:07:37 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63907.mail.re1.yahoo.com (web63907.mail.re1.yahoo.com [69.147.97.122]) by mx1.freebsd.org (Postfix) with SMTP id BED7B8FC08 for ; Wed, 29 Apr 2009 19:07:36 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 37688 invoked by uid 60001); 29 Apr 2009 19:07:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241032055; bh=5K4OXwnzTGqmewJ6CwSmjmg5ty1VJ3I+xCQckDV4f4M=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=VdhHN3mcRDSnz0s+2f4HiE4JcaYQs8+DutBQnpvffTBoTISLFDhv9EtL7QMvPkWsxVIjbP5CCXwmxeUEw+en6fsLG4wgj5B206skNYmvbgBggYNk4vsLJn8x5mAGjWG7KFcygnXe5jbshlVM2WSlYkVYDIasL3eoSWC7QnuDnXM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=t4cC5nZzdFdSe6cL9rJjk/TUsMCrfBS94eKaDjQ0LrFuRIecftrqdS3WDrFnme6sjT1VI83gStxfvX6Pr6xKFC0goZnVVOsJyJTD+iG91npGeWY+1Uytm5V9qLtjR1ftVl/5+g/TR5lXYPyYD2wrMhYcvM7MuwuMgaTot7o2eH4=; Message-ID: <606440.37646.qm@web63907.mail.re1.yahoo.com> X-YMail-OSG: srL38nsVM1l62wL55OYTesGonvCdXAT2_c.I5_0652R2qYiL8S61NIrgJjKjlqPfaMZI3GqdY4z5gnhLW3n2NtH2qi7TYo9gfLyeaPk68eddd.Fi3EEy6VWZLgTN5mfgi4yWSMH2uQsEaWH3EQYyhs6oHYwzH2NFv1ArExKKZ2KFpnPFc3rbECbxC1O9.bAh3eL73x53ijmaaOyr_XQWvcg5F7hPkYbpG1FO0XNBdz62cM2wiWe6Nug6CJbgoTxu6bvEUEzCy2mz1cuf1SFubxDtyqW6GzCbZoHckOOOrzCKWctdtZeVoY7k418cIu5OMcf.qDhiY6.LDuNitQpg5XDl Received: from [98.242.223.106] by web63907.mail.re1.yahoo.com via HTTP; Wed, 29 Apr 2009 12:07:35 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Wed, 29 Apr 2009 12:07:35 -0700 (PDT) From: Barney Cordoba To: Erik Trulsson , Luigi Rizzo In-Reply-To: <20090429135722.GB51674@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Net , Andrew Snow Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 19:07:37 -0000 --- On Wed, 4/29/09, Luigi Rizzo wrote: > From: Luigi Rizzo > Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI) > To: "Erik Trulsson" > Cc: "Barney Cordoba" , "Andrew Snow" , "FreeBSD Net" > 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