1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Re: Disk v. Mem -->
<!--X-From-R13: Xrss Yrffryzna <wrssxNgrargjbex.pbz> -->
<!--X-Date: from ren.globecomm.net [207.51.48.3] by mx5.ibm.net id 863581792.46244&#45;1 Wed May 14 03:49:52 1997 -->
<!--X-Message-Id: 3.0.32.19970513205052.00769d10#mail,tenetwork.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: [MUD-Dev]  Re: Disk v. Mem</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jeffk#tenetwork,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="msg00451.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00452.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00482.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00451.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00454">Author</A>
&nbsp;|&nbsp;<A HREF="#00454">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00454">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Re: Disk v. Mem</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: Disk v. Mem</LI>
<LI><em>From</em>: Jeff Kesselman &lt;<A HREF="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 13 May 1997 20:50:56 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
At 08:01 PM 5/13/97 PST8PDT, you wrote:
&gt;
&gt;ashen#pixi,com:
&gt;
&gt;| erh, at the risk of getting bounced out of
&gt;| here for asking a fourth-grade question... ;)
&gt;| 
&gt;| what are the advantages of swapping out objects
&gt;| to disk as opposed to keeping them in memory?
&gt;                                               
&gt;Excellent question -- and the follow-on excellent question
&gt;is "Ok, so why not just let the host virtual memory hardware
&gt;do it for you?" :)

Answer: because the hsot isnt optimized for your situation. It doesnt knwo
about how you organize your obejcts and thus cannot do any optimization
beyond LRU.  Also the swap size of the system is generally a fixed block
size which does not map exactly into your objects.  lastly, a real Db has
far more sophisticated indexing and retrieval capabilities.
&gt;
&gt;| do you really need to save that much memory?
&gt;| do you need it for something else?
&gt;
&gt;At today's ram prices, depending on your budget, you may well not need

Depends on how alrge a world you beleive you will need to support... memory
== speed. the mreo memory you have available for legitimate uses the mroe
work yo uwill be able to laod onto your processor and the more user you can
support.

ALSO a totally different issue is MUD stability in the case of a crash. A
Disk absed system with write-through cashing is very recoiverable from
srashes, a memory based system isnt.

&gt;
&gt;| isn't it more costly in speed to write to disk?
&gt;
&gt;Absolutely -- a factor of a million or so.  (Milliseconds

Which is why you use write-through caching for output, and cache obejcst in
memory for input.

These are all really fundemental OS issues disguised and specialized. A
edecent intro to machine organization wil lanswer alot of your questions
betetr thenwe can ehre (I personally like Tannenbaum's book alot...)




</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="msg00451.html">Mud tree</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00452.html">Re: [MUD-Dev] Re: Introduction (Marian)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00482.html">Re: [MUD-Dev] Re: Introduction (Marian)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00451.html">Mud tree</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00454"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00454"><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]  RP thesis...</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00953" HREF="msg00953.html">Re: [MUD-Dev]  RP thesis...</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Fri 30 May 1997, 22:11 GMT
</LI>
</ul>
<LI><strong><A NAME="00958" HREF="msg00958.html">Re: [MUD-Dev]  RP thesis...</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Sat 31 May 1997, 00:13 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00452" HREF="msg00452.html">Re: [MUD-Dev] Re: Introduction (Marian)</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 10:54 GMT
<UL>
<LI><strong><A NAME="00482" HREF="msg00482.html">Re: [MUD-Dev] Re: Introduction (Marian)</A></strong>, 
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Thu 15 May 1997, 23:20 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00454" HREF="msg00454.html">Re: [MUD-Dev]  Re: Disk v. Mem</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 10:49 GMT
<LI><strong><A NAME="00451" HREF="msg00451.html">Mud tree</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Wed 14 May 1997, 10:39 GMT
<LI><strong><A NAME="00422" HREF="msg00422.html">Disk v. Mem</A></strong>, 
ashen <a href="mailto:ashen#pixi,com">ashen#pixi,com</a>, Tue 13 May 1997, 12:10 GMT
<UL>
<LI><strong><A NAME="00435" HREF="msg00435.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
Dan Root <a href="mailto:dar#thekeep,org">dar#thekeep,org</a>, Wed 14 May 1997, 01:10 GMT
</LI>
<LI><strong><A NAME="00460" HREF="msg00460.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#srce,hr">silovic#srce,hr</a>, Wed 14 May 1997, 14:58 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>