Portal Home > Knowledgebase > Articles Database > Trying to find the bottleneck, is this IO issue?
Trying to find the bottleneck, is this IO issue?
Posted by hostbox, 11-16-2008, 08:43 AM |
Trying to find the bottleneck, is this IO issue?
Quote:
[~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- -
r b swpd free buff cache si so bi bo in cs us sy id wa st
2 0 78964 298804 252632 1228020 0 1 124 196 2 4 19 4 76 2 0
[~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 78964 298184 252648 1228084 0 1 124 196 2 4 19 4 76 2 0
[~]# iostat
Linux 2.6.18-92.el5 (server.net) 11/16/2008
avg-cpu: %user %nice %system %iowait %steal %idle
0.34 18.53 3.59 1.84 0.00 75.70
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 25.91 496.60 777.66 567980120 889443028
dm-0 105.74 495.16 772.46 566336450 883492896
dm-1 0.83 1.43 5.20 1640448 5950128
Server has a 1.85 load. I am trying to find if its an IO issue or not.
Any Linux tools that will help me find processes using up resources besides top? - It might be mysql as all invoked processes are PHP (suexec).
__________________
^_^
|
Posted by jphilipson, 11-16-2008, 11:53 AM |
Besides top you can use the ps command, free command for memory
__________________I perform System Administration
|
Posted by thedude76, 11-16-2008, 12:21 PM |
Also try iostat -xcnd 5
__________________UK web hosting
Last edited by thedude76 : 11-16-2008 at 11:25 AM.
|
Posted by zaitcev, 11-16-2008, 03:53 PM |
Don't look at the first record with the vmstat and iostat, let them settle. ~120 IOPS should be nothing for modern disks, but maybe it spikes in your case. Internet traffic is always fractal.
|
Posted by ragubhat, 11-17-2008, 01:40 AM |
hostbox
>> tools that will help me find processes using up resources
>> besides top?
dstat is a good tool, small mem foot-print and very elaborate.
Is the I/O wait state on top steady? Does it go down and then spike upwards?
__________________
--
73s Ragu/VU2RGU
A LowLie SysAd
|
Add to Favourites Print this Article
Also Read