- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setting swap priority
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-19-2003 08:33 AM
тАО08-19-2003 08:33 AM
I know there are LOADS of questions about swap, but I can't find an answer which really helps me.
I have a couple of N-class machines which are used for CAE analysis work (MSC-NASTRAN, ABAQUS, LS-DYNA, STAR-CD). Previous recommendations from the software vendors have determined that we need a total of 10 Gbytes of swap on each of these. I am about to replace the current 9Gb root disks with bigger ones and would like some help on allocating the swap capacities and priorities. The machines don't get a much interactive use - no more than say 25 concurrent logins; mostly they are solving jobs submitted to the queuing systems.
On machine1, the root disk will hold all the usual OS stuff plus the application software executables; on machine2 the root disk only needs to hold OS, apps are elsewhere. There is a second 9 Gb disk in each machine available to be used for nothing but swap if required. Data from the applications are written in both cases to yet more disks in a fibre channel array on each machine. So far as I am aware there are no significant differences between the root & "2nd" disks apart from the capacity.
Would it be best to put most of the swap on the otherwise unused 9Gb disk at the lowest priority & just have a smallish amount of primamry swap on the root disk at a higher priority? Or should I have equal sized swap areas at the same priority on each disk to allow for interleaving? even though one of these disks will be running the OS and maybe the apps. Or would you suggest option 3 .... ?
Please think about this while I go home to clear the chaos left by my 10 year old - points tomorrow.
Thanks in advance
Sharon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 08:42 AM
тАО08-19-2003 08:42 AM
Re: setting swap priority
My preference is to create a relatively small primary swap (on vg00) with a priority=1 (the default) and then the necessarily large device swap on another volume group with a higher priority (priority=0). In this fashion, I reduce I/O on vg00.
If you need to add still a third device swap, then allocate it on a separate physical disk from either the primary swap or the first secondary one. In this case, set the priority of the swap device to zero (0) also, Interleaving will then occur between the two secondary devices with priority given to them over the primary swap device.
Of course, ideally, you have sufficient physical memory never to do swap I/O in the first place!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 08:50 AM
тАО08-19-2003 08:50 AM
Re: setting swap priority
So you reckon that the way to go would be say 1Gb or 2Gb on the root disk which is vg00 and make the whole of the 9Gb disk swap. To be honest, I think that 9 Gb, rather than 10, will probably be enough swap in total anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2003 09:11 AM
тАО08-19-2003 09:11 AM
SolutionThe old rules about swapspace seldom apply any more with machines with large amounts of memory -- as long as pseudoswap in enabled. I am a very firm believer, however, in making sure that every swapspace be mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2003 01:24 AM
тАО08-20-2003 01:24 AM