From owner-freebsd-net@FreeBSD.ORG Sat Oct 17 13:49:12 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 18B9F1065692; Sat, 17 Oct 2009 13:49:12 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx39.mail.ru (mx39.mail.ru [94.100.176.53]) by mx1.freebsd.org (Postfix) with ESMTP id C94348FC25; Sat, 17 Oct 2009 13:49:11 +0000 (UTC) Received: from [217.25.27.27] (port=12009 helo=[217.25.27.27]) by mx39.mail.ru with asmtp id 1Mz9ef-00083A-00; Sat, 17 Oct 2009 17:49:10 +0400 Message-ID: <4AD9CB54.2020608@mail.ru> Date: Sat, 17 Oct 2009 18:49:08 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Julian Elischer References: <4AD6D99E.10805@mail.ru> <4AD95493.40200@mail.ru> <4AD96422.1040008@mail.ru> <4AD97CF7.6020602@elischer.org> In-Reply-To: <4AD97CF7.6020602@elischer.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, Robert Watson 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: Sat, 17 Oct 2009 13:49:12 -0000 Julian Elischer wrote: > rihad wrote: > >>> >> The change definitely helped! There are now more than 3200 users >> online, 460-500 mbps net traffic load, and normally 10-60 (up to 150 >> once or twice) consistent drops per second as opposed to several >> hundred up to 1000-1500 packets dropped per second before the rebuild. >> What's interesting is that the drops now began only after the ipfw >> table had around 3000 entries, not 2000 like before, so the change >> definitely helped. Just how high can maxlen be? Should I try 2048? 4096? > > is Hz still 4000? > No, I've set it to 2000 as per recommendations for HZ in NOTES. Should I try 4000? 6000? 8000? Or maybe just increase the bce queue length and rebuild? :)