GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to change shared memory
Operating System - HP-UX
1851080
Members
1749
Online
104056
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-15-2006 02:23 AM
01-15-2006 02:23 AM
i need to shared memory from 1 GB to 8Gb.
i have physical memory of 32GB.
should i use sam.
then kcweb, then
shmmax value should i modify to 8589934592 from 1073741824?
thanks
bunty
i have physical memory of 32GB.
should i use sam.
then kcweb, then
shmmax value should i modify to 8589934592 from 1073741824?
thanks
bunty
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 03:26 AM
01-15-2006 03:26 AM
Solution
Yes, that is one way to do it.
Keep in mind that 8GB of share memory will only be available if your application is a 64-bit application.
If you have 32-bit applications then there is a max of 4GB of RAM that they can use and that is for ALL 32-bit applications. The one caveat is if you use memory windows. Search the ITRC for white papers on memory management.
Keep in mind that 8GB of share memory will only be available if your application is a 64-bit application.
If you have 32-bit applications then there is a max of 4GB of RAM that they can use and that is for ALL 32-bit applications. The one caveat is if you use memory windows. Search the ITRC for white papers on memory management.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 05:11 AM
01-15-2006 05:11 AM
Re: how to change shared memory
As Patrick mentioned, a 32bit ptogram can never address large amounts of memory. A simple 32bit program is limited to 1Gb, with compiler options they can reach about 1.75Gb, more with additional compile and/or chatr options. A 32bit program has access to 4 quadrants of 1Gb each, but less than half can be used for shared memory.
Note also that *all* 32bit programs that use shared memory must use the same map, so if one program set uses 1Gb of shared memory, another program set cannot get another 1Gb because the map is not large enough. Memory windows can help in this case. Here is the link Patrick mentioned: http://docs.hp.com/en/943/memwn1_4.pdf
If you recompile the programs as 64bit executables, all these restrictions go away.
Bill Hassell, sysadmin
Note also that *all* 32bit programs that use shared memory must use the same map, so if one program set uses 1Gb of shared memory, another program set cannot get another 1Gb because the map is not large enough. Memory windows can help in this case. Here is the link Patrick mentioned: http://docs.hp.com/en/943/memwn1_4.pdf
If you recompile the programs as 64bit executables, all these restrictions go away.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2006 08:15 AM
01-15-2006 08:15 AM
Re: how to change shared memory
Shalom bunty
shmmax will ignore settings greater than 25% of memory.
memory is defined as ram plus swap.
On a 64 bit system you have a higher limit but the same basic rule.
SEP
shmmax will ignore settings greater than 25% of memory.
memory is defined as ram plus swap.
On a 64 bit system you have a higher limit but the same basic rule.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP