From owner-freebsd-net@FreeBSD.ORG Mon Sep 14 11:23:40 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 94037106566B for ; Mon, 14 Sep 2009 11:23:40 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx40.mail.ru (mx40.mail.ru [94.100.176.54]) by mx1.freebsd.org (Postfix) with ESMTP id 529508FC12 for ; Mon, 14 Sep 2009 11:23:39 +0000 (UTC) Received: from [217.25.27.27] (port=35864 helo=[217.25.27.27]) by mx40.mail.ru with asmtp id 1Mn9ei-0006BA-00; Mon, 14 Sep 2009 15:23:37 +0400 Message-ID: <4AAE27B8.6050006@mail.ru> Date: Mon, 14 Sep 2009 16:23:36 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Barney Cordoba References: <676338.40771.qm@web63905.mail.re1.yahoo.com> In-Reply-To: <676338.40771.qm@web63905.mail.re1.yahoo.com> 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 11:23:40 -0000 Barney Cordoba wrote: > >> 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 > > You really need to look at the taskq usage as averaging on a 4 core CPU: 0.0% user, 0.0% nice, 10.0% system, 0.0% interrupt, 90.0% idle 27 root 1 -68 - 0K 16K - 1 137:47 40.28% em0 taskq 28 root 1 -68 - 0K 16K - 2 5:05 0.88% em1 taskq > You'll do a lot better setting your ITR to 2000 or so. You really don't > need an interrupt every 4 packets at those traffic levels. Sorry, how would I do that? And how do I find the current ITR value?