From owner-freebsd-net@FreeBSD.ORG Tue Oct 20 15:41:37 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 A9C781065670 for ; Tue, 20 Oct 2009 15:41:37 +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 63CC98FC12 for ; Tue, 20 Oct 2009 15:41:36 +0000 (UTC) Received: from [217.25.27.27] (port=12406 helo=[217.25.27.27]) by mx40.mail.ru with asmtp id 1N0Gq6-0007ds-00 for freebsd-net@freebsd.org; Tue, 20 Oct 2009 19:41:34 +0400 Message-ID: <4ADDDA2C.3020206@mail.ru> Date: Tue, 20 Oct 2009 20:41:32 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <20091007085902.GA88982@lath.rinet.ru> <4ACC5E23.8090405@mail.ru> <20091007100503.GB88982@lath.rinet.ru> <4ACC6A7B.5050808@mail.ru> <20091007104525.GC88982@lath.rinet.ru> <4ACC7308.6070301@mail.ru> <4ACCC30E.7080504@elischer.org> <4ACCC4F3.3030302@mail.ru> <20091008060608.GA23793@lath.rinet.ru> <4ACE10CF.2030806@elischer.org> <20091009082743.GB70940@lath.rinet.ru> In-Reply-To: <20091009082743.GB70940@lath.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok 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: Tue, 20 Oct 2009 15:41:37 -0000 I'm so happy today: finally running a "ifp->if_snd.ifq_drv_maxlen = 4096;" and HZ=4000 kernel with 4100+ online users @500+ mbps, and, most importantly, with absolutely 0 drops since boot time! ;-) Even if drops do come in, I'll know where to look first. I'd like to express my gratitude to Robert Watson for pointing out the "ifnet transmit queue sizes" issue, to others who suggested the problem might be in dummynet's burstiness, and yet to others who tried hard to help with other suggestions. Thank you, folks! Tomorrow I'm going to suggest to my boss to donate some $$$ to the FreeBSD Foundation: http://www.freebsdfoundation.org/donate/