From owner-freebsd-net@FreeBSD.ORG Tue Apr 16 09:52:43 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 94B8CCDC; Tue, 16 Apr 2013 09:52:43 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id EE49BF26; Tue, 16 Apr 2013 09:52:42 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id fn20so286382lab.29 for ; Tue, 16 Apr 2013 02:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8fHjysi0a+pQ0KhiGkQlxjkAUmLWXNuDDWg59ugDGd4=; b=moj7blK/w1JhBCqbNhlxN43qWFovkHaZbkuPJdkfjU73tYYL46dhPJOgz5VsIXSzmE ytp/ZmyWHnBtSyvPguJwsIRdsubCSYTIRtfrO+y4gUOEDsuem/lPzU7Younr4OJJZpuI kO8YJ2iFfyvJsh6LM8WszSy0B3R54OS+KJWuw+LlVw5RDEUZPNTG2WeQH8dj8Zp2rYd5 PprxCSy/3/wYCMghwqgY3X9Vo/iej7M3TN07qXUR4QL73erxi5AWV8aSvdzRLL/tW27i uBqifKJQThWH1DjsikQnQZGBv+GdLfiDIsSTiWFaw/qYALfdcSTjb4iyZP5np9HHvfXg xbYA== MIME-Version: 1.0 X-Received: by 10.152.5.134 with SMTP id s6mr828543las.24.1366105961853; Tue, 16 Apr 2013 02:52:41 -0700 (PDT) Received: by 10.114.58.179 with HTTP; Tue, 16 Apr 2013 02:52:41 -0700 (PDT) In-Reply-To: <20130416162150.X1106@besplex.bde.org> References: <1365781568.1418.1.camel@localhost> <20130413200512.G1165@besplex.bde.org> <1366065356.1350.7.camel@localhost> <20130416052500.GA1428@michelle.cdnetworks.com> <20130416162150.X1106@besplex.bde.org> Date: Tue, 16 Apr 2013 17:52:41 +0800 Message-ID: Subject: Re: bge(4) sysctl tuneables -- a blast from the past. From: Sepherosa Ziehau To: Bruce Evans Content-Type: text/plain; charset=ISO-8859-1 Cc: YongHyeon PYUN , Sean Bruno , bde , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 09:52:43 -0000 On Tue, Apr 16, 2013 at 3:14 PM, Bruce Evans wrote: > bge_rx_coal_ticks == 0 && bge_rx_max_coal_bds == 0 might work accidentally > if there are enough tx interrupts. There is also the DEVICE_POLLING > mistake. > In polling mode, these parameters of course have no effect (Polling mode > disables interrupts, and the coal parameters have no effect when interrupts > are disabled). As far as I have tested, coalesce BDs and ticks also control how often status block is updated, so it does affect polling(4) Best Regards, sephe -- Tomorrow Will Never Die