Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.magicnet.net!news1.good.net!news.good.net!www.nntp.primenet.com!nntp.primenet.com!news1.best.com!nntp1.best.com!flash.noc.best.net!not-for-mail From: dillon@best.com (Matthew Dillon) Newsgroups: comp.os.linux.misc,comp.unix.bsd.freebsd.misc,comp.infosystems.www.misc Subject: Re: Unix too slow for a Web server? Date: 30 Oct 1996 14:32:43 -0800 Organization: Best Internet Communications, Inc. (info@best.com) Lines: 38 Distribution: world Message-ID: <558l2b$2k8@flash.noc.best.net> References: <323ED0BD.222CA97F@pobox.com> <552p74$23e@polo.demon.co.uk> <557s4q$i8o@tracy.nacs.net> <VA.0000006a.006d9d17@roadrunner> NNTP-Posting-Host: flash.noc.best.net Xref: euryale.cc.adfa.oz.au comp.os.linux.misc:138678 comp.unix.bsd.freebsd.misc:30253 comp.infosystems.www.misc:45191 :In article <VA.0000006a.006d9d17@roadrunner>, :Tim Hawkins <timh@lootlon.loot.co.uk> wrote: :> :>> As much as I hate NT I have to say this. Every NT specific server :>> uses threads. It's inherent in NT and so it's very easy to make use :>> of. And, I'm going to guess that the reasont that OS/2 was mentioned :>> is because it, too, uses threads natively, including it's HTTP >> servers. :>> :> :>Microsoft also introduced a new type of thread called a "Fibre", this :>is even lighter that a standard thread and will context switch faster. :>MS IIS will use these, which is why IIS needs a minimum of SP4 to run. :>The API for Fibre's was published at the same time. One must realize that these are just hacks to get around their phenominally slow operating system. If they had done the task switching right in the first place, it wouldn't be an issue. I can make a fibre under FreeBSD too, it's simple: switch(from,to) pushal movl %esp,FIB_SPSAVE(from) movl FIB_FPSAVE(to),%esp popal ret Not a big deal... -Matt -- Matthew Dillon Engineering, BEST Internet Communications, Inc. <dillon@best.net> [always include a portion of the original email in any response!]