*BSD News Article 58195


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!news.iij.ad.jp!news.CET.CO.JP!usenet
From: Michael Hancock <michaelh@cet.co.jp>
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.advocacy
Subject: Re: BSDI Vs. NT... NT looses big
Date: 27 Dec 1995 05:00:53 GMT
Organization: CET
Lines: 31
Message-ID: <4bqju5$7u2@diablo.cet.co.jp>
References: <taxfree.3.00C439A1@primenet.com> <4bdd76$a04@news.voicenet.com> <4bdulp$4r8@mail.fwi.uva.nl> <4be592$6tb@madeline.ins.cwru.edu> <4bhfmp$gei@Mars.mcs.com>
NNTP-Posting-Host: pc01.cet.co.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1848 comp.unix.advocacy:12666

les@MCS.COM (Leslie Mikesell) wrote:
>In article <4be592$6tb@madeline.ins.cwru.edu>,
>Gabriel N. Schaffer <gns2@po.CWRU.Edu> wrote:
>
>>>Why is it that NT advocates always compare todays (or usually
>>>tomorrows :-) MS Windows /Windows NT features with Unix
>>>as it was more than ten years ago?  Modern Unices are multithreaded
>>>Modern HTTP servers on UNIX are multithreaded.
>>
>>Oh really?  The web was practically invented on Unix this decade, therefore
>>you should be able to name an overabundance of modern HTTP servers on Unix
>>that are multithreaded.
>
>First someone has to demonstrate that there is an advantage for them.

You might want to look at Peter Erikson's phttpd at 
ftp.lysator.liu.se.  Benchmarks were posted on c.i.w.s.u that show it 
outperforming Apache by a wide margin.

It is very well written.  It uses threads, mmap, and POSIX signals 
(sigaction, etc).

It uses UI-threads so it will only run on Solaris or probably UnixWare, 
but I'm sure pthreads HTTP servers exist that show similar performance 
gains.

-- 
Michael Hancock
michaelh@cet.co.jp