- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swap usage in V3
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
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
тАО02-13-2010 10:21 AM
тАО02-13-2010 10:21 AM
Re: swap usage in V3
There is no maxswapchunks parameter in 11.31 hp-ux system. I cannot play with the formula.
Davis Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2010 10:39 AM
тАО02-13-2010 10:39 AM
SolutionSorry, gave you 11.11 information. In 11.23 and 11.31 refer to swchunk
http://docs.hp.com/en/B2355-60130/swchunk.5.html
Thanks for catching that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2010 11:00 AM
тАО02-13-2010 11:00 AM
Re: swap usage in V3
# kctune |grep swchunk
swchunk 65536 65536
My question is still remains unanswered. Above is the swchunk value set as maximum. Can you tell me how can I use maximum physical memory ? Here in the swapinfo output reserve memory is "reserve - 15251 -15251". Why this much memory is reserved ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2010 06:53 PM
тАО02-13-2010 06:53 PM
Re: swap usage in V3
Read over http://docs.hp.com/en/5965-4641/ch01s09.html (or any of the many, many other times this question has come up). You want the sections on "swap reservation" and "pseudo-swap".
As I said before, you are not only using all of physical memory -- you are *over subscribed* on physical memory (which is why you're consuming actual disk swap).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 09:14 AM
тАО02-14-2010 09:14 AM
Re: swap usage in V3
Minimum: 2048 blocks
Maximum: 65536 blocks
Note that the minimum (or default) value of swchunk therefore allows 4,096 TB of swap space.
The total bytes of swap space manageable by the system is swchunk * 1 KB * 2,147,483,648 (the system maximum number of swap chunks in the swap table).
############################
Your swchunk is currently 65526, the MAX, and it is mis configured since you are stating you now have 128 TB of swap.
Swap= 2,147,483,648 * 1024 * 65536 = 144115188075855872 / 1024 ** 5 = 128 TB of swap
############################
The default swchunk value is 2048 and it allows for 4 TB of swap.
Swap= 2,147,483,648 * 1024 * 2048 = 4503599627370496 / 1024 ** 5 = 4 TB of swap default
############################
By default then, without changing anything, your swap will allow for 4 TB of swap. Well this is insane. You want as much in RAM as possible in order to eliminate disk I/O.
a) change your current swchunk back to 2048.
b) Get as much swap into RAM as possible.
c) Eliminate all 2ndary swap.
Note: This is what you have now - 2ndary swap is written in round robin interleave fashion and not similtaneously or in parallel. I.e., Going up one block of primary swap, then one block of 2ndary, then a 3rd block of 2ndary - Coming down one block of 2ndary, then another block of 2ndary then a 3rd block of primary.
Verses the misunderstanding that one block of primary and one block of 2ndary and a 2nd block of 2ndary are all written similtaneously in parallel. This is not how your swap writes. It does not write in parallel!
So even this algorithm tells you that the use of 2ndary swap is less efficient.
##########################
total 48323 27450 20873 57% - 0 -
Right now you are using 27 GB of swap with 48 GB configured.
Sigh.
Run this command for me and total up the VSZ column, the first column and post or attach both please. I can't believe this total will come close to 27 GB but we'll see.
UNIX95=ps -ef -o vsz,pid,comm | sort -rn
d) Total virtual memory consumed by all processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 09:16 AM
тАО02-14-2010 09:16 AM
Re: swap usage in V3
Note that the minimum (or default) value of swchunk therefore allows 4,096 TB of swap space.
should be 128 TB not 4,096
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 05:26 PM
тАО02-14-2010 05:26 PM
Re: swap usage in V3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2010 10:26 PM
тАО02-20-2010 10:26 PM
Re: swap usage in V3
Thanks to all.
- « Previous
- Next »