- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create additional 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
01-10-2002 08:51 PM
01-10-2002 08:51 PM
When I create an additional device swap through SAM, there is an option called "Swap priority" which is default "0". Can anyone tell me what is the implication for the "Swap priority"? Any relationship to the primary swap?
By the way, can anyone tell me how to create swap space through command line mode?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 09:00 PM
01-10-2002 09:00 PM
Re: Create additional swap ??
Attach document on swap may help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 09:17 PM
01-10-2002 09:17 PM
SolutionSwap 0 mean top priority, then comes 1,2....
i.e system looks for the swap which has the priority 0 first, if it is full then goes to swap space of priority 1 then 2 like that.
you can create swap thru command like this.
#lvcreate -C -L size-inMB -n pswap /dev/vgxx
#swapon /dev/vgxx/pswap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:02 PM
01-10-2002 10:02 PM
Re: Create additional swap ??
Take a look at the thread below to learn more about swap,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5965-4641/5965-4641_top.html&con=/hpux/onlinedocs/5965-4641/00/00/12-con.html&toc=/hpux/onlinedocs/5965-4641/00/00/12-toc.html&searchterms=swap%7cpriority&queryid=20020110-220358
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90701/B2355-90701_top.html&con=/hpux/onlinedocs/B2355-90701/00/00/50-con.html&toc=/hpux/onlinedocs/B2355-90701/00/00/50-toc.html&searchterms=swap%7cpriority&queryid=20020110-220358
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=4459fbe11b4d3f3b9b/screen=ckiDisplayDocument?docId=200000053039597
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2002 10:36 PM
01-10-2002 10:36 PM
Re: Create additional swap ??
There is a document on your hpux server that
illustrates this very well about swap priority.
It can be found in
/usr/shar/doc/mem_mgt.txt
The following is an extract from it about
swap priority.
You can also get information about swap from the system admin guides.
HTH
-Michael
http://www.docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Swap Space Priorities
=====================
Priorities, ranging from zero to ten, can be set for all devices or file systems. The lower the number, the higher the priority. Thus, a device with a priority of zero is used for swapping before a device of priority one or higher.
Swapping rotates among both devices and file systems of equal priority. Given equal priority, however, devices are swapped to by
the operating system before file systems, because devices make more efficient use of CPU time.
We recommend that you assign the same swapping priority to most swap devices, unless a device is significantly slower than the rest.
Assigning equal priorities limits disk head movement, which improves swapping performance.