- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap memory level
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
05-25-2008 10:18 PM
05-25-2008 10:18 PM
How do I calculate the sufficient swap space?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:25 PM
05-25-2008 10:25 PM
Re: Swap memory level
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 12000 0 12000 0% 0 - 1 /dev/vg00/lvol10
reserve - 9407 -9407
total 16096 9407 6689 58% - 0 -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:30 PM
05-25-2008 10:30 PM
Re: Swap memory level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:40 PM
05-25-2008 10:40 PM
Re: Swap memory level
I have 15.7GB of swap. It rarely uses more than 10% of the swap space. So can I safely assume there is enough swap in the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:46 PM
05-25-2008 10:46 PM
Re: Swap memory level
Your current swap usage is 58%. How much more usage will it get under your heaviest load?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:56 PM
05-25-2008 10:56 PM
Re: Swap memory level
From swapinfo man page:
"When a process is created, or requests additional space, space is reserved for it by increasing the space shown on the reserve line above. When paging activity actually occurs, space is used in one of the paging areas (the one with the lowest priority number that has free space available, already allocated), and that space will be shown as used in that area."
But, as Dennis mentioned, you need to analyse the peak load requirements to arrive at a suitable swap size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 11:28 PM
05-25-2008 11:28 PM
Re: Swap memory level
You have 16GB RAM and you have 15.7 GB device swap. Current usage is 58%
The pseudoswap (kctune|grep swapmem_on) is disabled from the default value of 1 to 0. Is there any reason for that.
Please post the output of kctune|grep dbc
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 11:34 PM
05-25-2008 11:34 PM
Re: Swap memory level
#kctune|grep dbc
dbc_max_pct 2 2 Immed
dbc_min_pct 2 2 Immed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2008 12:10 AM
05-26-2008 12:10 AM
Re: Swap memory level
If you have glance, use glance -m to see the detailed memory usage.
Currently your system is setup in a way that you want to use the max (15.6GB) physical memory (pseudoswap disabled and 327MB for buffer cache) for your app/db.
If you are worried about swap size either you have to enable pseudoswap or add another device swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2008 12:16 AM
05-26-2008 12:16 AM
Re: Swap memory level
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1232644