[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9862.0. "Virtual memory" by NNTPD::"[email protected]" (Ludmila Mala) Sun May 18 1997 22:17

I need an advice from some guru on virtual memory.

My client is running Digital UNIX V4.0A  with fairly small memory of 128.00
megabytes.
1.  What is the largest amount of virtual memory that can be allocated in the
program.
   He wants to know what memory can be reserved when the application is
running and the 
   database is opened, and then becomes unavailable for any ohter activities
by the system.

2)   What is is impact of setting the kernel parameter mapentries  to very
large values?
    Like 60 - 200,000. Can this impact be measured?

3)   What are the internal data structures used in processing the mapentries?


There is more, but this would be good star. Is there anybody who can help?

Thanks for your time.

Regards,

Ludmila

[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines
9862.1SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Mon May 19 1997 12:2137
	re: amount of virtual memory.

	The amount of virtual memory that a process can have is
	unrelated to the amount of physical memory in the system.
	The kernel has parameters that limit the support virtual
	memory size of the system and per-process.  With these
	raised to suitably large values, only the amount of page
	and swap space will limit virtual memory use.

	On the V4.0B system I have handy, the address space limit
	is 1 GB, with a default data size limit of 128 MB.  I was
	able to easily raise the datasize limit to the 1 GB mark.

	The amount of virtual memory that will be useful and allow
	good performance is related to the amount of physical memory.
	But if you don't mind the paging, you can easily use virtual
	memory in excess of the physical memory if you have enough
	page/swap space.
	


















9862.2Virtual MemoryNNTPD::"[email protected]"Ludmila MalaTue May 20 1997 19:3112
This is probably silly question, but how does one check for the address space
limit and the default  data size limit?

How do you raise the data size limit?

Are these the values displayed by ulimit -a ( the shell I am using is ksh ) ?

Thanks,

Ludmila

[Posted by WWW Notes gateway]
9862.3SSDEVO::ROLLOWDr. File System's Home for Wayward Inodes.Wed May 21 1997 02:187
	re: limits.

	a.  A shell specific command, usually built-in that prints
	    and controls the limits.  I use csh(1), so the built-in
	    command is simply "limit".

	b.  The getrusage(2) system call.