<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Disk v. Mem --> <!--X-From-R13: ptNnzv-pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) --> <!--X-Date: from ren.globecomm.net [207.51.48.3] by mx01.ny.us.ibm.net id 863619222.65181-1 Wed May 14 14:13:42 1997 --> <!--X-Message-Id: 9705140616.7zze@ami-cg.GraySage.Edmonton.AB.CA --> <!--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] Disk v. Mem</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA"> </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="msg00459.html">Previous</a> | <a href="msg00462.html">Next</a> ] Thread: [ <a href="msg00868.html">Previous</a> | <a href="msg00455.html">Next</a> ] Index: [ <A HREF="author.html#00461">Author</A> | <A HREF="#00461">Date</A> | <A HREF="thread.html#00461">Thread</A> ] <!--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:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI> <LI><em>Date</em>: Tue, 13 May 97 23:16:42 MST</LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> [John A:] :what are the advantages of swapping out objects :to disk as opposed to keeping them in memory? : :let me stab in the dark: :do you really need to save that much memory? :do you need it for something else? :are objects so large that 40,000 of them fill mem quickly? :does too full a mem size inhibit the driver speed? :isn't it more costly in speed to write to disk? :what kind of savings do you get versus this extra cost? Yes, you can use "too much memory". Sites which host MUDs often put limits on how much virtual memory the MUD is allowed to consume. So, if you need more than that for the whole database, you have to do some managing of it. Most UNIX boxes (anything with VM, really), will have more file-store disk space than swap space. So, if you push the limits of memory too much, you *can* run out, so doing your own managing can let you have more stuff in your total DB. OS paging uses various algorithms for which pages to swap out, and often also which ones to pre-read in. Those algorithms are generic, designed to work well with a "typical" mix of programs. If the MUD doesn't match that mix, doing the disk I/O manually in the program can be more efficient, since the MUD can have a better idea of what is likely to be needed soon. Note that I say "can". :-/ In my case, my OS doesn't have VM, so if I run out of physical RAM, I am stuck. So, I make the system try to have reasonable limits on how much it will use. I vaguely recall some posts in the newsgroups indicating that some big MUDs (mostly LP's?) could easily use 20Meg or more of memory. -- Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA </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="msg00459.html">Re: [MUD-Dev] Re: several messages</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00462.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00868.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00455.html">Re: [MUD-Dev] Introduction</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00461"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00461"><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: Prepositions and parsing</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00562" HREF="msg00562.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 19 May 1997, 00:17 GMT <UL> <LI><strong><A NAME="00638" HREF="msg00638.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 21 May 1997, 03:30 GMT <UL> <LI><strong><A NAME="00815" HREF="msg00815.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Tue 27 May 1997, 04:52 GMT <UL> <LI><strong><A NAME="00868" HREF="msg00868.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 28 May 1997, 06:21 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00461" HREF="msg00461.html">Re: [MUD-Dev] Disk v. Mem</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 14 May 1997, 21:13 GMT <LI><strong><A NAME="00455" HREF="msg00455.html">Re: [MUD-Dev] Introduction</A></strong>, Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 11:06 GMT <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00456" HREF="msg00456.html">Re: [MUD-Dev] Introduction</A></strong>, Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 11:16 GMT </LI> </UL> </LI> <LI><strong><A NAME="00453" HREF="msg00453.html">Re: [MUD-Dev] RP thesis...</A></strong>, Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 10:58 GMT <UL> <LI><strong><A NAME="00476" HREF="msg00476.html">Re: [MUD-Dev] RP thesis...</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 15 May 1997, 05:58 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>