From owner-cvs-sys Sat Feb 15 23:04:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16781 for cvs-sys-outgoing; Sat, 15 Feb 1997 23:04:38 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA16636; Sat, 15 Feb 1997 23:02:19 -0800 (PST) From: Mike Pritchard Message-Id: <199702160702.XAA16636@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/sys types.h To: bde@zeta.org.au (Bruce Evans) Date: Sat, 15 Feb 1997 23:02:18 -0800 (PST) Cc: ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199702160334.OAA05142@godzilla.zeta.org.au> from "Bruce Evans" at Feb 16, 97 02:34:13 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sounds like it is time for us to implement the poll system call. I noticed that OpenBSD has already done so. Bruce Evans wrote: > > >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 > -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn"