From owner-freebsd-questions@FreeBSD.ORG Sun Apr 3 20:05:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBE316A4CE for ; Sun, 3 Apr 2005 20:05:29 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [82.74.2.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8AF843D41 for ; Sun, 3 Apr 2005 20:05:26 +0000 (GMT) (envelope-from dick@nagual.st) Received: from pooh.nagual.st (pooh.nagual.st [192.168.11.22]) by nagual.st with esmtp; Sun, 03 Apr 2005 22:05:25 +0200 Date: Sun, 3 Apr 2005 22:05:25 +0200 From: dick hoogendijk To: freebsd-questions@freebsd.org Message-Id: <20050403220525.39ac28dd.dick@nagual.st> In-Reply-To: <424F4FAD.7080300@ec.rr.com> References: <20050402173222.53977dd4.dick@nagual.st> <424F4FAD.7080300@ec.rr.com> Organization: nagual SiTe X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: device_polling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dick@nagual.st List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2005 20:05:29 -0000 On Sat, 02 Apr 2005 21:06:37 -0500 jason henson wrote: > dick hoogendijk wrote: > > >I was building a new kernel today and came across an option I had not > >seen before. I googled some and concluded that "options > >device_polling / options HZ=1000" would be a better way for my > >realtec network cards than the default interupt driven.. > > > >Is this correct?? Would it be better to have this polling in the > >kernel? (fbsd-4.11-stable) > > > > > > > I would say yes. Check man polling for extra info. I build a kernel with devoce_polling and hz=1000 and experimented a bit. Using "netstat -w 1" I see a drop in performance. In/output is about 20% higher if polling is disabled. That was not what I expexted. I really thought polling would be better. I use cheap rl (realtec 8139) cards. So I guess I will have to recompile without polling. For vmware3 I'll leave the HZ=1200 in. Don't understand it though.. -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja