From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 13:56:36 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 5E3E710656CA for ; Mon, 5 Oct 2009 13:56:36 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id BB8DE8FC15 for ; Mon, 5 Oct 2009 13:56:35 +0000 (UTC) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n95DuWqa089724; Mon, 5 Oct 2009 21:56:32 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n95DuWsW089723; Mon, 5 Oct 2009 21:56:32 +0800 (KRAST) (envelope-from eugen) Date: Mon, 5 Oct 2009 21:56:32 +0800 From: Eugene Grosbein To: rihad Message-ID: <20091005135632.GA89194@svzserv.kemerovo.su> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AC9E415.9040801@mail.ru> User-Agent: Mutt/1.4.2.3i Cc: 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 13:56:36 -0000 On Mon, Oct 05, 2009 at 05:18:29PM +0500, rihad wrote: > >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. Hmm, yes, you are rigth. I've missed 'mask'. Try to disable net.inet.ip.dummynet.io_fast to see if there is a bug in 'fast' dummynet mode. Eugene Grosbein