From owner-freebsd-net@FreeBSD.ORG Mon Sep 14 07:38:04 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CC85106568B for ; Mon, 14 Sep 2009 07:38:04 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx30.mail.ru (mx30.mail.ru [94.100.176.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3C55B8FC21 for ; Mon, 14 Sep 2009 07:38:03 +0000 (UTC) Received: from [217.25.27.27] (port=39571 helo=[217.25.27.27]) by mx30.mail.ru with asmtp id 1Mn68O-000L9u-00; Mon, 14 Sep 2009 11:38:00 +0400 Message-ID: <4AADF2D8.5050505@mail.ru> Date: Mon, 14 Sep 2009 12:38:00 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Bruce Evans References: <4AAB4D56.30207@mail.ru> <20090912202529.X1569@besplex.bde.org> In-Reply-To: <20090912202529.X1569@besplex.bde.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-net@FreeBSD.org Subject: Re: [POLLING] strange interrupt/system load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 07:38:04 -0000 Bruce Evans wrote: > On Sat, 12 Sep 2009, rihad wrote: > >> The box experiences ~230 mbit/s traffic flow through it. I've doubled >> some sysctls after reading polling(4): >> kern.polling.each_burst=10 # was: 5 >> kern.polling.burst_max=350 # was: 150 >> >> FreeBSD 7.2-RELEASE-p3 amd64 >> HZ=1000 > > How much better does it work without POLLING? > Without polling (current load around 190-200 mbit/s, around 24-26 kpps): top: CPU: 0.0% user, 0.0% nice, 8.4% system, 0.0% interrupt, 91.6% idle Interrupts/s: 18322 total 28 mpt0 irq16 1999 cpu0: time 6906 em0 irq256 3392 em1 irq257 1999 cpu1: time 1999 cpu2: time 1999 cpu3: time