Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 09:28:36 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Manoj Chaudhari <manojc@dnrc.bell-labs.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: select() system call
Message-ID:  <XFMail.000919092836.jhb@FreeBSD.org>
In-Reply-To: <02d401c02254$ccc7d760$e1e9b487@dnrc.belllabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19-Sep-00 Manoj Chaudhari wrote:
> Hi,
> 
> From Notes in man for select():
> For historical reasons, select() will always examine the first 256
> descriptors.
> 
> Has anybody corrected this ?? where can I get the patch ??
> 
> How good is select() system call in FreeBSD 3.5 and onwards ??
> When FD_SETSIZE is really big like 32768.

You probably want to look at using poll() in 3.x, and in 4.x and later
using the new kqueue system, which can give you a dramatical performance
increase.

> thanks 
> 
> -Manoj

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000919092836.jhb>