| To: | Sascha Nitsch <sgi@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Weird performance decrease |
| From: | Shailendra Tripathi <stripathi@xxxxxxxxx> |
| Date: | Tue, 07 Nov 2006 10:29:22 -0800 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <200611071144.32925.sgi@linuxhowtos.org> |
| References: | <200611061028.08963.sgi@linuxhowtos.org> <454FC5C3.8080803@agami.com> <200611071144.32925.sgi@linuxhowtos.org> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.7 (X11/20060909) |
|
Hi Sascha, Please run the iostat continuously to monitor the disk performance. Please monitor the await field and %util field on the device. Looking at this, it does look like there is some bottleneck in I/O path (or number of requests generated are too high). Please note that when you take iostat just once, it gives the average stats on the device (accumulative). So, you are not getting the real picture. However, I can see that the average I/O response time is way too high. (await=115.27). This means that an I/O has been spending average 115 ms (too bad). It includes the time it spent in the disk I/O queue (called elevator queue) and actual service time. Your disk is performing good as it is service time is 3.05 ms This time has less to do with caching/buffers availability. Again, it appears to me the number of requests generated are overwhelming the device. That is. the deivce has seen overwhelming I/O in recent past. For example, when I do this: dd if=/dev/zero of=/tmp/1 bs=32k count=100000 I see this (below). Note that I see await of 218 ms. $ iostat -x hda6 avg-cpu: %user %nice %sys %iowait %idle
1.75 0.00 0.41 0.21 97.63Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util hda6 0.00 0.77 0.00 0.06 0.00 6.59 0.00 3.30 114.62 0.01 218.10 2.22 0.01 here are some measurements: |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Weird performance decrease, Sascha Nitsch |
|---|---|
| Next by Date: | Re: XFS filesystem performance drop in kernels 2.6.16+, David Chinner |
| Previous by Thread: | Re: Weird performance decrease, Sascha Nitsch |
| Next by Thread: | Re: XFS filesystem performance drop in kernels 2.6.16+, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |