- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How much free swap space.
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-24-2003 07:51 AM
03-24-2003 07:51 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:55 AM
03-24-2003 07:55 AM
Re: How much free swap space.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:56 AM
03-24-2003 07:56 AM
Re: How much free swap space.
Regards,
RZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 07:56 AM
03-24-2003 07:56 AM
Re: How much free swap space.
100% free swap is what you want.
If you see anything other than that, then you need to add more RAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:03 AM
03-24-2003 08:03 AM
Re: How much free swap space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:05 AM
03-24-2003 08:05 AM
Re: How much free swap space.
Swap configuration affects the following.
1. To reserve the swap for the processes in case for future
2. To actually hold the pages if paged out
So, the total column in "swapinfo -t" is a combination of both.
"Looking at free swap" alone is not sufficient. If you defined huge amounts of swap areas, your "swapinfo -t" may give very less percentage of swap being used. However, your system may be doing pageouts.
On the other hand, if you alloted minimal swap, your swapinto -t may look around 90% and your system may not be paging at all.
So, the key is to look for pageouts. You can use "vmstat 2 20" to identify such pageouts as in 'po' column. Or use the same 'swapinfo -t' and observe "kb used" column for the device swap areas (not the memory field).
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:14 AM
03-24-2003 08:14 AM
Re: How much free swap space.
swapinfo -tam
Although you never want to swap, or page out, you do use swap. In fact, you won't boot without a minimum, nor launch application processes without more than the system minimum. (* System minimum is how much HP-UX uses at boot time *)
A nice discussion about swap and pseudo-swap, which is what your application processes rely upon, can be found under: /usr/share/docs and I believe the file is called MEM_MGT, but grep on "swap" once there.
Also, it???s hard to come up with a reliable formula anymore for determining swap based upon the size of physical memory. Especially when you get huge amount of RAM like some HP clients; 32 to 64 gigabytes, for example. So using the 2 time formula renders value around 64 to 128 gb, and you don't have that kind of disk space. So factor in 400 mb for a crash dump as well as the number of application processes on the server and there pseudo swap requirements. Start around 1.5 gb and adjust accordingly. See what the application developer wants.