From owner-freebsd-hackers Sun Dec 19 14: 6:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from test.tar.com (test.tar.com [204.95.187.4]) by hub.freebsd.org (Postfix) with ESMTP id E203315105 for ; Sun, 19 Dec 1999 14:06:50 -0800 (PST) (envelope-from dick@test.tar.com) Received: (from dick@localhost) by test.tar.com (8.9.3/8.9.3) id QAA06450; Sun, 19 Dec 1999 16:06:45 -0600 (CST) (envelope-from dick) Date: Sun, 19 Dec 1999 16:06:45 -0600 From: "Richard Seaman, Jr." To: "Ronald F. Guilmette" Cc: hackers@FreeBSD.ORG Subject: Re: Practical limit for number of TCP connections? Message-ID: <19991219160645.E317@tar.com> References: <19991219145821.D317@tar.com> <47931.945638475@monkeys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <47931.945638475@monkeys.com>; from rfg@monkeys.com on Sun, Dec 19, 1999 at 01:21:15PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Dec 19, 1999 at 01:21:15PM -0800, Ronald F. Guilmette wrote: > It sounds to me like each and every time there is a thread context switch, > some code in the library may have to execute a (perhaps enormous) call to > select() or else to poll(). Yes? poll(). It used to use select(). And, not only at each thread context switch, but each time it has to consider whether to do a switch at all (eg. at the end of a timeslice). -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 262-367-5450 Chenequa WI 53058 fax: 262-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message