- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap Memory- problem
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
тАО09-26-2005 10:47 PM
тАО09-26-2005 10:47 PM
The total physical memory in the dmesg output is 38gb
Whereas in swapinfo the memory is showing only 32. .and in reserved memory it showing available is nil. And used is 20480 Mb. can any one explain how it is calculating...
swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
dev 7168 0 7168 0% 0 - 1 /dev/vg00/lvol9
dev 12288 0 12288 0% 0 - 1 /dev/vg00/lvol14
reserve - 20480 -20480
memory 32813 29468 3345 90%
total 53293 49948 3345 94% - 0 -
#dmesg
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 41811968 Kbytes, lockable: 33534464 Kbytes, available: 38470524 Kbytes
Glance Output
-------------------------
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 2303 6142 451.5 365.5 1898.5
Page In 668 1946 130.9 115.8 701.4
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 0 2 0.0 0.1 0.3
Total VM : 45.6gb Sys Mem : 4.43gb User Mem: 28.7gb Phys Mem: 39.9gb
Active VM: 11.3gb Buf Cache: 1.59gb Free Mem: 5.17gb
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2005 11:03 PM
тАО09-26-2005 11:03 PM
SolutionThis is just for kernel calculation of available memeory and proves helpful with large RAM systems.
You buffer cahe looks quite high. What type of buffer cahe you use?? Static (use of bufpages kernel setting) or dynamic (dbc_pct_max and dbc_pct_min)
Is it effectively used?? - sar -b 2 3, if %write hit value is not about 90 or so, it is not effectively used. You may want to set to about 800MB or so. (Depends upon what you are running on the system)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2005 11:43 PM
тАО09-26-2005 11:43 PM
Re: Swap Memory- problem
Everything looks fine in the outputs. Glance also is reporting the memory to be 39.9Gb which is same as through dmesg.
Do not get confused from the output of swapinfo.
Also the buffer cache is OK as it is only 4% of available total memory which is quite usual.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 12:47 AM
тАО09-27-2005 12:47 AM
Re: Swap Memory- problem
The physical memory in your box is 40 GB, whereas the swap space is 20 GB. And all this space space is allocated ('reserve' line shown by swapinfo command).
One swap space is allocated, system uses memory as swap. This makes increase the percentage in 'memory' line shown by swapinfo command.
Do you want to decrease that value ?
Add more swap space (keep in mind that maxswapchunk kernel parameter shoud be wide enough).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2005 02:59 AM
тАО09-28-2005 02:59 AM