From owner-freebsd-hackers Sun Feb 17 14:41: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id E5E6337B43F; Sun, 17 Feb 2002 14:40:44 -0800 (PST) Received: from pool0152.cvx21-bradley.dialup.earthlink.net ([209.179.192.152] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16cZyx-0001PM-00; Sun, 17 Feb 2002 14:40:31 -0800 Message-ID: <3C703154.91ED7FB4@mindspring.com> Date: Sun, 17 Feb 2002 14:40:20 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Miguel Mendez Cc: hiten@uk.FreeBSD.org, hackers@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: in-kernel HTTP Server for FreeBSD? References: <20020217143343.41758.qmail@web21104.mail.yahoo.com> <20020217173609.A25030@energyhq.homeip.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Miguel Mendez wrote: > As others have pointed out, it may have big hacker value, but no one > would use it for anything serious. AFAIK there's no such thing for > FreeBSD, but one thing I remember, is that once the Linux kernel incorporated > the zero copy netowrking code, userland HTTP servicing like Tux saw it's > performance increase on par with khttpd, so it seems that's not worth to > run a http server in kernel space. First, livelock means that top end load on a khttpd will be higher than top end load on a user http, where there is so much interrupt traffic that the user space never gets to run. Actually, Alfred claims to be the first person to pre-load porn into the FreeBSD kernel, and his approach seriously predates the khttpd work. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message