- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap space
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
12-12-2006 02:49 AM
12-12-2006 02:49 AM
We are getting new Itenium server with HP 11i ver 2. 73G HD, 16 G memory
I was wondering what is the recommended Swap space? Should I do 2 dev like on old servers:
dev 4096 /dev/vg00/lvol2 ---> SWAP/DUMP
dev 4000 /dev/vg00/lv_swap07 ----> SWAP
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 02:54 AM
12-12-2006 02:54 AM
SolutionMinimum swap is half of RAM. I've seen people do less and then the system is unstable.
How much you need really depends on what you are doing.
I am a member of the A. Clay Stephenson school of swap allocation. That means allocate a small , fast area as primary and then a large secondary area with lower priority.
That way if the system is stressed you don't have to reboot to get more swap, but in normal operations you won't be slowing down.
If it were mine:
8 GB swap/dump priority 1
8 GB swap priority 2 (so it doesn't get used)
That should be enough with a big memory system. It may seem like a waste of space, but I NEVER want to boot a box during prime time.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 02:56 AM
12-12-2006 02:56 AM
Re: Swap space
What application is running on it and what does it require? I would say 16GB of swap is good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 02:59 AM
12-12-2006 02:59 AM
Re: Swap space
This will allow you to use all 16GB of RAM.
From there I would monitor swap and RAM usage. If necessary it is relatively easy to add more swap.
A critical thing to do to make sure your RAM usage is not too high is to REDUCE dbc_max_pct from 50. For a 16GB system, I would set it at around 8 which gives you approximately 1.2 GB of buffer cache if/when it hits its max.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:00 AM
12-12-2006 03:00 AM
Re: Swap space
I would create a 4GiB Primary swap (25% of memory) and enable pseudoswap. Monitor your swap usage and if you need to add additional swap, it's so easy additional swapspace that it's not worth worrying about --- as long as you leave some unconfigured space on your disk. Now create a dump area of 16GiB (might as well, you have the room) and you should be good to go.
NOTE: Every dab of swapspace should be mirrored and dump should never be mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:01 AM
12-12-2006 03:01 AM
Re: Swap space
The amount of swap space that you require depends on you application needs.
If you are Igniting the server yourself, I'd create a primary swap equal to your physical memory and enable pseudoswap ('swapmem_on' = 1).
If you have a pre-installed server, I'd add enough secondary swap to bring the total space to 16GB and enable pseudoswap too. The addition of a secondary swap space to vg00 is OK. Simply specify the secondary swap priority to zero (0) where the primary swap priority is one (1). This will cause the secondary space to be used in preference to the primary space and should you ever actually swap, reduce disk head contention between the two spaces.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:05 AM
12-12-2006 03:05 AM