*BSD News Article 78690


Return to BSD News archive

From: Miguel de Icaza <miguel@sphinx.nuclecu.unam.mx>
Newsgroups: comp.os.linux.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Unix too slow for a Web server?
Date: 20 Sep 1996 10:24:36 -0500
Organization: Universidad Nacional Autonoma de Mexico
Lines: 17
Message-ID: <s8hgot6wgb.fsf@sphinx.nuclecu.unam.mx>
References: <323ED0BD.222CA97F@pobox.com> <51mod4$f7@umbc7.umbc.edu>
NNTP-Posting-Host: hill.gnu.ai.mit.edu
X-Newsreader: Gnus v5.2.39/Emacs 19.34
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!pumpkin.pangea.ca!chronos.syr.edu!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!bloom-beacon.mit.edu!ai-lab!usenet
Xref: euryale.cc.adfa.oz.au comp.os.linux.misc:130275 comp.unix.bsd.freebsd.misc:27589


> The article is somewhat strange.. I don't see how an NT box is going to
> serve 13 times faster than an equivilant box running Unix.  If you are
> running apache, for example, the connection grabs an existing server and
> simply throws the data out.. very little slowdown.

Keep in mind that the default setup of Apache may dispatch pages
slower than NT just because it does a hostname lookup from the
incoming connection.  Try to download a set of pages from a stock
Apache server from a machine without a name and see what happens.

Fixing this is easy: just tell Apache not to do DNS reverse lookups.

-- 
miguel@roxanne.nuclecu.unam.mx     
The GNU Midnight Commander: http://www.linux.org/mc
Linux/SPARC project:        http://www.geog.ubc.ca/sparclinux.html