1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Re: MUD Development Digest -->
<!--X-From-R13: X Q Znjerapr <pynjNhaqre.rate.ftv.pbz> -->
<!--X-Date: Wed, 08 Apr 1998 20:23:01 +0000 -->
<!--X-Message-Id: 199804082022.NAA98050#under,engr.sgi.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 000401bd5fe2$fe149010$243939cc#foghorn,toon.org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Re: MUD Development Digest</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#under,engr.sgi.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="msg00074.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00076.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00088.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00086.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00075">Author</A>
&nbsp;|&nbsp;<A HREF="#00075">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00075">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [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#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Re: MUD Development Digest </LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 08 Apr 1998 13:22:21 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sat, 4 Apr 1998 09:39:55 PST8PDT 
Justin McKinnerney&lt;xymox#toon,org&gt; wrote:

&gt; First, I agree with your first comment. I have heard people claim
&gt; their disk-based muds run faster than memory-based, but this all
&gt; semantics. If a disk-based game does run notably faster than it's
&gt; memory-based equivilant, it's simply due to the fact the operating
&gt; system is doing a better job of memory managment (perhaps doing
&gt; cache alignment, for instance), which wouldn't be suprising
&gt; considering some of the code for MUDs I have seen.

No.  Typically it has nothing to do with the OS'es memory supports,
but has to do with working __around__ the OS'es memory model as it is
inefficient for the task at hand.  The performance gains are due to
the fact that the disk-based game uses intelligent cacheing which
forces a (reasonably) minimum number of pages for the game's working
set.  Its not very difficult to put the entire world in RAM, and then
chew all your performance with page faults -- or to get it back again
by keeping some of the disk IO, but losing the constant page faults.

&gt; I agree with you that a RAID is a good thing to have, but I do not
&gt; believe that it will completely eliminate the possible need for a
&gt; seprate process to do disk IO on a large multiuser system. While
&gt; it's true most RAID systems have hardware level memory caching, the
&gt; operating system still blocks all accesses to the hardware. This
&gt; causes a sleep state in your process, and if you have enough access
&gt; going on, even a large buffer can be heavily burdened.

Not if you configure the RAID sub-system to do lazy writes (ie report
success back to the caller as soon as the data is recei ved, not after
it is written).  At that point the latency of the IO calls is strictly
controlled by the latency of your communication stream with the RAID
sub-system and has no dependencies on the physical disk speed at all
(presuming you are not saturating the cache at the disk end -- which
you'd better not be (need a bigger cache in that case)).

Note also that several of the more intelligent OS/disk support designs
allow disk IO to be multi-plexed at the user-space call level, only
serialising (if at all) the calls (or data streams as they are then
cache derived) as they head down the wire (not necessary under SCSI).
Ergo no contention.

&gt; Going with a seprate process for all blocking IO guarentees that you
&gt; will not loose any processor cycles due to sleep states you did not
&gt; design your application to have. This enables you to continue
&gt; executing, say, the command of another user while disk IO relative
&gt; to the first user is being processed. Then once you've done your
&gt; roundrobin queue (or however you set it up) and come back to the
&gt; first user, the disk IO should be ready.

&lt;kof&gt;

&gt; And remember! Non-blocking syncronous IO is your friend. :)

True.

&gt;&gt; -----Original Message----- 

Writing as list owner:

  Please use the standard quoting format of this list and intersperse
your new text with selected quotes from the original message (example
above).  Quoting the entire message again is a waste of bandwidth and
is *NOISE*.


-- 
J C Lawrence                               Internet: claw#null,net
(Contractor)                               Internet: coder#ibm,net
---------(*)                     Internet: claw#under,engr.sgi.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00086" HREF="msg00086.html">Re: [MUD-Dev] Re: MUD Development Digest</A></strong>
<ul compact><li><em>From:</em> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00016" HREF="msg00016.html">RE: [MUD-Dev]  Re: MUD Development Digest</A></STRONG>
<UL><LI><EM>From:</EM> "Justin McKinnerney" &lt;xymox#toon,org&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00074.html">Genetic Algorithms</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00076.html">Re: [MUD-Dev]  Resisting Charm or you're cute and nice, but not to die for.</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00088.html">Re: [MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00086.html">Re: [MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00075"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00075"><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]  Re: MUD Development Digest</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00039" HREF="msg00039.html">RE: [MUD-Dev]  Re: MUD Development Digest</A></strong>, 
Justin McKinnerney <a href="mailto:xymox#toon,org">xymox#toon,org</a>, Mon 06 Apr 1998, 12:31 GMT
<UL>
<LI><strong><A NAME="00082" HREF="msg00082.html">Re: [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>, Thu 09 Apr 1998, 02:22 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00081" HREF="msg00081.html">Re: [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>, Thu 09 Apr 1998, 01:48 GMT
<UL>
<LI><strong><A NAME="00088" HREF="msg00088.html">Re: [MUD-Dev] Re: MUD Development Digest</A></strong>, 
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Thu 09 Apr 1998, 11:31 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00075" HREF="msg00075.html">Re: [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>, Wed 08 Apr 1998, 20:23 GMT
<UL>
<LI><strong><A NAME="00086" HREF="msg00086.html">Re: [MUD-Dev] Re: MUD Development Digest</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Thu 09 Apr 1998, 05:48 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00073" HREF="msg00073.html">Re: [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>, Wed 08 Apr 1998, 18:22 GMT
</LI>
<LI><strong><A NAME="00762" HREF="msg00762.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>, Wed 22 Apr 1998, 18:40 GMT
<UL>
<LI><strong><A NAME="00346" HREF="msg00346.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 23 Apr 1998, 02:56 GMT
</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>