1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MUD Development Digest -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Wed, 22 Apr 1998 15:24:20 &#45;0700 -->
<!--X-Message-Id: 199804222222.RAA25291@dfw&#45;ix15.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9804101611.8wfn@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MUD Development Digest</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.com">
</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="msg00249.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00260.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00125.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00387.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00337">Author</A>
&nbsp;|&nbsp;<A HREF="#00337">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00337">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MUD Development Digest</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: MUD Development Digest</LI>
<LI><em>From</em>: "Jon A. Lambert" &lt;<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 22 Apr 1998 18:26:27 -5</LI>
<LI><em>Delivery-date</em>: Wed Apr 22 15:24:23 1998</LI>
<LI><em>Delivery-date</em>: Wed, 22 Apr 1998 15:24:23 -0700</LI>
<LI><em>Envelope-to</em>: claw#kanga,nu</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent,,,," &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 10 Apr 98 at 11:51, Chris Gray wrote:
&gt; [Alex O:]
&gt; 
&gt; [Fibre description snipped]
&gt; 
&gt; :I don't any advantage in using fibers instead of threads in a MUD server.
&gt; 
&gt; I'll second that. Fibres within a thread cannot take advantage of extra
&gt; CPU's, so give you no speed increase on multi-CPU machines. If a fibre
&gt; does a system call, the entire thread is busy until that call returns.
&gt; So, unless you have some flow-control problem that is best solved by
&gt; having the multiple contexts of multiple fibres, and you need to switch
&gt; those contexts so often that threads are too expensive, there is little
&gt; gain to using fibres.
&gt; 

After coming up to speed on the matter, I'll third it. ;)
Some theoretical caveats though.  In applications where multi-tasking 
has already designed into the software through soft-control, fibers 
may well be have an advantage over the expense of using threads.  
Some soft-control thread implementations perform better than 
hard-control or OS thread-switching.
     The decision whether to use them are similar to deciding 
whether to have the OS do memory management or cacheing for you.  
Once again the application may well know better than the OS on how to 
schedule it's tasks.  Still your are limited to the priorities 
established by the running process or controlling thread.
     I don't see my server benifitting from fibers in any 
"measurable" way, since my implementation of threads is primarily in 
points of control where asychronous execution has performance 
benefits (I/O).  However they might provide a slight performance 
boost in the simulated concurrency of multiple executing VMs which 
currently are thread-based although they are really time-sliced (or 
tick-based) not premptive.  Fibers might be superior to threads in 
time-sliced applications which have no synchronous waits.  Then 
again, this would not be true should I ever get run it on a machine 
capable of multi-processor threading.   

--
--/*\ Jon A. Lambert - TychoMUD     Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page &lt;<A  HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>&gt; /*\--
--/*\   "Everything that deceives may be said to enchant" - Plato   /*\--

-- 
MUD-Dev: Advancing an unrealised future.
</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00123" HREF="msg00123.html">Re: [MUD-Dev] Re: MUD Development Digest</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00249.html">[MUD-Dev] (fwd) Sea of Blood Graphical MUD</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00260.html">[MUD-Dev] Re:  Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00125.html">Re: [MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00387.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00337"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00337"><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: [MUD-Dev] [Fwd: MUD-Dev]</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00083" HREF="msg00083.html">Re: [MUD-Dev] [Fwd: MUD-Dev]</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 09 Apr 1998, 02:24 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00040" HREF="msg00040.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 06 Apr 1998, 17:09 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00123" HREF="msg00123.html">Re: [MUD-Dev] Re: MUD Development Digest</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 10 Apr 1998, 18:21 GMT
<UL>
<LI><strong><A NAME="00125" HREF="msg00125.html">Re: [MUD-Dev] Re: MUD Development Digest</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,umop-ap.com">jleonard#divcom,umop-ap.com</a>, Fri 10 Apr 1998, 19:33 GMT
</LI>
<LI><strong><A NAME="00337" HREF="msg00337.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 22 Apr 1998, 22:24 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00387" HREF="msg00387.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 23 Apr 1998, 14:46 GMT
<UL>
<LI><strong><A NAME="00498" HREF="msg00498.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 24 Apr 1998, 04:11 GMT
<UL>
<LI><strong><A NAME="00515" HREF="msg00515.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 24 Apr 1998, 04:44 GMT
<UL>
<LI><strong><A NAME="00533" HREF="msg00533.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 24 Apr 1998, 05:51 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>