- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Two swaps on a single disk
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-22-2006 05:50 AM
03-22-2006 05:50 AM
Two swaps on a single disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:55 AM
03-22-2006 05:55 AM
Re: Two swaps on a single disk
Well if you're actually paging out then it wouldn't make any difference.
Performance would already be in the crapper.
It would be as if it was all one big swap space on that disk.
You never *ever* want to page out - disks are 1000s of time slower than RAM.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:55 AM
03-22-2006 05:55 AM
Re: Two swaps on a single disk
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:57 AM
03-22-2006 05:57 AM
Re: Two swaps on a single disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:03 AM
03-22-2006 06:03 AM
Re: Two swaps on a single disk
You never want to swap.
If you haven't already, enable "pseudoswap" and you may not even need a secondary swap.
Enabling the kernel parameter 'swapmem_on' allows 75% of your physical memory to be counted by the kernel for the purposes of process swap reservation. This can greatly help avoid "not enough memory" errors during process startup.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:03 AM
03-22-2006 06:03 AM
Re: Two swaps on a single disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:16 AM
03-22-2006 06:16 AM
Re: Two swaps on a single disk
If you choose to put them on the same physical disk then they should be set to different priorities so that the lower priority is used completely before the next priority is used.
Now having said all this, the performance impact is so great from swapping itself that the actual swap layout is insignificant. You are rearranging the deck chairs on the Titanic.