- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap space configuration
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
03-08-2004 03:17 AM
03-08-2004 03:17 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:21 AM
03-08-2004 03:21 AM
Re: Swap space configuration
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:25 AM
03-08-2004 03:25 AM
Re: Swap space configuration
I take it as anything more than 12 GB is large RAM.
Generally I follow the rule of having 1.5 times the RAM. Create samll primary device swap and seconday big enough so that you suffice 1.5 times RAM convention.
Setting same priority and having these both swap spaces on different disks (Same volume group is OK) is good.
With large RAM, you can just have same swap space as that of RAM or even less. In this situation you can set pseudo mem on and take advantage of having large RAM. When you set swapmem_on to 1, the swap space available is taken as swap space+ 75 % of RAM. This is just for kernel calculation, so that the process see as enough swap space available versusus the situation where in they would not have started if you would not have set swpmem_on to 1.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 03:29 AM
03-08-2004 03:29 AM
SolutionHere are my humble suggestion:
1) Allocate about 512MB/1GB of primary swap. -- you must have some.
2) Enable pseudoswap.
3) Monitor swap usage and add additional swap as needed.
4) Disassociate yourself from the notion that swap space has anything to do with dump space.
5) All swap space should be mirrored assuming you have Mirror/UX.
6) Do not have swap spaces of equal priority on the same physical disk.
7) Ideally, you have bought enough memory that you never swap.
All of the rules about 2-3x RAM (4-6x if mirrored) come from another decade. There are very few times when that much swap is needed and when it is worrying about swap layout is all but pointless because the performance will be so bad that it really doesn't matter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2004 05:49 AM
03-08-2004 05:49 AM
Re: Swap space configuration
Just a word of caution. Most of the times we tend to ignore dump device. If configured insufficiently, it can bite us when there is a problem with the system and it didn't produce enough dump. Usually primary swap device is configured as the dump device and relatively larger primary swap devices often save people that didn't pay attention to dump devices while configuring the systems.
So, having a very low primary swap means you will need to pay special attention to your dump as dump has to be contiguous and it's a pain to extend primary swap. Once the system is up and running with full load, run 'crashconf' and find out if your dump configuration is sufficient.
I prefer configuring a 'dumponly' device as I can disable 'savecrash' during the startup which can save me time during the crashes. I can always save the crash later. However, configuring dumponly device on external storage can be tricky during the situations where the external storage is not available (or is the cause) during the crash.
-Sri