- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swapinfo
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-12-2002 12:03 PM
03-12-2002 12:03 PM
swapinfo
Any problem with swap 86% used?
What should I do?
# swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 512 0 512 0% 0 - 1 /dev/vg00/lvol2
dev 256 0 256 0% 0 - 1 /dev/vg00/lvol9
reserve - 663 -663
total 768 663 105 86% - 0 -
[virago:/] # vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2000
VGDA 2
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 980
Free PE 43
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Thanks.
Teck Sim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:06 PM
03-12-2002 12:06 PM
Re: swapinfo
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:09 PM
03-12-2002 12:09 PM
Re: swapinfo
The 86% is all being run in memory - exactly where you want it to run.
Your device swap is not even being touched (note the 0%) !
Your in good shape...!
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:13 PM
03-12-2002 12:13 PM
Re: swapinfo
Teck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:14 PM
03-12-2002 12:14 PM
Re: swapinfo
In general terms, 86% usage is no problem
as long as you do not need a lot more at
some later time.
What I mean is that for performance it is
no penalty to use 99%. It is when you need
more than the available swap-space that you
will notice that that you do not have enough.
Start of new processes will fail, call to
malloc in an application will fail etc.
So if you now are using 86% you should check
if this is a normal/stable situation for
your system. You must be sure to have enough
swap-space to cover the one-in-a-day or
the one-in-a-month situation where the
need of swap-space is at its maximum.
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:15 PM
03-12-2002 12:15 PM
Re: swapinfo
The 86% showing on the swapinfo output is your memory usage and not the swap space. Your swap space usage is 0% now. You will get a better listing with 'swapinfo -t'.
This means that the system is in good shape and utilizing the memory. If you have Glance installed on the system, you will get a better idea about system resource usage.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:15 PM
03-12-2002 12:15 PM
Re: swapinfo
Since device pagning area is free (/dev swap area) you should not have any problem at this point of time.
The memory swap percentage used depends upon which processes are running at an instance. That is not remains constant all the time.
If all time it remains more than 95% then you may need to look at it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 12:30 PM
03-12-2002 12:30 PM
Re: swapinfo
As the others have said, you have no problems but I do note one thing that will make a bad situation worse if you do begin to swap. I notice that both of your swap volumes have priority set to 1. If both of these are on the same physical disk then the head will be moving like a madman as it interleaves the swap. If the two swap areas are on the same disk, change your secondary swap entry in /etc/fstab to priority 2; however, if vg00 is comprised of more than one disk and all of lvol9 is on another disk then leave the priorities alone.
Of course, talking about swap and performance in the same sentence is a bit pointless ...
Regards, Clay