Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 1997 09:40:21 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/sys types.h
Message-ID:  <Pine.BSF.3.95q.970216092924.527A-100000@nagual.ru>
In-Reply-To: <199702160334.OAA05142@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 Feb 1997, 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.

Well, I'll back out it for now, but we need to fix the kernel to handle
it properly.

> 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.

It means that current select algorithm must be rewritten, any ideas?

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970216092924.527A-100000>