From owner-freebsd-questions Mon Oct 19 16:43:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04642 for freebsd-questions-outgoing; Mon, 19 Oct 1998 16:43:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from schizo.cdsnet.net (schizo.cdsnet.net [204.118.244.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04637 for ; Mon, 19 Oct 1998 16:43:10 -0700 (PDT) (envelope-from mrcpu@internetcds.com) Received: from localhost (mrcpu@localhost) by schizo.cdsnet.net (8.8.8/8.7.3) with SMTP id QAA09161; Mon, 19 Oct 1998 16:40:43 -0700 (PDT) Date: Mon, 19 Oct 1998 16:40:43 -0700 (PDT) From: Jaye Mathisen X-Sender: mrcpu@schizo.cdsnet.net To: Daniel Harris cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD And Max Simultaneous Connections In-Reply-To: <001e01bdf626$d4030600$673cbece@penguin.cyberjunky.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Seems like one of those questions that can only be answered by testing. I'm not sure there's enough info here toanswer that in any meaningful fashion. For example, is this a single threaded daemon multiplexing a lot of socket descriptors, or is it a fork-type daemon that forks a copy to handle each connection? TCP? UDP? How large is the daemon? Is 256MB of RAM enough? How many file descriptors are necessary per connection? DB connections? Is there any other kind of I/O necessary? In any case, (and you can use this as a wild guess), as a test, I ran 4000 HTTPD's (apache), serving 1000 different IP's, with static pages consuming about 2GB of disk, on a box that also had 1000 inetd's running, and it worked fine for static pages. The box was a P6-200, I think it had 512MB RAM, and NFS mounted it's FS's. YMMV. On Mon, 12 Oct 1998, Daniel Harris wrote: > We are trying to determine the absolute maximum amount of simultaneous > connections a FreeBSD machine can handle under the worst conditions. > Transmissions would encompass one port, around 512 bytes of data, and > handled by a custom daemon. The machines would be of the following > configuration: > > K62-350 > 256mb RAM > Ultra Wide Scsi Disks > 512k Cache > PCI 100mbit ethernet > > We have no idea what the FreeBSD operating system itself can handle (either > 3.0 or a 2.2.X variant) and don't really have a way to test at this point. > > We need to find out the number of machines it would require to service a > pre-determined amount of connections assuming we had the bandwidth and > resources to support it. > > Can anyone also tell me what I can do to tweak a machine to handle the Max > connections? IE, the kernel config needed (maxusers, somaxconn, etc), and > hardware side. > > Thanks.. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message