Red Squirrel
[H]F Junkie
- Joined
- Nov 29, 2009
- Messages
- 9,211
I have a file server with a couple raid arrays, mostly raid 10's and uses mdraid. Server is a Xeon with 8GB of ram, fairly recently built.
I noticed what whenever I'm doing anything IO intensive like installing several OSes at a time in VMs (VM server uses NFS to map to the raid arrays) then if I'm listening to music (stored on server via NFS) it can't keep up with the stream. This is unacceptable especially considering I paid over 3 grand for this machine, it's not like it's a single 4500rpm drive sitting in an enclosure this is a file server with quad core and whole nine yards.
How do I go about determining where the bottleneck is, and fixing it?
Load average is 10, which seems ridiculously high.
Here's iostat output, but I'm not really sure how to interpret that, so no idea if those numbers are good or bad.
I don't think it's network, but I suppose it could be, how do I check current network usage in Linux using command line?
I noticed what whenever I'm doing anything IO intensive like installing several OSes at a time in VMs (VM server uses NFS to map to the raid arrays) then if I'm listening to music (stored on server via NFS) it can't keep up with the stream. This is unacceptable especially considering I paid over 3 grand for this machine, it's not like it's a single 4500rpm drive sitting in an enclosure this is a file server with quad core and whole nine yards.
How do I go about determining where the bottleneck is, and fixing it?
Load average is 10, which seems ridiculously high.
Here's iostat output, but I'm not really sure how to interpret that, so no idea if those numbers are good or bad.
Code:
[root@isengard ~]# iostat -x -c 1
Linux 2.6.32-358.el6.x86_64 (isengard.loc) 29/11/14 _x86_64_ (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.12 0.00 0.48 1.77 0.00 97.64
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sdn 0.00 0.45 0.24 0.66 12.35 8.08 22.69 0.00 1.43 1.10 0.10
sdm 74.16 18.90 10.50 5.64 1103.60 177.64 79.36 0.07 4.00 1.84 2.97
sdg 74.75 19.17 9.88 5.97 1103.75 182.42 81.12 0.07 4.12 2.05 3.24
sdc 75.13 19.02 10.06 6.01 1106.55 181.63 80.14 0.11 6.88 2.24 3.60
sdl 0.00 0.00 0.00 0.00 0.00 0.00 8.42 0.00 0.51 0.51 0.00
sda 74.96 18.98 9.58 5.53 1103.00 177.42 84.74 0.07 4.66 1.98 2.99
sdb 74.84 19.16 9.75 5.83 1103.39 181.16 82.45 0.07 4.22 1.97 3.07
sdf 74.96 19.01 9.61 5.53 1103.34 177.69 84.60 0.07 4.76 2.29 3.46
sde 75.05 19.13 9.53 5.54 1103.39 178.76 85.05 0.08 5.47 2.39 3.60
sdd 75.04 19.05 9.59 5.88 1103.64 180.77 83.05 0.08 5.08 2.58 3.99
sdh 6.72 14.15 10.72 10.83 3455.13 175.17 168.51 0.26 11.96 2.17 4.66
sdk 9.99 14.08 7.34 10.47 3426.16 171.80 201.94 0.06 3.53 2.72 4.85
sdj 11.66 14.22 4.92 10.76 3154.79 175.17 212.36 0.05 2.99 2.95 4.63
sdi 12.16 14.13 4.46 10.43 3182.71 171.80 225.40 0.07 4.83 3.10 4.61
dm-0 0.00 0.00 0.24 1.01 12.34 8.08 16.28 0.02 17.22 0.79 0.10
dm-1 0.00 0.00 0.00 0.00 0.00 1.05 5186.60 0.00 0.33 0.08 0.00
md1 0.00 0.00 35.30 144.28 3693.28 1136.45 26.89 0.00 0.00 0.00 0.00
md0 0.00 0.00 9.06 45.26 5682.07 345.47 110.97 0.00 0.00 0.00 0.00
dm-2 0.00 0.00 0.00 0.00 0.00 0.00 8.00 0.00 0.32 0.26 0.00
md2 0.00 0.00 0.00 2.74 1.35 21.95 8.49 0.00 0.00 0.00 0.00
sdt 4.93 0.37 4.96 1.86 1266.46 10.60 187.30 0.16 23.75 2.20 1.50
sdu 1.42 0.38 8.42 1.86 1261.69 10.60 123.77 0.05 4.91 1.23 1.26
sdv 2.80 0.37 7.08 1.60 1266.39 8.42 146.88 0.11 12.25 1.44 1.25
sdw 1.79 0.37 8.05 1.59 1261.43 8.42 131.70 0.07 7.48 1.18 1.14
sdy 6.75 0.37 3.14 1.61 1266.03 8.55 268.30 0.23 49.35 2.97 1.41
sdz 1.05 0.40 8.82 1.61 1261.82 8.80 121.86 0.04 3.99 1.01 1.06
sdaa 2.49 0.37 7.39 1.78 1266.12 9.91 139.07 0.10 11.40 1.51 1.39
sdab 3.86 0.39 5.99 1.78 1261.03 10.25 163.54 0.13 17.20 1.78 1.38
md3 0.00 0.00 0.39 5.15 62.27 36.40 17.80 0.00 0.00 0.00 0.00
I don't think it's network, but I suppose it could be, how do I check current network usage in Linux using command line?