1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]	Re: Multi&#45;threaded mudding (was a flamefest) -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx4.ibm.net id 862639061.39560&#45;1 Sat May  3 05:57:41 1997 -->
<!--X-Message-Id: 9705030208.7yzv@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]	Re: Multi-threaded mudding (was a flamefest)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00316.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00318.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00319.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00314.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00317">Author</A>
&nbsp;|&nbsp;<A HREF="#00317">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00317">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]	Re: Multi-threaded mudding (was a flamefest)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]	Re: Multi-threaded mudding (was a flamefest)</LI>
<LI><em>From</em>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Fri, 2 May 97 19:08:12 MST</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[Jon L:]
:If OS multi-threading is superior to software time-slicing on your platform
:then it would follow, that a multi-threaded event-driven server would
:outperform a single-threaded event-driven server regardless of 
:how many CPUs your processor has.

I don't see that. The advantage that multiple threads have over multiple
processes is that switching between OS-supported threads takes less CPU
work than switching between full processes. That distinction doesn't
exist if you are running only within one OS thread. In fact, it might
even be the other way - the thread switching you do within one process
costs more than just subroutine calls, as done without threads. Using
threads within one process *can* be beneficial in terms of structuring
(I did that in our user agent program at work, and it would have been
much more painful without the threads), but it is going to cost more
memory (stacks for the threads), and likely more CPU as well. If you
can use OS threads, I'd say do it - you never know when someone is going
to be able to run your system on a big multi-CPU machine.

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00316.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00318.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00319.html">Last sendmail test (we're up to 8.*)!</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00314.html">More sendmail tests...</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00317"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00317"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: Prepositions and parsing</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00328" HREF="msg00328.html">Re: Prepositions and parsing</A></strong>, 
S001GMU <a href="mailto:S001GMU#nova,wright.edu">S001GMU#nova,wright.edu</a>, Wed 07 May 1997, 20:36 GMT
<UL>
<LI><strong><A NAME="00345" HREF="msg00345.html">Re: [MUD-Dev]  Re: Prepositions and parsing</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 10 May 1997, 00:14 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00325" HREF="msg00325.html">Comments on the DB layer</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 07 May 1997, 07:43 GMT
<LI><strong><A NAME="00319" HREF="msg00319.html">Last sendmail test (we're up to 8.*)!</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sun 04 May 1997, 08:37 GMT
<LI><strong><A NAME="00317" HREF="msg00317.html">Re: [MUD-Dev]	Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 03 May 1997, 12:57 GMT
<LI><strong><A NAME="00314" HREF="msg00314.html">More sendmail tests...</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 03 May 1997, 12:19 GMT
<LI><strong><A NAME="00304" HREF="msg00304.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Fri 02 May 1997, 10:30 GMT
<UL>
<LI><strong><A NAME="00308" HREF="msg00308.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Sat 03 May 1997, 01:10 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00305" HREF="msg00305.html">Re: [MUD-Dev]  Re: Multi-threaded mudding (was a flamefest)</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Fri 02 May 1997, 11:56 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>