From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 11:48:03 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 BFEB21065694 for ; Mon, 5 Oct 2009 11:48:03 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from mx75.mail.ru (mx75.mail.ru [94.100.176.90]) by mx1.freebsd.org (Postfix) with ESMTP id 789C48FC14 for ; Mon, 5 Oct 2009 11:48:03 +0000 (UTC) Received: from [217.25.27.27] (port=15276 helo=[217.25.27.27]) by mx75.mail.ru with asmtp id 1Mum2q-000ETS-00; Mon, 05 Oct 2009 15:48:00 +0400 Message-ID: <4AC9DCEF.7080502@mail.ru> Date: Mon, 05 Oct 2009 16:47:59 +0500 From: rihad User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Eugene Grosbein 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> <20091005100532.GC73335@svzserv.kemerovo.su> <4AC9C88A.5050509@mail.ru> <20091005113037.GA77999@svzserv.kemerovo.su> In-Reply-To: <20091005113037.GA77999@svzserv.kemerovo.su> Content-Type: text/plain; charset=us-ascii; 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 11:48:03 -0000 Eugene Grosbein wrote: > On Mon, Oct 05, 2009 at 03:20:58PM +0500, rihad 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) >>> That may be very simple, f.e. wide uplink channel and policy that >>> dictates slower client speeds. Any taildrop queue would drop lots >>> of packets. >>> >> If uplink is e.g. 100 mbit/s, but data is fed to client by dummynet at 1 >> mbit/s, doesn't the _client's_ TCP software know to slow things down to >> not overwhelm 1 mbit/s? > > That's not client's TCP software feeding your router with traffic > but server side. > Yup, I meant client-side decreasing congestion window, delaying ACKs etc. etc., typical for TCP congestion control. Or...? GRED didn't solve the problem :(