From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 15:07:21 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 38C331065696 for ; Mon, 5 Oct 2009 15:07:21 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx38.mail.ru (mx38.mail.ru [94.100.176.52]) by mx1.freebsd.org (Postfix) with ESMTP id E54E48FC1C for ; Mon, 5 Oct 2009 15:07:20 +0000 (UTC) Received: from [217.25.27.27] (port=10307 helo=[217.25.27.27]) by mx38.mail.ru with asmtp id 1Mup9j-000CZ3-00; Mon, 05 Oct 2009 19:07:19 +0400 Message-ID: <4ACA0BA6.70706@mail.ru> Date: Mon, 05 Oct 2009 20:07:18 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Eugene Grosbein References: <20091005095600.GA73335@svzserv.kemerovo.su> <4AC9CFF7.3090208@mail.ru> <20091005110726.GA62598@onelab2.iet.unipi.it> <4AC9D87E.7000005@mail.ru> <20091005120418.GA63131@onelab2.iet.unipi.it> <4AC9E29B.6080908@mail.ru> <20091005123230.GA64167@onelab2.iet.unipi.it> <4AC9EFDF.4080302@mail.ru> <20091005140409.GB89194@svzserv.kemerovo.su> <4ACA02F7.6040409@mail.ru> <20091005145037.GA92519@svzserv.kemerovo.su> In-Reply-To: <20091005145037.GA92519@svzserv.kemerovo.su> 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, Luigi Rizzo Subject: Re: dummynet dropping too many packets 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, 05 Oct 2009 15:07:21 -0000 Eugene Grosbein wrote: > On Mon, Oct 05, 2009 at 07:30:15PM +0500, rihad wrote: > >>>> How do I investigate and fix this burstiness issue? >>> Please also show: >>> >>> sysctl net.isr >>> sysctl net.inet.ip.intr_queue_maxlen >> net.isr.swi_count: 65461359 >> net.isr.drop: 0 >> net.isr.queued: 32843752 >> net.isr.deferred: 0 >> net.isr.directed: -723075002 >> net.isr.count: -723074001 >> net.isr.direct: 1 >> >> net.inet.ip.intr_queue_maxlen: 50 > > What is CPU load in when the load is maximum? > It has 2 quad-cores, so I'm not sure. Here's the output of top -S: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 1 171 ki31 0K 16K CPU7 7 120.2H 98.39% idle: cpu7 12 root 1 171 ki31 0K 16K CPU6 6 120.3H 95.75% idle: cpu6 16 root 1 171 ki31 0K 16K CPU2 2 115.5H 93.99% idle: cpu2 14 root 1 171 ki31 0K 16K CPU4 4 114.6H 91.89% idle: cpu4 18 root 1 171 ki31 0K 16K RUN 0 97.7H 88.96% idle: cpu0 13 root 1 171 ki31 0K 16K CPU5 5 117.5H 85.35% idle: cpu5 15 root 1 171 ki31 0K 16K CPU3 3 110.2H 79.79% idle: cpu3 29 root 1 -68 - 0K 16K WAIT 1 59.1H 54.05% irq256: bce0 17 root 1 171 ki31 0K 16K CPU1 1 63.5H 42.29% idle: cpu1 467 root 1 -68 - 0K 16K - 3 21.4H 11.57% dummynet 19 root 1 -32 - 0K 16K WAIT 4 268:29 3.66% swi4: clock sio 31 root 1 -68 - 0K 16K WAIT 2 310:19 2.98% irq257: bce1 30 root 1 -64 - 0K 16K WAIT 6 40:02 0.29% irq16: mfi0 3 root 1 -8 - 0K 16K - 5 55:42 0.00% g_up 4 root 1 -8 - 0K 16K - 1 51:22 0.00% g_down 22 root 1 44 - 0K 16K - 3 13:30 0.00% yarrow 21 root 1 -44 - 0K 16K WAIT 0 9:09 0.00% swi1: net 51 root 1 20 - 0K 16K syncer 2 7:25 0.00% syncer 599 root 1 44 0 5660K 1132K select 0 1:40 0.00% syslogd 52 root 1 -16 - 0K 16K sdflus 5 0:34 0.00% softdepflush 2 root 1 -8 - 0K 16K - 2 0:31 0.00% g_event