- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question about 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
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
тАО04-05-2009 01:50 AM
тАО04-05-2009 01:50 AM
I have a Rx7620 system running HP-UX 11.23
This is the memory utilization of the system during the peak workload (taken using kmeminfo):
Physical memory = 4183868 16.0g 100%
Free memory = 30012 117.2m 1%
User processes = 3399628 13.0g 81% details with -user
System = 739281 2.8g 18%
Kernel = 530089 2.0g 13% kernel text and data
Dynamic Arenas = 249295 973.8m 6% details with -arena
vx_buffer_cache = 76512 298.9m 2%
vx_global_pool = 26964 105.3m 1%
VFD_BT_NODE = 23976 93.7m 1%
vm_pfn2v_arena = 16636 65.0m 0%
SWAP_MISC_ARENA = 16526 64.6m 0%
Other arenas = 88681 346.4m 2% details with -arena
Super page pool = 9504 37.1m 0% details with -kas
Static Tables = 209118 816.9m 5% details with -static
pfdat = 98063 383.1m 2%
nbuf = 54400 212.5m 1% bufcache headers
vhpt = 32768 128.0m 1%
bufhash = 8192 32.0m 0% bufcache hash headers
text = 6402 25.0m 0% vmunix text section
Other tables = 9292 36.3m 0% details with -static
Buffer cache = 209192 817.2m 5% details with -bufcache
UFC file mrg = 0 0.0b 0%
UFC meta mrg = 0 0.0b 0%
And this is the # swapinfo -tam output at the same time:
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 2049 2047 50% 0 - 1 /dev/vg00/lvol2
dev 12000 2051 9949 17% 0 - 1 /dev/vg00/lvol10
dev 16500 2049 14451 12% 0 - 1 /dev/vgswap/lvol1
reserve - 13754 -13754
total 32596 19903 12693 61% - 0 -
(outputs are attached also, if they are not clear)
My question is it normal that the free memory is so low (1%) when there is only 50% of the swap is used ?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 04:12 AM
тАО04-05-2009 04:12 AM
Solution>is it normal that the free memory is so low (1%) when there is only 50% of the swap is used?
There is no direct connection between swap used and free memory, if you are using more swap than memory.
The whole purpose of HP-UX is to use all of memory as possible and not use device swap.
13 Gb is for users, out of 16 Gb.
Any particular problem you are trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 10:03 AM
тАО04-05-2009 10:03 AM
Re: Question about swap
User processes = 3399628 13.0g 81% details with -user
# ./kmeminfo -user
<< to get list of user processes consuming physical memory >>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 05:43 PM
тАО04-05-2009 05:43 PM
Re: Question about swap
I would consider setting dbc_max at 2-3 %
That will free up physical memory without impacting the system much
or you need more physical memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2009 09:24 PM
тАО04-05-2009 09:24 PM
Re: Question about swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 04:49 PM
тАО04-06-2009 04:49 PM
Re: Question about swap
Of course this is normal. Swap is not used until you run out of memory. Without all the details, you can be using 1% of swap when 100% of memory is used. You are using a *LOT* of swap space and this implies that you are short of memory. Verify this by running vmstat 1 5 when the system is running slowly. The column po (page out) indicates how bad you need memory. Single numbers are fine, 2 digits up to 20-30 are OK but over 50 means you are wasting a lot of time waiting for pages to be swapped in/out.
Swap and performance are opposites -- swap allows you to run with limited memory, as long as you can wait for slow processing.
Bill Hassell, sysadmin