From owner-freebsd-questions Sun Dec 16 11:37:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gamma.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id 707BD37B41C for ; Sun, 16 Dec 2001 11:37:29 -0800 (PST) Received: (qmail 86910 invoked from network); 16 Dec 2001 19:37:28 -0000 Received: from dclient217-162-128-224.hispeed.ch (HELO athlon550) (217.162.128.224) by 0 with SMTP; 16 Dec 2001 19:37:28 -0000 Date: Sun, 16 Dec 2001 20:38:41 +0100 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.53bis) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <1461061760260.20011216203841@buz.ch> To: Roy Sigurd Karlsbakk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: in-kernel web server??? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello Roy, Sunday, December 16, 2001, 7:02:46 PM, you wrote: > I've been trying to setup a pretty weird system with Linux and the > in-kernel web server Tux. This gives me quite good I/O, and with > zero-copy memory operation, this is FAST! > Problem: Linux caching/buffering sucks, and by reading lots of > large files at once (some 200 files, each 3-4GB), the system slows > down to a mere 1MB/sec after 30-40 seconds. > Are there any Tux/khttpd-like (in-kernel) web servers for FreeBSD? I think putting a webserver in the kernel is a pretty stupid thing to do since this means that you either can serve statical content only or you need some mechanism to cope with dynamic content (one could somehow communicate with a userland PHP version, sure, but how much would this gain, then?). Further, it imposes a lot of security issues. There are many very small webservers which are mainly made to serve statical content. Although these probably have higher resource requirements I think the benefit of being able to easily run them on systems with more than one CPU could help a lot. Best regards, Gabriel " -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBPBzqNcZa2WpymlDxAQH5GggAoIeb7MI9Pctc1jarCGQgRTDL2StSFl1h N1uICL5TvakMz9QQ8vZkwRiybbbD/lidTFRLpHSsz9eqQZ7RdKDnUIZrG0CPIzdr DpH8yjZkXXMzmgmKob76G46zWyq4aVsuchtKN4T3loLnRUwwZMyOjQKWYJlmUrRB JFuvUZwqBXhWAtrXKBCeBC4BdcopsbItSGn2Tim0bFslBfLKw7DxhoUcZnpf6XmR BKi6kCggQNLs73483zvYrP+paM/KM6zKA7hf67VdRXVmUMrEEAVT/mpIpj0YG7G1 xC8r3zH4Gv0rijiBQPGLXfJMzq4cyTgxhCwyyll02/J50In2DWIBYA== =prXK -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message