From owner-freebsd-hackers Thu Feb 25 20:37:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hokkshideh.jetcafe.org (hokkshideh.jetcafe.org [205.147.43.4]) by hub.freebsd.org (Postfix) with ESMTP id 0063714EA3 for ; Thu, 25 Feb 1999 20:37:50 -0800 (PST) (envelope-from dave@jetcafe.org) Received: from hokkshideh.jetcafe.org (localhost [127.0.0.1]) by hokkshideh.jetcafe.org (8.8.8/8.8.5) with ESMTP id UAA09666 for ; Thu, 25 Feb 1999 20:37:30 -0800 (PST) Message-Id: <199902260437.UAA09666@hokkshideh.jetcafe.org> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-hackers@freebsd.org Subject: Quake2 and UDP recvspace Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Feb 1999 20:37:30 -0800 From: Dave Hayes Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm runing Quake2 on FreeBSD 2.2.8-RELEASE as a dedicated server. Quake2 with many players basically slams the UDP layer of my machine, for those of you who don't already know. :) Netstat -s reports: udp: 110301027 datagrams received 0 with incomplete header 30 with bad data length field 1377 with bad checksum >> 29882 dropped due to no socket 651167 broadcast/multicast datagrams dropped due to no socket >> 15494 dropped due to full socket buffers 0 not for hashed pcb 109603077 delivered 36475854 datagrams output Now I have my sysctl variables set up like so: net.inet.udp.checksum: 1 net.inet.udp.maxdgram: 9216 net.inet.udp.recvspace: 246723 Note that the recvspace is basically as big as I can make it. I noticed a decrease in the "dropped due to full socket buffers" when I increased the recvspace from the default 16K value. I know that the max value is in the kernel somewhere. My questions are "where?" and "what will this screw up if I change it?". ------ Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org Keep Usenet Free - http://www.jetcafe.org/~dave/usenet >>> The opinions expressed above are entirely my own <<< For hatred can never put an end to hatred, love alone can. This is an unalterable law. -The Dhammapada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message