- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How much Primary Swap
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
04-03-2002 07:51 AM
04-03-2002 07:51 AM
How much Primary Swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 07:53 AM
04-03-2002 07:53 AM
Re: How much Primary Swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:01 AM
04-03-2002 08:01 AM
Re: How much Primary Swap
In large RAM configurations that never swap, I generally configure a small amount of primary swap (mirrored), a separate dump area (not mirrored), and either configure pseudoswap OR the dreaded filesystem swap at low priority. Since, it is not going to be used who cares if it's filesystem swap. I just can't bring myself to dedicate a whole bunch of mirrored disk to do absolutely nothing. That's why I spent all the money on the RAM in the first place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:03 AM
04-03-2002 08:03 AM
Re: How much Primary Swap
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:06 AM
04-03-2002 08:06 AM
Re: How much Primary Swap
seem to be needed you can take the entry out of the fstab rather than go through the steps to reduce the primary swap size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:08 AM
04-03-2002 08:08 AM
Re: How much Primary Swap
you have 16Gb RAM . If you set pseudo-swap (swapmem_on = 1 ), then you will have 12Gb pseudo-swap setup. So, i would create a 2 Gb primary device swap and monitor how the swap is being used. If more swap is needed, add 2gb secondary device swap (either on vg00 or on other disks).
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:10 AM
04-03-2002 08:10 AM
Re: How much Primary Swap
In line with their answers it don't matter where you put the swap as you won't expect it to be used.
IF you had expected swap to be used (a lot) the best practise would have been to spread it across several disks and FC/SCSI controllers. As you would also do with filesystems with lots of access.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 09:29 AM
04-03-2002 09:29 AM
Re: How much Primary Swap
Given those 3 cases together, if all 3 apply, just put the small swap (as properly suggested) on your root vg, and let it rip. You likely will not use the swap, and it should not be a problem to have it sitting on the internal disk.
Hope it helps.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 10:05 AM
04-03-2002 10:05 AM
Re: How much Primary Swap
I would create primary swap only to the size that is required to boot the OS with swapmem_on to make the system feel that it has enough swap available. Then I will create device swap(s) on an external storage with priority 0. This will make me feel good as I will not straining my root disk in case of memory constraints.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 10:05 AM
04-03-2002 10:05 AM
Re: How much Primary Swap
Swapping is a bad thing...it slows everything down if pages of RAM are being swapped out and back in again (continuously). In the old days (tm), RAM was very expensive so swapping was a necessity and interleaving swap and specifying alternate swap areas with priorities was very common. Today, with adequate RAM, this is not a useful exercise.
Bill Hassell, sysadmin