HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Shared memory > Physical memory
Operating System - HP-UX
1835250
Members
2859
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
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
11-28-2006 10:30 AM
11-28-2006 10:30 AM
Hi:
My SAP appl server (HP_UX 11.23, SD IA64 partition) is creating a total of 20GB in shared memory segments... but my server has only 16GB of RAM! Of course, after a while runnnig my free memory goes below 200MB and swap high-water value showed by swapinfo increases at big steps.
Despite the misconfiguration of SAP(obvious to me, although not a SAP expert) I wonder why operating system allows and applications to create segments over physical memory space. Is there a way to control this? Is there a limit for this over-locking of memory? Thanks a lot in advance for your comments about it!
Jose E
My SAP appl server (HP_UX 11.23, SD IA64 partition) is creating a total of 20GB in shared memory segments... but my server has only 16GB of RAM! Of course, after a while runnnig my free memory goes below 200MB and swap high-water value showed by swapinfo increases at big steps.
Despite the misconfiguration of SAP(obvious to me, although not a SAP expert) I wonder why operating system allows and applications to create segments over physical memory space. Is there a way to control this? Is there a limit for this over-locking of memory? Thanks a lot in advance for your comments about it!
Jose E
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 10:48 AM
11-28-2006 10:48 AM
Re: Shared memory > Physical memory
Virtual memory has been a feature for decades in Unix, even PCs allow more memory to be used than is available. That's what the swap space is for -- to act as a temporary storage for data when it will not fit. The steps to deactivate a process, then page out sections of memory to make room for more is a great solution for an occasional over-allocation, but it comes at a great cost: performance is terrible. You can very easily limit the maximum amount of shared memory for a single process with the kernel parameter: SHMMAX
I am sure that the SAP and database admins wanted the best performance possible, thus the configuration of 20 Gb for shared memory. However, the admins destroyed all the performance advantages by exceeding the available memory. The fix is easy: order another 16Gb of RAM and performance will no longer be affected by excessive paging.
Bill Hassell, sysadmin
I am sure that the SAP and database admins wanted the best performance possible, thus the configuration of 20 Gb for shared memory. However, the admins destroyed all the performance advantages by exceeding the available memory. The fix is easy: order another 16Gb of RAM and performance will no longer be affected by excessive paging.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 01:22 PM
11-28-2006 01:22 PM
Re: Shared memory > Physical memory
This is normal UNIX behavior and illustrates the difference between two different things that are commonly referred to as the same thing: swapping and demand paging. In the early days of UNIX, entire processes were suspended and written to disk along with critical process state data (this is actual swapping); later versions (those since about 20 years ago) use demand paging where only portions of the process were sent to disk to make room for others. This is why you are not physical memory limited butrather virtual memory limited. As you have seen this over-commitment of physical memory comes at a price. Performance has to suffer by at least a factor of 100. You need to either buy more memory or more sensibly tune SAP and the associated databases.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 01:36 PM
11-28-2006 01:36 PM
Solution
Smoke and mirrors!
It's all virtual memory.
As long as no program touches pages in those shared memory sections it can all happily not be instantiated and only pretend to exist. Once it is touched something gotta give. Stuff will be paged out. At a slow rate that may be sustainable, at a heavy rate it will bring the system to its knees.
In SAP terms you should probably simply look at ST02 and the 'maximum extended memory available/used' that's probably where the bulk of the allocation goes and that's where you can check whether you needed it all.
Be sure to check over all active instances.
If you do need more memory than available then it is probably better to adjust the SAP memory, and perhaps database buffer memory, downwards and let SAP and the DB deal with less. They are probably better set up to so so with their own PAGE/ROLL/TEMP techniques than the OS can cope.
hth,
Hein van den Heuvel
HvdH Performance Consulting.
It's all virtual memory.
As long as no program touches pages in those shared memory sections it can all happily not be instantiated and only pretend to exist. Once it is touched something gotta give. Stuff will be paged out. At a slow rate that may be sustainable, at a heavy rate it will bring the system to its knees.
In SAP terms you should probably simply look at ST02 and the 'maximum extended memory available/used' that's probably where the bulk of the allocation goes and that's where you can check whether you needed it all.
Be sure to check over all active instances.
If you do need more memory than available then it is probably better to adjust the SAP memory, and perhaps database buffer memory, downwards and let SAP and the DB deal with less. They are probably better set up to so so with their own PAGE/ROLL/TEMP techniques than the OS can cope.
hth,
Hein van den Heuvel
HvdH Performance Consulting.
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 2025 Hewlett Packard Enterprise Development LP