From owner-freebsd-questions Tue Sep 19 9:31: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 4D10437B423 for ; Tue, 19 Sep 2000 09:30:58 -0700 (PDT) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id e8JGUti31953; Tue, 19 Sep 2000 09:30:55 -0700 (PDT) (envelope-from jhb@foo.osd.bsdi.com) Received: (from jhb@localhost) by foo.osd.bsdi.com (8.11.0/8.11.0) id e8JGSaw81778; Tue, 19 Sep 2000 09:28:36 -0700 (PDT) (envelope-from jhb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <02d401c02254$ccc7d760$e1e9b487@dnrc.belllabs.com> Date: Tue, 19 Sep 2000 09:28:36 -0700 (PDT) Organization: BSD, Inc. From: John Baldwin To: Manoj Chaudhari Subject: RE: select() system call Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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