From owner-freebsd-net Wed Sep 18 8: 3:35 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64E3A37B401 for ; Wed, 18 Sep 2002 08:03:34 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 252D443E42 for ; Wed, 18 Sep 2002 08:03:33 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from he.iki.fi (localhost.he.iki.fi [127.0.0.1]) by silver.he.iki.fi (8.12.5/8.11.4) with ESMTP id g8IF3T0x094470 for ; Wed, 18 Sep 2002 18:03:31 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <3D8895BE.F2F12CED@he.iki.fi> Date: Wed, 18 Sep 2002 18:03:26 +0300 From: Petri Helenius X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.6-STABLE i386) X-Accept-Language: en,fi MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: socket buffers Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I played around adjusting udp socket buffers for a while and noticed that if the input buffer is set to a value, packets start getting dropped when npkt*MTU > SO_RCVBUF so if a socket receives 100 byte packets over an ethernet interface of 1500 byte MTU and receive buffer of 100k the packets start dropping at less than 10k received data in a buffer. Is this a feature or a bug? I'm running RELENG_4 from a few weeks ago. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message