From owner-cvs-sys Sat Feb 15 19:37:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA09798 for cvs-sys-outgoing; Sat, 15 Feb 1997 19:37:15 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA09793; Sat, 15 Feb 1997 19:37:04 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id OAA05142; Sun, 16 Feb 1997 14:34:13 +1100 Date: Sun, 16 Feb 1997 14:34:13 +1100 From: Bruce Evans Message-Id: <199702160334.OAA05142@godzilla.zeta.org.au> To: ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/sys types.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >ache 97/02/15 14:26:30 > > Modified: sys/sys types.h > Log: > Bump default FD_SETSIZE from 256 to 1024 as many modern > systems do nowdays (like SunOs 5.5.1 f.e.) > 256 is too small under real network load Please back it out. The kernel is not read for this. It always rounds up to a multiple of FD_SETSIZE bits. This will clobber old applications. It also bzeros a multiple of 6 * FDSETSIZE bits. This will take a fairly long time with a large FD_SETSIZE. It already takes too long. All this is because select() is specified to handle `struct fd_set's. The kernel handles whole objects. Bruce