From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 07:56:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B16016A4CE for ; Mon, 14 Jun 2004 07:56:55 +0000 (GMT) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id E2B4843D41 for ; Mon, 14 Jun 2004 07:56:54 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg128.cms.usa.net (165.212.11.128) by cmsoutbound.mx.net with SMTP; 14 Jun 2004 07:56:19 -0000 Received: from optimator.noacks.org [70.240.243.152] by uadvg128.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 631iFNH5q0117M28; Mon, 14 Jun 2004 07:56:16 GMT X-USANET-Auth: 70.240.243.152 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 6CD4E6191; Mon, 14 Jun 2004 02:56:15 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01661-04-2; Mon, 14 Jun 2004 02:56:14 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id E87B66171; Mon, 14 Jun 2004 02:56:13 -0500 (CDT) Received: from [127.0.0.1] (localhost.noacks.org [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5E7uDec002282; Mon, 14 Jun 2004 02:56:13 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40CD5A1D.2070105@alumni.rice.edu> Date: Mon, 14 Jun 2004 02:56:13 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040531) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Luigi Rizzo References: <40CC97E0.5010003@alumni.rice.edu> <20040613181315.GB54104@ip.net.ua> <40CCC201.6080804@alumni.rice.edu> <20040613223658.GB55275@ip.net.ua> <20040614002429.A16826@xorpc.icir.org> In-Reply-To: <20040614002429.A16826@xorpc.icir.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: current@freebsd.org Subject: Re: Device polling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 07:56:55 -0000 On 06/14/04 02:24, Luigi Rizzo wrote: > On Mon, Jun 14, 2004 at 01:36:58AM +0300, Ruslan Ermilov wrote: >> On Sun, Jun 13, 2004 at 04:07:13PM -0500, Jon Noack wrote: >>> On 06/13/04 13:13, Ruslan Ermilov wrote: >>>> On Sun, Jun 13, 2004 at 01:07:28PM -0500, Jon Noack wrote: >>>>> I just tested this on my SMP all-in-one home server (Web, >>>>> Mail, > ... >> Bump HZ. If you were using the 64-bit PCI I'd say bump it to 5000, >> but since you're using 32-bit PCI, bumping it that high just >> doesn't make sense, so raise it up to 2000-3000. >> >> Set kern.polling.idle_poll=1. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > this is the part that cannot possibly work with SMP, > and that seems to have problem with current even on !SMP Well, in limited testing it doesn't seem to have any effect. After a lot of tweaking, polling on my SMP box appears to lower throughput by ~50Mbps (~370 down to ~320). It does improve performance on my single-processor machines, though. Again, if I have more time I'll give the netperf patches a shot. Jon