From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 17:27:13 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 F15041065672 for ; Mon, 5 Oct 2009 17:27:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outH.internet-mail-service.net (outh.internet-mail-service.net [216.240.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id D0EDF8FC25 for ; Mon, 5 Oct 2009 17:27:13 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 345D7B985A; Mon, 5 Oct 2009 10:27:18 -0700 (PDT) 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 2A0052D6011; Mon, 5 Oct 2009 10:27:13 -0700 (PDT) Message-ID: <4ACA2C74.9030206@elischer.org> Date: Mon, 05 Oct 2009 10:27:16 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: rihad References: <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> <4AC9DD72.9060802@mail.ru> <20091005120057.GA79942@svzserv.kemerovo.su> <4AC9E415.9040801@mail.ru> In-Reply-To: <4AC9E415.9040801@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Eugene Grosbein 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:27:14 -0000 rihad wrote: > Eugene Grosbein wrote: >> On Mon, Oct 05, 2009 at 04:50:10PM +0500, rihad wrote: >> >>>>> Where has TCP slow-start gone? My router box isn't some application >>>>> proxy that starts downloading at full 100 mbit/s thus quickly >>>>> filling client's 1 mbit/s link. It's just a router. >>>> While there is no or little competition for bandwidth from the router >>>> to clients, TCP would work just fine. I suspect your shaping policy >>>> makes heavy competition between clients. In this case, TCP behaves >>>> not-so-well without help of router's good shaping algorythms >>>> and taildrop is not good one. >>>> >>> Nothing fancy (i.e. no competition). Only tons of per-user pipes >>> simulating the given throughput. >> >> You've mentioned previously: "The pipes are fine, each normally having >> 100-120 concurrent consumers (i.e. active users)." >> This IS competition between TCP flows inside each pipe. >> > Well, each user gets instantiated with a new copy of the pipe. Each such > user counts towards the limit imposed by hash_size*max_chain_len for > that pipe only. It would have been competition had I used dst-ip dst-ip > 0xffffff00 or similar and not dst-ip 0xffffffff, _then_ all 256 users > (determined by the mask) would compete for the pipe's bandwidth. So the > only competition is in the uplink at our main Cisco, I guess. yesssss, so try running your interfaces slower. :-) > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"