From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 10 14:56:49 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12EF737B407; Thu, 10 Apr 2003 14:56:49 -0700 (PDT) Received: from mrout2.yahoo.com (mrout2.yahoo.com [216.145.54.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DEC443F75; Thu, 10 Apr 2003 14:56:48 -0700 (PDT) (envelope-from jayanth@yahoo-inc.com) Received: from milk.yahoo.com (milk.yahoo.com [216.145.52.137]) h3ALubs03426; Thu, 10 Apr 2003 14:56:37 -0700 (PDT) Received: (from root@localhost) by milk.yahoo.com (8.11.0/8.11.0) id h3ALuZc59514; Thu, 10 Apr 2003 14:56:35 -0700 (PDT) (envelope-from jayanth) Date: Thu, 10 Apr 2003 14:56:35 -0700 From: jayanth To: Mike Silbersack Message-ID: <20030410145635.A59453@yahoo-inc.com> References: <20030410171640.C44793B2@porter.dc.luth.se> <20030410043827.A936@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20030410043827.A936@odysseus.silby.com>; from silby@silby.com on Thu, Apr 10, 2003 at 04:41:32AM -0500 cc: freebsd-hackers@freebsd.org cc: freebsd-performance@freebsd.org cc: "Jin Guojun \[DSD\]" cc: Eric Anderson cc: David Gilbert Subject: Re: tcp_output starving -- is due to mbuf get delay? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 21:56:49 -0000 You can probably try netstat -s -p ip and look at the "output packets dropped due to no bufs, etc." value. jayanth Mike Silbersack (silby@silby.com) wrote: > > On Thu, 10 Apr 2003, Borje Josefsson wrote: > > > > > Have you tried running kernel profiling yet? It would be interesting to > > > > see which functions are using up the largest amount of time. > > > > Could do that if I knew how... Not before the weekend though, right now > > I'm at the longue at the airport... > > I believe that the manpages regarding how to set it up were pretty useful, > it didn't take me long to get it operational last time I tried. However, > that was a while ago, so I can't give you any helpful tips. > > > If everything is OK (which it apparently isn't), top will show free CPU, > > and netstat should show a *very* steady packet flow (around 90kpps if You > > have MTU 1500). Any packet loss is fatal for this speed, so if there is a > > way (as indicated by Mike above) to not restarting with windowsize from > > scratch that will make recovery much better. > > Well, the packet loss I pointed out would be due to the ifqueue > overflowing, which could concieveably happen even if the actual network > wasn't congested. I don't have the equipment to create such a situation, > but it sounds like you might, in which case adding a debug printf or a > counter to see if it's happening might be advantageous. > > Mike "Silby" Silbersack > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >