From owner-freebsd-ipfw@FreeBSD.ORG Sat Mar 21 17:14:43 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36E89106568B for ; Sat, 21 Mar 2009 17:14:43 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from sunner.semmy.ru (sunner.semmy.ru [195.54.209.159]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6368FC0C for ; Sat, 21 Mar 2009 17:14:41 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from [77.41.76.79] (helo=[172.16.100.19]) by sunner.semmy.ru with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Ll4mO-000HCA-Ns; Sat, 21 Mar 2009 20:14:40 +0300 Message-ID: <49C52060.6060504@FreeBSD.org> Date: Sat, 21 Mar 2009 20:14:08 +0300 From: Sergey Matveyhcuk User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Eugene L Kovalenja References: <49C04CA3.1070100@qwe.net.ua> <49C35EB3.6040508@FreeBSD.org> <49C4F3EE.2080903@qwe.net.ua> In-Reply-To: <49C4F3EE.2080903@qwe.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ipfw@freebsd.org Subject: Re: FreeBSD 7.0: dummynet 99% cpu X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 17:14:44 -0000 Well, I did not test the patch. Quick idea was to decrease hash buckets increasing of hash size. I did not dig deeper dummynet. Eugene L Kovalenja wrote: > Sergey Matveyhcuk пишет: >> Could you test an included patch? >> >> Eugene L Kovalenja wrote: >>> >>> Time in three days traffic via ipfw doesn't go. In top: >>> 21 root 1 -44 - 0K 8K WAIT 7 2:15 99.02% >>> dummynet >>> (this is example, not copy\paste) >>> >>> Also sw1: net increases from 5-10% to 30-35%... >>> >>> I am helped only by reboot. >>> >>> In what can consist the problem? >>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> freebsd-ipfw@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw >> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > Hello. > > Thank you for this patch. > > After kernel patching trouble changes: > Mar 21 13:58:45 taurus kernel: bge0: watchdog timeout -- resetting > Mar 21 13:58:45 taurus kernel: bge0: link state changed to DOWN > > In top utility 99% cpu on irq bge0. > > Changing of network adapter (on board 2 adapters: bge0 && bge1) didn't > decide problem. > > my /boot/loader.conf > [root@taurus /usr/home/login]# cat /boot/loader.conf > kern.ipc.maxpipekva=67108864 > net.graph.maxalloc=2048 > > #vm.kmem_size_max="512M" > #vm.kmem_size="512M" > kern.maxusers="512" > > :(