From owner-cvs-all Wed Jun 21 17:48:38 2000 Delivered-To: cvs-all@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 695BA37BF17; Wed, 21 Jun 2000 17:48:32 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e5M0mJq05151; Wed, 21 Jun 2000 17:48:19 -0700 (PDT) Date: Wed, 21 Jun 2000 17:48:19 -0700 From: Alfred Perlstein To: Peter Jeremy Cc: Nate Williams , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c src/sy Message-ID: <20000621174819.Y17420@fw.wintelcom.net> References: <39499E16.9FE731F7@newsguy.com> <200006160506.XAA28743@nomad.yogotech.com> <00Jun22.065502est.115212@border.alcanet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <00Jun22.065502est.115212@border.alcanet.com.au>; from peter.jeremy@alcatel.com.au on Wed, Jun 21, 2000 at 07:13:26PM +1000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Peter Jeremy [000621 13:55] wrote: > On Fri, Jun 16, 2000 at 03:10:07PM +1000, Nate Williams wrote: > >Correct. If we want performance, how about removing the difference > >between kernel and userland. Why have the overhead of the kernel > >vs. userland change, since it causes us to take a big performance hit. > > Agreed. If you want absolute maximum performance, you should build the > server from the ground up, not build it on top of a general-purpose OS. > And I'm not sure that hacking up the kernel is the best approch here. > > For example, UFS is an excellent general purpose filesystem. If > you're only interested in finding the content associated with URLs I > suspect you could do a lot better with something that hashed a URL > directly to a (starting block, file-length) - rather than searching a > directory tree. > > Other areas: > - You don't want your webserver paging or swapping - so most of the VM > subsystem can be thrown away. > - Since all processes are the server, most of the uid-based security > mechanisms can be thrown out. > - Dropping the distinction between userspace and kernel space removes > the need to support ring-transitions (which are quite expensive). Am I supposed to be taking this seriously at this point? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message