msg00339.html

1999Q2/msg00339.html · 7.7 KB

From the archive 1999Q2.zip

Download the archive   « Back to the archive contents

<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Multi&#45;threaded mud server. -->
<!--X-From-R13: Dbff @vpbyy <eavpbyyNybfgvpf.qrzba.pb.hx> -->
<!--X-Date: Fri, 28 May 1999 14:04:09 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.4.10.9905281959150.1646&#45;100000#lostics,demon.co.uk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.BSF.4.05.9905170806490.16018&#45;100000#schultz,io.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Multi-threaded mud server.</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:rnicoll#lostics,demon.co.uk">
</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="msg00338.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00340.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00298.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00282.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00339">Author</A>
&nbsp;|&nbsp;<A HREF="#00339">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00339">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Multi-threaded mud server.</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>: Re: [MUD-Dev] Multi-threaded mud server.</LI>
<LI><em>From</em>: Ross Nicoll &lt;<A HREF="mailto:rnicoll#lostics,demon.co.uk">rnicoll#lostics,demon.co.uk</A>&gt;</LI>
<LI><em>Date</em>: Fri, 28 May 1999 20:02:35 +0000 (GMT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, 17 May 1999, Travis S. Casey wrote:

&gt; &gt; Sorry, this is me not explaining what I meant very well, I think. As I
&gt; &gt; understood it, most MUDs allocated a new thread per user. However, your
&gt; &gt; later suggestions do seem definately better than mine...
&gt; As far as I know, most muds are single-threaded -- all LP servers that I
&gt; know of are, and I think most Dikus are as well.  Giving users threads
&gt; does seem to be something that a lot of new mud servers do, though.
Certainly Dikus were single-threaded last time I checked, but apparently 
MudOS is multi-threaded.

&gt; &gt; An interesting idea, but I think it would require too much inter-process
&gt; &gt; communication, and in particular may not load balance very well...
&gt; Hmm?  This would require *no* interprocess communication -- all the
&gt; threads are in the same process.
*nods* did a very, very silly comp sci course, sorry... I know better now
:)

&gt; Load balancing between threads is only an issue if you have multiple
&gt; CPUs (otherwise they're all sharing the same CPU anyways), and even
&gt; then, it should be the OS's job to balance things out (e.g., running
&gt; multiple low-usage threads on one CPU, while a high-usage thread might
&gt; get its own CPU).
*nods* still, helping it out would be a good idea I thought...

&gt; I'm not sure what you mean by "players would have to be moved between
&gt; threads."  Players aren't *in* a thread -- they're data structures which
&gt; belong to the process as a whole.  Different threads would access those
&gt; data structures, but that doesn't involve any "moving" of the data
&gt; structures.
Comp sci again. I'm going to have to hurt the lecturer :)
-- 
  _   __  __  __
 /_) / / (_  (__
/\  /_/  __)   /
______________/



_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</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="00280" HREF="msg00280.html">Re: [MUD-Dev] Multi-threaded mud server.</A></STRONG>
<UL><LI><EM>From:</EM> "Travis S. Casey" &lt;efindel#io,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00338.html">Re: [MUD-Dev] Multi-threaded mud server.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00340.html">Re: [MUD-Dev] Text Parsing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00298.html">Re: [MUD-Dev] Multi-threaded mud server.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00282.html">Re: [MUD-Dev] Multi-threaded mud server.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00339"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00339"><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] Multi-threaded mud server.</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00273" HREF="msg00273.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 17 May 1999, 03:48 GMT
<UL>
<LI><strong><A NAME="00277" HREF="msg00277.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Ross Nicoll <a href="mailto:rnicoll#lostics,demon.co.uk">rnicoll#lostics,demon.co.uk</a>, Mon 17 May 1999, 04:22 GMT
<UL>
<LI><strong><A NAME="00280" HREF="msg00280.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Travis S. Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Mon 17 May 1999, 15:24 GMT
<UL>
<LI><strong><A NAME="00298" HREF="msg00298.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Ola Fosheim Grøstad <a href="mailto:no#no,no">no#no,no</a>, Tue 18 May 1999, 06:44 GMT
</LI>
<LI><strong><A NAME="00339" HREF="msg00339.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Ross Nicoll <a href="mailto:rnicoll#lostics,demon.co.uk">rnicoll#lostics,demon.co.uk</a>, Fri 28 May 1999, 21:04 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00282" HREF="msg00282.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 17 May 1999, 15:26 GMT
<UL>
<LI><strong><A NAME="00297" HREF="msg00297.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Tue 18 May 1999, 06:43 GMT
</LI>
<LI><strong><A NAME="00299" HREF="msg00299.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Ross Nicoll <a href="mailto:rnicoll#lostics,demon.co.uk">rnicoll#lostics,demon.co.uk</a>, Tue 18 May 1999, 06:45 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00284" HREF="msg00284.html">Re: [MUD-Dev] Multi-threaded mud server.</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 17 May 1999, 15:46 GMT
</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>

Site Stats

Snippets: 1791
Codebases: 571