- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configuration 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
10-01-2002 10:35 PM
10-01-2002 10:35 PM
configuration swap
Another possibility is to drop the factory created swap and create two new swaps on different devices, each 6 GB, but this is the hardest way...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:45 PM
10-01-2002 10:45 PM
Re: configuration swap
The best option will be create a separate volume group and creat 8GB swap there with priority 0 so that vg00 will not be affected in case of swaping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 01:00 AM
10-02-2002 01:00 AM
Re: configuration swap
Actual the swap device has priority 0. In addition I've read, that I should have equal sized swap devices with same priority on different devices...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 01:10 AM
10-02-2002 01:10 AM
Re: configuration swap
Have a look at the below thread for other comments with regard to swap settings
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4bdaa848deccd61190050090279cd0f9,00.html
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 01:33 AM
10-02-2002 01:33 AM
Re: configuration swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 02:48 AM
10-02-2002 02:48 AM
Re: configuration swap
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9d7b42308663d611abdb0090277a778c,00.html
Bill says
<=====quote=====>There's a *LOT* of misinformation about swap space. With 24Gb of RAM, you do not need
2xRAM *UNLESS* you are going to run dozens of Gbytes of processes and data areas at the
same time--very unlikely. This assumes that you are using the default (and recommended)
paramter swapmem_on=1.
The vast majority of gigabyte swap spaces are never used! So why waste 48Gb of disk space?
Several vendors have recommended 2xRAM to 10xRAM because "HP says so", and if you dust
off some 1988 manuals, they would be correct. For 11i and 24 Gb of RAM, I would start with
about 2Gb of swap space and then monitor swapinfo -tm to see if you need anymore. If everything
easily fits in RAM, then swap space may be needed for memory mapped files but not for
processes. Still only a few Gbytes at most.
<=====unquote=====>
Oracle's recommendations are simply outdated.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 05:55 AM
10-02-2002 05:55 AM
Re: configuration swap
One of the fundamental reasons for 2Xswap as RAM is so that if the kernel core dumps the entire dump can be saved, and swap space is available for debugging core.
The M$ mentality of 2xDiskswap = 1xMemory actually had initial purposes.
UNIX has never had a limitation on swap however, so as long as you have RAM you can run programs. UNIX of all flavors is exceptional at paging to disk only when RAM is full. In theory you could run with 0 diskswap, but I would advize against it.
What has not been touched on yet is swap performance.
For the fastest possible swap it needs to be treated like your fastest I/O. Simply more spindles = better performance.
Swap has an additional control which allows you to define which segments are used first. If there are 4 swap partitions all at priority 1, then syncronous read/writes occur. NOTE a swap priority of 0 means first defined first used, so if our 4 theoretical partitions were all pri=0, swap will be filled in order defined!
Additionally you can split priorities to have 4 swap partitions, 2 on pri=1 and 2 on pri=2. The swap configured at pri=2 would not be used till swap pri=1 is full, both sets of swap would have syncronous writes for 2 partitions/lv's.
A really easy thing to do for swap is just monitor peak usage, and add your growth expectations percentage and a buffer. If your never hitting swap, I'd say still keep a couple gigs for emergency issues, but not more than that.
Regards,
Shannon