1833770 Members
2706 Online
110063 Solutions
New Discussion

swapinfo

 
SOLVED
Go to solution
jamshed
Frequent Advisor

swapinfo

Hi all
I need some advice.
On my swapinfo –ta I have:
# swapinfo -ta
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4190000 0% 0 - 1 /dev/vg00/lvol2
dev 6144000 85168 6054832 1% 0 - 0 /dev/vg00/lvol9
dev 10240000 89684 10150316 1% 0 - 0 /dev/vg00/lvol10
dev 10240000 88836 10151164 1% 0 - 0 /dev/vg00/lvol11
dev 6144000 89900 6050100 1% 0 - 0 /dev/vg00/lvol12
dev 6144000 89248 6050752 1% 0 - 0 /dev/vg00/lvol13
reserve - 42647164 -42647164
memory 52459980 39541848 12918132 75%
total 95566284 82631848 12918132 86% - 0 -

How can I optimize my swap system? Decrease of percent of use.
4 REPLIES 4
Dennis Handly
Acclaimed Contributor
Solution

Re: swapinfo

(It would help if you used -tam because it makes it 1000 times harder to look at the data. :-)

From what you have, it seems you aren't using the device swap, that's good.

Why are you trying to decrease percent of use?
Do you have a performance problem?
Kapil Jha
Honored Contributor

Re: swapinfo

Hi Jamshed,
From this output ur usage seems to be fine.
No problem for me(OK its not question about me :) but if everything is fine why u wanna reduce PERCENT USAGE???
Best way is to add lot of swap space...so % usage would be low.
BR,
Kapil
I am in this small bowl, I wane see the real world......
whiteknight
Honored Contributor

Re: swapinfo

Hi,

Agreed with Denis, we usually use
swapinfo -tam


if you total memory used > 70%, you seems to have memory pressure.

Hope this help

WK
Problem never ends, you must know how to fix it

Re: swapinfo

Hi,

I think thu culprit here is the buffercache. Your system is experiencing a slight memory pressure. You should lower the buffercache. Reduce the dbc_max_pct kernel parameter to something around 5% . This should improve the behavior of your system.

Regards,
Nourreddine