From owner-freebsd-current@FreeBSD.ORG Thu Jun 7 09:36:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBAF016A46B for ; Thu, 7 Jun 2007 09:36:20 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by mx1.freebsd.org (Postfix) with ESMTP id AB48F13C484 for ; Thu, 7 Jun 2007 09:36:20 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so113269anc for ; Thu, 07 Jun 2007 02:36:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XxbhFHA+Pec1nWK9cr2wt9cDGMoB8ZFzKwFAZVchKqKsGn5q0R00GtRcNiis3Fq0vHn2oijLWrLvhdle3Cw7pWRrYYpu0AW3eGetl4jKpmf0VQrCyNtIAJXtbJtjEtr0qHLFPoPD7RwRugqPqF9vh/+hGeGgIaJ9H6D2jY0PY+g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dwu7STvLHRF6GXbijrfh/ucZQSMu09/rLjyHjWYagW8jU0+wwa/wVmp/oyvHLYpS117YA0/G4Fgs0z7jKHpMgT5r8SyUF4ljK5oFmQf1twZ10O2Kfvd+tvrwIjYbWd9VwINdFMYHQTehZtkvv6JzYkUuLuGNM3+YA5IrDwg6hcU= Received: by 10.100.199.12 with SMTP id w12mr916774anf.1181208980172; Thu, 07 Jun 2007 02:36:20 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Thu, 7 Jun 2007 02:36:19 -0700 (PDT) Message-ID: <499c70c0706070236x28d781e6yb8ba4c8ccd251372@mail.gmail.com> Date: Thu, 7 Jun 2007 12:36:19 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Andrew Thompson" In-Reply-To: <20070607093027.GA4784@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <499c70c0706070210v39f7016hbd80e9780902e992@mail.gmail.com> <20070607093027.GA4784@heff.fud.org.nz> Cc: freebsd-current@freebsd.org Subject: Re: Why not remove polling(4) from 7.0? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2007 09:36:21 -0000 On 6/7/07, Andrew Thompson wrote: > On Thu, Jun 07, 2007 at 12:10:31PM +0300, Abdullah Ibn Hamad Al-Marri wrote: > > Hello Guys, > > > > Almost all cases polling(4) adds additional latency. > > There are some cases that polling(4) helps a little but most cases it > > wouldn't. > > > > So why not remove it or switch to adaptive polling as em(4) instead of > > resorting to polling? > > Are you just talking about em(4) or removing polling for all drivers? It > is helpful in some cases, for example I run FreeBSD on a Nortel > contivity 1010 box where interrupts do not work on the fxp interface and > yet its quite usable with polling mode. > > Its not enabled by default so its up to the user if they want to make > use of it. > > > cheers, > Andrew I mean can't we use better handeling for nics which is better than current polling(4)? -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/