Re: On Memory

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 09/25/04


Date: Fri, 24 Sep 2004 20:05:55 -0400

In article <3bfe502e.0409240843.4c24de7e@posting.google.com>,
 maitaimaker@gmail.com (Maitaimaker) wrote:

> No, I don't care about where you were last thursday at 8:53PM. I'm talking
> about physical and virtual memory in our unix world. For quite some time
> you'd look at virtual memory to be somewhere in the neighborhood of twice
> physical. These days where physical memory can easily range into multi
> gigs, is that necessarily practical or even useful? Has anyone done any
> research as to what a new standard should be, or does the old one work
> find even still? Lastly, is there a practical upper limit to virtual
> memory? I'd imagine that at some point you hit diminishing returns, due to
> bus speed, seek times, etc. Am I thinking wrong on this? Enquiring minds
> want to know...thanks for your input.

The old rule of thumb was based on the assumption that most
organizations couldn't afford enough physical memory to hold all
processes' working sets. The recommendation was typically described as
VM should be twice physical memory, but what I think was really meant
was that you should have enough RAM for at least half your typical
working set, in order to avoid thrashing. But if you can afford more
RAM, it can hardly ever hurt.

The basic idea is that the VM size specifies how many processes can run,
and the RAM size specifies how fast they'll run when they're all
competing for memory.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages

  • Re: Windows 2000 Server StandardEdition /PAE Question
    ... Physical Memory with Virtual Memory and /PAE with 4GT RAM Tuning. ... Using the /PAE switch does not provide more physical memory to the ...
    (microsoft.public.win2000.general)
  • Re: Usable RAM
    ... How about using Windows XP x64? ... The rest gets taken by such items as shared memory on the graphics ... Photoshop says that the available RAM is 1.711GB. ... you will never get to use the full 4gb virtual memory because ...
    (microsoft.public.windowsxp.general)
  • Re: How to determine memory usage?
    ... So you really only have 458 MB of RAM ... Check the Virtual Memory Size box click OK. ... Memory column next to your Mem Usage column. ...
    (microsoft.public.windowsxp.general)
  • Re: Usable RAM
    ... How about using Windows XP x64? ... The rest gets taken by such items as shared memory on the graphics ... Photoshop says that the available RAM is 1.711GB. ... you will never get to use the full 4gb virtual memory because ...
    (microsoft.public.windowsxp.general)
  • Re: Usable RAM
    ... How about using Windows XP x64? ... The rest gets taken by such items as shared memory on the graphics ... Photoshop says that the available RAM is 1.711GB. ... you will never get to use the full 4gb virtual memory because ...
    (microsoft.public.windowsxp.general)