Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2000 17:48:19 -0700
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        Nate Williams <nate@yogotech.com>, 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>
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 %2B1000
References:  <39499E16.9FE731F7@newsguy.com> <XFMail.000616132841.doconnor@gsoft.com.au> <200006160506.XAA28743@nomad.yogotech.com> <00Jun22.065502est.115212@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
* Peter Jeremy <peter.jeremy@alcatel.com.au> [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




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