- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chatr utility
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 09:21 AM - last edited on 04-08-2012 09:26 PM by VidyaVI
07-26-2004 09:21 AM - last edited on 04-08-2012 09:26 PM by VidyaVI
chatr utility
My question is this. Can an program be written to use more than 1GB of memory without using the chatr utility in HP11 to enable private 3rd and 4th quadrant memory spaces?
I tried -N in compiling, it compiled clean but was not able to access any more memory than I had without the above option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 09:28 AM
07-26-2004 09:28 AM
Re: chatr utility
Binaries that are linked as type SHMEM_MAGIC can access more than 1GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 09:29 AM
07-26-2004 09:29 AM
Re: chatr utility
Either way, you should also take a look at your max?siz (maxdsiz, maxtsiz, maxssiz, maxdsiz_64, maxtsiz_64, maxssiz_64) kernel parameters as they could potentially be holding you back as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 09:55 AM
07-26-2004 09:55 AM
Re: chatr utility
Patrick you are correct it is a 32 bit application. I will look into our kernel configuration. Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 10:52 AM
07-26-2004 10:52 AM
Re: chatr utility
Check for /usr/share/doc/mem_mgt.txt
Have a read through that document and it should explain a lot of things.
It is also available online:
Memory Management Whitepaper Part I -
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686726
Memory Management Whitepaper Part II -
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000009254450
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 06:35 PM
07-26-2004 06:35 PM
Re: chatr utility
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 08:35 PM
07-26-2004 08:35 PM
Re: chatr utility
Q1 Shared Text
Q2 Private Data
Q3 Shared
Q4 Shared
When you build an EXEC_MAGIC executable using the -N linker option (chatr shows: "normal executable"), then this layout changes:
Q1 Private Text+ Private Data
Q2 Private Data
Q3 Shared
Q4 Shared
You no longer have shared text here... Q1 gets private and so your text gets private also (which is a compromise, of course).
As you can see, in both scenarios Q3 and Q4 keep unchanged. You can _additionally_ configure q3p/q4p... of course your space for shared objects gets smaller then, which is also a compromise of course.
You wrote, that you are still limited to 1GB data with -N (EXEC_MAGIC). In fact you should get more if maxdsiz is large enough, if enough free swap is avialable for reservation ("Total" in swapinfo -t) and if there is no additional ulimit active. Of course you won't get the complete 2GB, since your text and your stack sits in Q1 also.
Best regards...
Dietmar.