From owner-freebsd-net@FreeBSD.ORG Mon Oct 5 18:54:48 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 F0C341065692 for ; Mon, 5 Oct 2009 18:54:48 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id D328E8FC16 for ; Mon, 5 Oct 2009 18:54:47 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id E8C14B98E3; Mon, 5 Oct 2009 11:54:47 -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 24DB72D6022; Mon, 5 Oct 2009 11:54:47 -0700 (PDT) Message-ID: <4ACA40FA.7010207@elischer.org> Date: Mon, 05 Oct 2009 11:54:50 -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> <4ACA335C.2060806@elischer.org> <4ACA34F3.60901@mail.ru> In-Reply-To: <4ACA34F3.60901@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 18:54:49 -0000 rihad wrote: > Julian Elischer wrote: >> rihad wrote: >>> Julian Elischer wrote: >>>> Luigi Rizzo wrote: >>>> >>>> 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. >> > > You mean in hardware? Any way to tweak those? no, there is (usually) a software queue before the hardware queue. look at /sys/net/if_ethersubr.c