Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Virtual Memory Usage
@ 1996-04-24  4:00 R.J. Kirkbride
  1996-04-25  4:00 ` Bill Bochnik
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: R.J. Kirkbride @ 1996-04-24  4:00 UTC (permalink / raw)


Does anyone know anything about allowing a process to
use more of the available virtual memory space.

I am working on a DEC Alpha/UNIX that we have upped
the swap space to 4Gig to get some very large files
to compile.
When I do a "limit -h" I get 2 gig reported as the
vmemoryuse system limit. However, the csh or the tcsh will
not let me up the soft limit to 2 but remains at 1 gig.

The system call setrlimit only seems to allow you
to up the datasize which can be set to 2 gig successfully.

Any help would be really appreciated,

Rob.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Virtual Memory Usage
  1996-04-24  4:00 Virtual Memory Usage R.J. Kirkbride
  1996-04-25  4:00 ` Bill Bochnik
@ 1996-04-25  4:00 ` Nick Hill
  1996-04-26  4:00 ` Patrick O'Rourke USG
  2 siblings, 0 replies; 5+ messages in thread
From: Nick Hill @ 1996-04-25  4:00 UTC (permalink / raw)



In article <4llpml$6bu@arl-news-svc-3.compuserve.com>, 
100331.2264@compuserve.com (R.J. Kirkbride) writes:
>Does anyone know anything about allowing a process to
>use more of the available virtual memory space.
>
>I am working on a DEC Alpha/UNIX that we have upped
>the swap space to 4Gig to get some very large files
>to compile.
>When I do a "limit -h" I get 2 gig reported as the
>vmemoryuse system limit. However, the csh or the tcsh will
>not let me up the soft limit to 2 but remains at 1 gig.
>
>The system call setrlimit only seems to allow you
>to up the datasize which can be set to 2 gig successfully.
>
>Any help would be really appreciated,
>
>Rob.
>
>

csh limit command reports various resource limits.
memoryuse -- physical memory
addressspace -- virtual memory limit
datasize -- datasize limit

all these can be set by the csh limit or ksh ulimit command or via the 
setrlimit system call. The setrlimit resource name for virtual size is 
RLIMIT_AS

If limit/setrlimit etc do not allow you to set 2Gig virtual size it
may be because it is greater than the maximum value configured in your UNIX
kernel. As root issue the command  

sysconfig -q proc 


This will show you what the default and maximum values are set to in your 
running system. If you need to increase them then put some entries in 
the /etc/sysconfigtab file and reboot.
-- 

Nick Hill

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CISD, Rutherford Appleton Laboratory,                 Tel: +44 (0)1235-445598
Chilton, Didcot, Oxon, OX11 0QX, England.             Fax: +44 (0)1235-446626

N.M.Hill@rl.ac.uk            http://www.cis.rl.ac.uk/people/nmh1/contact.html
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Virtual Memory Usage
  1996-04-24  4:00 Virtual Memory Usage R.J. Kirkbride
@ 1996-04-25  4:00 ` Bill Bochnik
  1996-04-29  4:00   ` Matthias Dolder
  1996-04-25  4:00 ` Nick Hill
  1996-04-26  4:00 ` Patrick O'Rourke USG
  2 siblings, 1 reply; 5+ messages in thread
From: Bill Bochnik @ 1996-04-25  4:00 UTC (permalink / raw)


R.J. Kirkbride wrote:
> 
> Does anyone know anything about allowing a process to
> use more of the available virtual memory space.
> 
> I am working on a DEC Alpha/UNIX that we have upped
> the swap space to 4Gig to get some very large files
> to compile.
> When I do a "limit -h" I get 2 gig reported as the
> vmemoryuse system limit. However, the csh or the tcsh will
> not let me up the soft limit to 2 but remains at 1 gig.
> 
> The system call setrlimit only seems to allow you
> to up the datasize which can be set to 2 gig successfully.
> 
> Any help would be really appreciated,
> 
> Rob.

From my OSF  2.0 Tech Overview guide:

"- Virtual memory
	* per process
	The Maximum supported virtual memory per process is 1 Gb, "

Your mileage may vary depending on OS version.

-- 
Bill Bochnik                    | It's hard to be a James Bond in
                                |   an Abbott and Costello world.
Systems Analyst                 | Signed and sealed, they deliver
Ciba-Geigy Corporation          |   oblivion.
bill.bochnik@usha.mhs.ciba.com  | It's worse than that, he's      
                                |   dead Jim.

                //     // //  /     /
                EI 'AANIIGOO 'AHOOT'E



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Virtual Memory Usage
  1996-04-24  4:00 Virtual Memory Usage R.J. Kirkbride
  1996-04-25  4:00 ` Bill Bochnik
  1996-04-25  4:00 ` Nick Hill
@ 1996-04-26  4:00 ` Patrick O'Rourke USG
  2 siblings, 0 replies; 5+ messages in thread
From: Patrick O'Rourke USG @ 1996-04-26  4:00 UTC (permalink / raw)




In article <4llpml$6bu@arl-news-svc-3.compuserve.com>, 100331.2264@compuserve.com (R.J. Kirkbride) writes:
> Does anyone know anything about allowing a process to
> use more of the available virtual memory space.
>
> I am working on a DEC Alpha/UNIX that we have upped
> the swap space to 4Gig to get some very large files
> to compile.
> When I do a "limit -h" I get 2 gig reported as the
> vmemoryuse system limit. However, the csh or the tcsh will
> not let me up the soft limit to 2 but remains at 1 gig.

 
You will also have to increase some tuneables in /etc/sysconfigtab
as follows:

proc:
         per-proc-address-space=0x40000000000
         max-per-proc-address-space=0x40000000000
         per-proc-data-size=0x40000000000
         max-per-proc-data-size=0x40000000000


 vm:
         vm-maxvas=0x40000000000


Pat



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Virtual Memory Usage
  1996-04-25  4:00 ` Bill Bochnik
@ 1996-04-29  4:00   ` Matthias Dolder
  0 siblings, 0 replies; 5+ messages in thread
From: Matthias Dolder @ 1996-04-29  4:00 UTC (permalink / raw)



In article <317FBAC7.499@ustc.mhs.ciba.com>, bill.bochnik@ustc.mhs.ciba.com 
says...
>
>R.J. Kirkbride wrote:
>> 
>> Does anyone know anything about allowing a process to
>> use more of the available virtual memory space.
....snip...
>From my OSF  2.0 Tech Overview guide:
>
>"- Virtual memory
>        * per process
>        The Maximum supported virtual memory per process is 1 Gb, "

V3.0 Tech Overview (Aug 94) says:
The default virtual memory per process is 2GB.....

....This value can be increased to a maximum of 8 TB by setting the MAXVAS 
variable.....

Actually if you are running V3.2 or higher, you can edit the /etc/sysconfigtab 
file to include someting like: [for example]

vm:
[TAB]   vm-maxvas = 1099511627776

Then reboot the system. This would up your system's max virtual adress-space 
to 1 TB [note this is per process, welcome to 64-bits]

Also don't forget that depending on what you do, that you might need to fully 
back this with SWAP space !

We definitely need to be able to adress more than 1 or 2 GB with a single 
process, since we are running for example Oracle7 with SGA's (system global 
areas) in the 6-8GB range. Those SGA's are shared memory regions mapped my 
multiple Oracle processes.


rgds
MatthiasD.
------------------------------------------
Digital Equipment Corporation, Switzerland
Matthias Dolder

Internet: matthias@zuo.dec.com

...speaking for myself, not for Digital...




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1996-04-29  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-24  4:00 Virtual Memory Usage R.J. Kirkbride
1996-04-25  4:00 ` Bill Bochnik
1996-04-29  4:00   ` Matthias Dolder
1996-04-25  4:00 ` Nick Hill
1996-04-26  4:00 ` Patrick O'Rourke USG

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