- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapinfo tells the real swap being utilizied?
Operating System - HP-UX
1753481
Members
5049
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО08-10-2010 10:31 PM
тАО08-10-2010 10:31 PM
dear all,
swapinfo -atm tells:
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 11264 0 11264 0% 0 - 0 /dev/vg00/swap
dev 26000 0 20480 0% 0 - 2 /dev/vgswap/swap1
reserve - 15592 -15592
memory 19334 13491 5843 70%
total 57622 29083 23019 50% - 0 -
and kutune tells:
maxswapchunks 16384 - 16384
swchunk 2048 - 2048
it means the total swap the os could utilize is 16384*2048*1k=33554432k,33G,and swapinfo tells that os is utilizing 37G swap, though when I run swapon -a, I was told:
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to completely enable paging on device /dev/vgswap/swap1.
so swapinfo doesn't tell the swap it was utilizing but configurating?
could you please explain this to me?
thanks a lot
swapinfo -atm tells:
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 11264 0 11264 0% 0 - 0 /dev/vg00/swap
dev 26000 0 20480 0% 0 - 2 /dev/vgswap/swap1
reserve - 15592 -15592
memory 19334 13491 5843 70%
total 57622 29083 23019 50% - 0 -
and kutune tells:
maxswapchunks 16384 - 16384
swchunk 2048 - 2048
it means the total swap the os could utilize is 16384*2048*1k=33554432k,33G,and swapinfo tells that os is utilizing 37G swap, though when I run swapon -a, I was told:
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to completely enable paging on device /dev/vgswap/swap1.
so swapinfo doesn't tell the swap it was utilizing but configurating?
could you please explain this to me?
thanks a lot
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 01:27 AM
тАО08-11-2010 01:27 AM
Re: swapinfo tells the real swap being utilizied?
>kutune tells:
kctune or kmtune? What HP-UX version?
>so swapinfo doesn't tell the swap it was utilizing but configured?
It sure seems like that. It gives you how much you are using and the max disk space configured.
kctune or kmtune? What HP-UX version?
>so swapinfo doesn't tell the swap it was utilizing but configured?
It sure seems like that. It gives you how much you are using and the max disk space configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 02:31 AM
тАО08-11-2010 02:31 AM
Solution
Note the third device. 26000Mb are Available (the size of the swap configured), none is used -- but only 20480Mb are free. This is the indication that the OS could not consider some of the available space free [because it couldn't represent it with the values of the tunable you have].
If you sum up the FREE column on the devices: 1024+11264+20480 = 32768Mb. (32Gb exactly). And 32768*1024 = 33554432kb... so the kernel and swapinfo are entirely in agreement. If you want the last 5520Mb of the swap device, you need to increase swchunk [as maxswapchunks is already at the maximum for 11.11, which I assume this is - as maxswapchunks was gone by 11.23]. With a swchunk of 4096, maxswapchunks of 3328 would suffice here.
If you sum up the FREE column on the devices: 1024+11264+20480 = 32768Mb. (32Gb exactly). And 32768*1024 = 33554432kb... so the kernel and swapinfo are entirely in agreement. If you want the last 5520Mb of the swap device, you need to increase swchunk [as maxswapchunks is already at the maximum for 11.11, which I assume this is - as maxswapchunks was gone by 11.23]. With a swchunk of 4096, maxswapchunks of 3328 would suffice here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 06:16 AM
тАО08-11-2010 06:16 AM
Re: swapinfo tells the real swap being utilizied?
Don,
thank you for your reply, I do consider you fully explain this to me.
thank you for your reply, I do consider you fully explain this to me.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP