Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Memory Usage
Date: Mon, 30 Jul 2001 23:02:31 GMT	[thread overview]
Message-ID: <bIl97.390$Yx2.7853@news.cpqcorp.net> (raw)
In-Reply-To: d50e866e.0107301236.1e5e058d@posting.google.com

In article <d50e866e.0107301236.1e5e058d@posting.google.com>, cbr020@email.mot.com (Brian Repsher) writes:

>This might have been covered before. I read most of the messages about
>raising max-proc etc.
>
>But I'm still a bit perplexed about something. I can't seem to get
>past allocating 50% of the RAM. Is there a limit on the amount of RAM
>available to the OS.

What operating system?  There's the barest hint that you're asking
about Tru64 UNIX, by mentioning max-proc, but I distrust barest
hints.  The version of the operating system would also be useful.
V5.1 is current, but lots of people are still running V5.0A and
a bunch of versions from the V4 stream.  And some are still running
V3.something for one reason or another.

Assuming Tru64 UNIX...  The creation of virtual memory (which may
eventually consume a corresponding amount of physical memory), is
limited by a number of kernel parameters and resources.

o  The system has process limits on the amount of virtual memory
   that can be created for stack space and data space.  These limits
   have two values, the maximum and the default.  The default data
   size limit is 128 MB on most systems, with the maximum being
   1 GB.  The default stack size limit is 2 MB, with a maxmimum
   of 32 MB.  V5 may have raised the default to 8 MB.

   Most shells support a command that allows raising the default
   to the system maximum.  See your shell manual page for the
   particulars; usually limit or ulimit.

   The system maximum and initial default can be changed by changing
   the appropriate kernel parameter.  On recent versions you can use
   sysconfig, dxkerneltuner and similar tools.  Older versions required
   changing a kernel configuration file parameter, building a new
   kernel and rebooting with the new kernel.

o  The amount of page/swap space can also limit the amount of virtual
   memory that can be created.  In the default page/swap space reservation
   mode one page of page/swap space is reserved for (nearly) every page
   of virtual memory created.  This ensures that there will be enough
   page/swap space if it is all needed, but limits the amount of virtual
   memory to (nearly) the amount of page/swap space.

	Creating virtual memory with mmap(2), backed by a real file
	allows using that file as page/swap space.

   In the optional page/swap space reservation mode, space isn't
   reserved and virtual memory can be created up to the system
   maximum.  Once the physical starts being used, the limit becomes
   the sum of available physical memory and page/swap space.  Running
   out of page/swap space in this mode is not a good thing to have
   happen.  The consequences should be described in the system
   management documentation.  If you don't have paper copies, they're
   on the Documentation CDROM.

>
>Help me get a clue.

Offering some clues on your part would be useful.

>
>Brian
>
--
Alan Rollow				alan@nabeth.cxo.dec.com



  reply	other threads:[~2001-07-30 23:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-30 20:36 Memory Usage Brian Repsher
2001-07-30 23:02 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-08-03  4:00 Memory usage Jay Vlack
2000-08-10  4:00 ` Jeff Donsbach
2000-08-02  4:00 Brent Rice
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox