From owner-freebsd-stable@FreeBSD.ORG Mon Jul 24 19:41:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7F9016A4EA for ; Mon, 24 Jul 2006 19:41:21 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F3443D69 for ; Mon, 24 Jul 2006 19:41:17 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([165.236.175.187]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k6OJf8Rj048832; Mon, 24 Jul 2006 13:41:14 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44C5223D.5010707@samsco.org> Date: Mon, 24 Jul 2006 13:40:45 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcelo Gardini do Amaral References: <20060711190908.GC69272@registro.br> <20060720023856.GA65960@sandvine.com> <20060720112613.GB716@turion.vk2pj.dyndns.org> <44BFA2EE.7060308@samsco.org> <20060724193523.GB51092@registro.br> In-Reply-To: <20060724193523.GB51092@registro.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: Peter Jeremy , freebsd-stable@freebsd.org, Ed Maste Subject: Re: How to setup polling on 'bge' interface X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 19:41:22 -0000 Marcelo Gardini do Amaral wrote: >>>The limited testing I've done on a Sun V20z at work suggests that you >>>can get better routing throughput in interrupt mode than polling mode. >>>YMMV and this is before tweaking the polling parameters. (My testing >>>also suggests that I don't really need to do any tweaking because >>>the limiting factor is the gigabit interfaces rather than the V20z). > > > I've noticed a higher (and variable) RTT with polling mode activated, > without tweaking any parameters. > Yes, the RTT will vary based on whether the interface has to wait a full tick or only a partial tick for the polling loop to become active. Adaptive polling eliminates most of this variance. Scott