Operating System - HP-UX
1830730 Members
2395 Online
110015 Solutions
New Discussion

What is "private data space" refering to?

 
Takeshi Sugai
Advisor

What is "private data space" refering to?

What is "private data space" refering to in HP-UX11.0 Addtional Core Enhancements Nov. 1999, Increasing Process Data Space(new) in the following:
http://docs.hp.com/dynaweb/hpux11/hpuxen1a/b2430/@Generic__BookView?DwebQuery=maxdsiz

"private data space" means Program Data or
Program Text plus Program Data in Memory Window White Paper?

"Starting with HP-UX 11.0 ACE 9911, the maximum private data space is 2 GB and 3 GB respectively." means that we can use maxdsiz to 2Gigabyte without -N option?

Thanks for any help...
2 REPLIES 2
Stefan Farrelly
Honored Contributor

Re: What is "private data space" refering to?


There are no "segments" (plural). A program consists of:
1 code (text) segment, max size is maxtsiz
(needs to be as big as your binary.)
1 data (heap) segment, max size is maxdsiz
(default 67 megs, "max" 900 megs)
and 1 stack segment, max size is maxssiz

If the 900 meg maxdsiz is not big enough for you, an application's
virtual address space is divided into four one-gig segments. Usually one
of these segments is allocated for data, but an EXEC_MAGIC executable
can store data in its code quadrant also. Maximum data size for an
EXEC_MAGIC executable therefore approaches 1800 megs as the size of the
executable decreases.

to be safe, set maxdsiz=RAM size as HP/UX 11 has "virtually unlimited process sizes".

see /usr/share/doc/mem_mgt.txt
Im from Palmerston North, New Zealand, but somehow ended up in London...
Takeshi Sugai
Advisor

Re: What is "private data space" refering to?

How about HP-UX 11.0 ACE 9911 version to take Program Data ( maxdsi)?
1 GB or 2 GB without -N option

That is what I want to know.