From owner-freebsd-current Wed Feb 12 07:42:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA04813 for current-outgoing; Wed, 12 Feb 1997 07:42:29 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA04797; Wed, 12 Feb 1997 07:42:15 -0800 (PST) Received: by sovcom.kiae.su id AA13803 (5.65.kiae-1 ); Wed, 12 Feb 1997 18:13:33 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Wed, 12 Feb 97 18:13:33 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id SAA00491; Wed, 12 Feb 1997 18:10:03 +0300 (MSK) Date: Wed, 12 Feb 1997 18:09:57 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: "Mikhail A. Sokolov" Cc: hackers@freebsd.org, "Alex G. Bulushev" , current@freebsd.org Subject: Re: upcoming version suggestions In-Reply-To: <199702121121.OAA13512@megillah.demos.su> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 12 Feb 1997, Mikhail A. Sokolov wrote: > There's really need to set FDSETSIZE (/sys/sys/types.h, afair) default > to something like 1024, - then you don't need to recompile kernel as ^^^^^^ maybe you mean binaries instead? -current kernel works without recompiling with any value. > soon as you start news server and/or ftp/www, like, loaded one. Example: > you won't get any improvements rearranging MAXOPEN value, before you > rearrange FDSETSIZE. I agree that we need to bump it, 256 is too low nowdays. We need to check what other modern systems have, f.e. SunOS 5.5.1 have FD_SETSIZE == 1024 > Another idea is to enlarge default for SOMAXCONN (/sys/socket.h). > When you have something running for it to be available to have more > open passive tcp connections sumaltaneously. Example is Squid proxy cache{d} > which uses this include in the listen(). > > Comments are definetely appreciated. Another idea is to increase max ptys number from 256 to 512 or 1024 -- Andrey A. Chernov http://www.nagual.ru/~ache/