<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: Just a bit of musing -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: from babe.globecomm.net [207.51.48.8] by mx3.ibm.net id 858109152.61138-1 Tue Mar 11 19:39:12 1997 -->
<!--X-Message-Id: 199703111942.NAA25750@dfw-ix16.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: Just a bit of musing</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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00087.html">Previous</a>
| <a href="msg00089.html">Next</a>
]
Thread:
[ <a href="msg00086.html">Previous</a>
| <a href="msg00089.html">Next</a>
]
Index:
[ <A HREF="author.html#00088">Author</A>
| <A HREF="#00088">Date</A>
| <A HREF="thread.html#00088">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Just a bit of musing</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: Just a bit of musing</LI>
<LI><em>From</em>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Tue, 11 Mar 1997 14:45:52 -0500</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
> From: coder#ibm,net
> Every event executes asynchronously in its own thread using a lockless
> model.
>
> The server core consists of the following base units:
> -- DB
> -- Dispatchor
> -- Executor
> -- Connection
<snip>
>
> User IO arrives thru the Connector. The connector is essentially a
pool of
> threads which asynchronously manage the general pool of outside
connections.
> A seperate monitor is responsible for keeping the IO network tree
happy.
>
> User commands arrive at the Connector and are immediately sent to the
> Dispatchor as Execute-In-Zero-Time (ie no delay) events. The event
logged
> is acutally to parse the command as entered. The dispatchor then
routes
> the event to the Executor, it runs the event and the resultant parse
creates
> a new event which is logged with the Dispatchor to actually execute the
> intended action.
I am particularly interested in how your pool of threads manages socket
connections.
Are these threads dynamically created to manage connections? That is, do
you
n+1 threads managing your connections, where n is active connections plus
one
to handle connection requests on the master socket? Are sockets blocked or
do
you use some other method of activating threads?
<snip>
>
> Well, given an SMP machine, with an OS that will intelligently
distributes
> threads -- that all semi happens for free with me (its not quite so good
> as I try to minimise thread creations, as few to no current OS'es will
> migrate a thread across processors for load sharing). On the other side,
> a definite design goal of my server is for it so support running in
> clustered enviroments where the entire cluster presents a single
> representation of a game.
It is my understanding that many OSs that implement multi-processing will
allocate one CPU for the OS and the rest of the available units to
application
threads. NT 3.51 does this as well as many Unixes. I thought OS2 used
this
model also. (please correct me if I'm wrong)
It is also my understanding that NT 4.0 uses a different model and
implements
"load sharing" as you define it above. I have heard rumors that Digital's
64-bit Unix
uses the "load sharing" model. Does anyone have any info on this?
</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="msg00087.html">Re: mud grammar</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00089.html">Re: Just a bit of musing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00086.html">Re: Just a bit of musing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00089.html">Re: Just a bit of musing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00088"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00088"><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: Just a bit of musing</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00078" HREF="msg00078.html">Re: Just a bit of musing</A></strong>,
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Sat 08 Mar 1997, 19:10 GMT
</LI>
<LI><strong><A NAME="00079" HREF="msg00079.html">Re: Just a bit of musing</A></strong>,
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Sat 08 Mar 1997, 19:19 GMT
</LI>
<LI><strong><A NAME="00080" HREF="msg00080.html">Re: Just a bit of musing</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 09 Mar 1997, 01:34 GMT
</LI>
<LI><strong><A NAME="00086" HREF="msg00086.html">Re: Just a bit of musing</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 11 Mar 1997, 13:45 GMT
</LI>
<LI><strong><A NAME="00088" HREF="msg00088.html">Re: Just a bit of musing</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 12 Mar 1997, 03:39 GMT
</LI>
<LI><strong><A NAME="00089" HREF="msg00089.html">Re: Just a bit of musing</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 12 Mar 1997, 05:10 GMT
</LI>
<LI><strong><A NAME="00090" HREF="msg00090.html">Re: Just a bit of musing</A></strong>,
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Wed 12 Mar 1997, 12:38 GMT
</LI>
<LI><strong><A NAME="00097" HREF="msg00097.html">Re: Just a bit of musing</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 13 Mar 1997, 10:11 GMT
</LI>
<LI><strong><A NAME="00099" HREF="msg00099.html">RE: Just a bit of musing</A></strong>,
Carter T. Shock <a href="mailto:ctso#umiacs,umd.edu">ctso#umiacs,umd.edu</a>, Thu 13 Mar 1997, 10:49 GMT
</LI>
</ul>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>