From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 17:56:42 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 D2BF9106568B for ; Mon, 5 Oct 2009 17:56:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outQ.internet-mail-service.net (outq.internet-mail-service.net [216.240.47.240]) by mx1.freebsd.org (Postfix) with ESMTP id B5E308FC15 for ; Mon, 5 Oct 2009 17:56:42 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 41380D4E0; Mon, 5 Oct 2009 10:57:00 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 7DD8E2D6013; Mon, 5 Oct 2009 10:56:41 -0700 (PDT) Message-ID: <4ACA335C.2060806@elischer.org> Date: Mon, 05 Oct 2009 10:56:44 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: rihad References: <4AC8A76B.3050502@mail.ru> <20091005025521.GA52702@svzserv.kemerovo.su> <20091005061025.GB55845@onelab2.iet.unipi.it> <4AC9B400.9020400@mail.ru> <20091005090102.GA70430@svzserv.kemerovo.su> <4AC9BC5A.50902@mail.ru> <20091005095600.GA73335@svzserv.kemerovo.su> <20091005100446.GA60244@onelab2.iet.unipi.it> <4ACA26D4.2080102@elischer.org> <4ACA2BA6.40709@mail.ru> In-Reply-To: <4ACA2BA6.40709@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Eugene Grosbein , Luigi Rizzo , freebsd-net@freebsd.org 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 17:56:42 -0000 rihad wrote: > Julian Elischer wrote: >> Luigi Rizzo wrote: >> >>>> Taildrop does not really help with this. GRED does much better. >>> >>> i think the first problem here is figure out _why_ we have >>> the drops, as the original poster said that queues are configured >>> with a very large amount of buffer (and i think there is a >>> misconfiguration somewhere because the mbuf stats do not make >>> sense) >> >> it all depends on the characteristics of the traffic >> >> you need different queue lengths if it is just a small number of high >> speeed sessions (and mayne a large number of slow speed sessions), >> or if it is a larger number of medium speed sessions. >> >> Is it possible to know what sessions are losing packets? >> > Yes, of course, by running ipfw pipe show ;-) > There's one confusing thing, though: net.inet.ip.dummynet.io_pkt_drop > isn't increasing while around 800-1000 packets per second are being > dropped right now. And so "ipfw pipe show" Drp column wouldn't grow > either. So it's either not dummynet dropping packets, or a bug (?). I suspect your interface queues.