1835894 Members
2945 Online
110086 Solutions
New Discussion

system performance slow

 
Nagaraju Gudala
Occasional Advisor

system performance slow

model C3600
Phy memory 1GB
swapinfo o/p is given below .Can anything be done to improve the performance of the system
[/]#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 308596 739980 29% 0 - 1 /dev/vg00/lvol2
dev 2048000 311156 1736844 15% 0 - 1 /dev/vg00/lvol10
reserve - 814956 -814956
memory 750232 227808 522424 30%
7 REPLIES 7
curt larson_1
Honored Contributor

Re: system performance slow

hard to say from our information, but it isn't a good idea to put multiple swap areas that have the same priority on the same disk.

check to see if the physical volume is the same for lvol2 and lvol10. it is best to have them on seperate drives.
john korterman
Honored Contributor

Re: system performance slow

Hi,
you should not rely on the swapinfo command as the only source of information for determining the reason for bad performance.
Your swapinfo command reports that a portion of memory amounting up to 308596 and 311156 kb of disk space has been swapped. But swapinfo does not update dynamically; you get the max use since last reboot and absolutely no clue as to when!
Swapping should of course be avoided completely, but you should do some more investigation first, e.g. for testing the current memory use, try vmstat. Glance is also a good tool for monitoring how system resources are used.

regards,
John K.
it would be nice if you always got a second chance
Mark Grant
Honored Contributor

Re: system performance slow

At first glance it looks like the sytem is swapping but you can only tell from this that the system has swapped.

It might be worth doing a "vmstat -S 1" and look at the "si" and "so" columns. "iostat" is good for looking at disk io at a disk device level too.

I think we possibly need more information here.
Never preceed any demonstration with anything more predictive than "watch this"
Kent Ostby
Honored Contributor

Re: system performance slow

You may have a process that is hogging things up.

I sometimes run the following command multiple times to get a "quick and dirty" feel for what is hogging cpu:

ps -ef | cut -c42-80 | sort -nr | head

Hope this helps.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
T G Manikandan
Honored Contributor

Re: system performance slow

C3600 has only one processor.Though there is usage of swap,jus check the usage of the CPU.


REvert
Nagaraju Gudala
Occasional Advisor

Re: system performance slow

after running vmstat -S 1 si and so o/p is 0 0
T G Manikandan
Honored Contributor

Re: system performance slow

Also check the value of "po" in the vmstat output.

If you find that the swap usage is less and performance bottleneck is there

1.What is the value of the kernel parameters dbc_max_pct.
This defines the buffer cache of the system.This parameter is for dynamic buffer cache enabling parameter.
This is enabled once nbuf=0 and bufpages=0 which define the static buffer cache.
By default the value of dbc_max_pct is 50%.
Bring that down to 300MB ie.30% of your memory,assuming that your memory size is 1Gb.

Also,let us start from here

What is the output of
#sar -u 5 20

check for the columns of
idle%
sys%
user%
wio%

REvert with the output