Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2005 23:09:45 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Rob <capveg@cs.umd.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD Network Implementation Question
Message-ID:  <42681699.8040904@freebsd.org>
In-Reply-To: <20050421204726.GK14341@xor.cs.umd.edu>
References:  <20050421204726.GK14341@xor.cs.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42681699.8040904>