🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #26

Re: Virtual memory on a MacII wo/ PMMU?

#26
From: John F. Woods
Date: Mon, 02 Nov 1992 12:21
37 lines
2625 bytes
In <1992Nov1.235504.16257@mercury.unt.edu> mcmains@unt.edu (Sean McMains) writes:
>In article <timmbake.720612419@mcl> Bake Timmons, timmbake@mcl.ucsb.edu
>writes:
>>I've got 2megs RAM and no PMMU.  I've tried getting virtual memory under
>sys7,
>>but the option does not even show up in the memory control panel.
>There's a program
>called "Virtual," which is (I think) made by Connectrix that can be
>purchased with a PMMU if you're really interested in getting this capability.

Since he already has the necessary software (it's built in to System 7), this
is probably an expensive way to purchase a PMMU, which is all that he needs.

>However, virtual memory is ALWAYS slower than real memory, so
>I'd reccommed investing in some more RAM, as it's at an all time low
>price right now.

While it is "always" slower than real memory, sometimes it is unnecessary to
capitalize ALWAYS.  As I said in my previous note, it does slow each memory
access by a clock cycle (best case), which isn't all that much; if you run
far more virtual memory than physical memory, you'll thrash and get nothing
useful done (and at 2MB physical he clearly needs more RAM even for VM);
however, if you have fairly well-behaved applications (which don't randomly
touch every single page of memory just to keep them warm) and a reasonable
job mix (the Macintosh cooperative scheduling actually helps here, sort of),
then virtual memory need not feel slow:  if an application with a 1MB address
space only *uses* 512K during any given run, there is no need to give it any
more than 512K, and it will be essentially just as fast as if it had all that
extra memory (plus or minus startup page fault times and continuing address
translation delays).  And, of course, once in a while, even if you have a
comfortable amount of memory (say 8MB), you decide you just HAVE to run an
application (say, a mondo ray-trace) which simply MUST have 10MB of memory.
In this instance, the run time with virtual memory will be quite a bit less
than without (infinite, since it won't).

But do buy more RAM, even if it is no longer at an all-time low right now
(assuming you find anyone with it in stock :-( ).
Technical Details
Message-ID: <Bx38zC.Myo@jfwhome.FUNHOUSE.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!jfwhome!jfw
References: <timmbake.720612419@mcl> <1992Nov1.235504.16257@mercury.unt.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac,comp.sys.mac.system,comp.sys.mac.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spdcc!jfwhome!jfw
From: jfw@jfwhome.FUNHOUSE.COM (John F. Woods)
Subject: Re: Virtual memory on a MacII wo/ PMMU?
Message-ID: <Bx38zC.Myo@jfwhome.FUNHOUSE.COM>
Organization: Misanthropes-R-Us
References: <timmbake.720612419@mcl> <1992Nov1.235504.16257@mercury.unt.edu>
Date: Mon, 2 Nov 1992 12:21:09 GMT
Lines: 37