1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Disk v. Mem -->
<!--X-From-R13: fvybivpNfepr.ue ([vebfyni Evybivp) -->
<!--X-Date: from fabius.globecomm.net [207.51.48.6] by mx4.ibm.net id 863596687.51858&#45;1 Wed May 14 07:58:07 1997 -->
<!--X-Message-Id: 199705140804.KAA19791#regoc,srce.hr -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199705130518.TAA20541#mail,pixi.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Disk v. Mem</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:silovic#srce,hr">
</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="msg00457.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00458.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00435.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00486.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00460">Author</A>
&nbsp;|&nbsp;<A HREF="#00460">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00460">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  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]  Disk v. Mem</LI>
<LI><em>From</em>: <A HREF="mailto:silovic#srce,hr">silovic#srce,hr</A> (Miroslav Silovic)</LI>
<LI><em>Date</em>: Wed, 14 May 1997 10:04:54 +0200 (MET DST)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
&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; let me stab in the dark:
&gt; do you really need to save that much memory? 
&gt; do you need it for something else? 
&gt; are objects so large that 40,000 of them fill mem quickly?
&gt; does too full a mem size inhibit the driver speed?
&gt; isn't it more costly in speed to write to disk? 
&gt; what kind of savings do you get versus this extra cost?

The biggest Cold database constructed so far had about 150,000 objects.
That was 200MB *ON DISK*.

Trying to load all of this in RAM would trash your swap, blast away your
paging system, burn your village, rape your women, kill your men and
children, .... :}

Incidentally, the biggest MUSH database I've seen was about 120MB (old
PernMUSH). About 90% of this was just plain text.

And no, it is not more costly to write it to disk. Remember, your OS
doesn't know the object boundaries, so it just swaps off the entire
pages. And one object may touch a *lot* of pages. So, once object is
paged out, OS may need to load, say, 4-5 pages to get to a single
object. In most UNIces this means 20 killos.

&gt; i'm seriously inquiring here...before i've just let the
&gt; whole subject go by without thinking on it too much.
&gt; 
&gt; -john
&gt; 
&gt; 


</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="00422" HREF="msg00422.html">Disk v. Mem</A></STRONG>
<UL><LI><EM>From:</EM> "ashen" &lt;ashen#pixi,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00457.html">Re: [MUD-Dev]  Introduction</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00458.html">Re: [MUD-Dev] Introduction</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00435.html">Re: [MUD-Dev]  Disk v. Mem</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00486.html">Re: [MUD-Dev]  Disk v. Mem</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00460"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00460"><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><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>
<LI><strong><A NAME="00486" HREF="msg00486.html">Re: [MUD-Dev]  Disk v. Mem</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 16 May 1997, 01:12 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00448" HREF="msg00448.html">Re: Disk v. Mem</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Wed 14 May 1997, 09:48 GMT
<UL>
<LI><strong><A NAME="00475" HREF="msg00475.html">Re: [MUD-Dev]  Re: Disk v. Mem</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 15 May 1997, 05:50 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00417" HREF="msg00417.html">Abnother RP paradigm</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 13 May 1997, 10:19 GMT
</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>