From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 21 21:09:50 2005 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 8357B16A4CE for ; Thu, 21 Apr 2005 21:09:50 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6FD43D39 for ; Thu, 21 Apr 2005 21:09:49 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 72568 invoked from network); 21 Apr 2005 21:11:36 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 21 Apr 2005 21:11:36 -0000 Message-ID: <42681699.8040904@freebsd.org> Date: Thu, 21 Apr 2005 23:09:45 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 MIME-Version: 1.0 To: Rob References: <20050421204726.GK14341@xor.cs.umd.edu> In-Reply-To: <20050421204726.GK14341@xor.cs.umd.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD Network Implementation Question 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, 21 Apr 2005 21:09:50 -0000 Rob wrote: > [applogies if this is in a FAQ somewhere... I've looked in a number of places, and > am not able to find the answer] > > Hi, > > I am trying to figure out how large a specific buffer is in FreeBSD. > The buffer in question is the buffer between the network layer and the > ethernet device, i.e., if packets are being passed down the network > stack from tcp faster than the hardware can handle them, at what point > do packets start getting dropped locally? > > I believe the answer is: > > % sysctl -a > [snip] > net.inet.ip.intr_queue_maxlen: 50 > > But try as I might, I can't find the documentation of the variable to > confirm it. Can anyone point me in the right direction? You figured it out correctly. However at that moment TCP flow control would kick in and save you from local packet loss so to say. -- Andre