<div dir="ltr">Yes we're using raid-10.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 16, 2013 at 10:17 AM, Steve Holdoway <span dir="ltr"><<a href="mailto:steve@greengecko.co.nz" target="_blank">steve@greengecko.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How are you using them?? Raid 10?<br>
<br>
On the offchance, is<br>
<a href="http://www.greengecko.co.nz/content/western-digital-can-i-have-my-2-days-back" target="_blank">http://www.greengecko.co.nz/content/western-digital-can-i-have-my-2-days-back</a><br>
 relevant?<br>
<br>
Cheers,<br>
<br>
Steve<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, 2013-07-16 at 10:10 +0500, shahzaib shahzaib wrote:<br>
> We're using 4XSata HDD 7200 rpm and yes it is hardly crossing<br>
> 20MB/sec. Could you please guide me a bit about the Max speed of SATA<br>
> read?<br>
><br>
><br>
> Thanks for prompt reply.<br>
><br>
><br>
><br>
> On Tue, Jul 16, 2013 at 10:06 AM, Steve Holdoway<br>
> <<a href="mailto:steve@greengecko.co.nz">steve@greengecko.co.nz</a>> wrote:<br>
>         Your disk maxes out at 20MB/sec read?<br>
><br>
>         On Tue, 2013-07-16 at 09:59 +0500, shahzaib shahzaib wrote:<br>
>         > Hello,<br>
>         ><br>
>         ><br>
>         >       We're using nginx-1.2.8 to serve large static files<br>
>         for video<br>
>         > streaming. However all nginx worker_processes are in "D"<br>
>         state and HDD<br>
>         > I/O utilization is 99%.<br>
>         ><br>
>         > [root@DNTX010 ~]# ps aux |grep nginx<br>
>         > root      3046  0.0  0.0  20272   688 ?        Ss   20:39<br>
>         0:00<br>
>         > nginx: master process nginx<br>
>         > nginx     3047  3.2  0.9  94480 74808 ?        D    20:39<br>
>         0:03<br>
>         > nginx: worker process<br>
>         > nginx     3048  1.4  0.3  52104 31388 ?        D    20:39<br>
>         0:01<br>
>         > nginx: worker process<br>
>         > nginx     3049  0.2  0.1  33156 12156 ?        S    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3050  0.1  0.1  29968  8844 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3051  0.2  0.1  30332 10076 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3052  2.7  0.8  91788 69504 ?        D    20:39<br>
>         0:02<br>
>         > nginx: worker process<br>
>         > nginx     3053  0.3  0.0  25632  5384 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3054  0.2  0.1  36032 15852 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3055  0.4  0.2  37592 17396 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3056  0.2  0.1  32580 11028 ?        S    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3057  0.3  0.2  39288 19116 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3058  0.3  0.2  41764 19744 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3059  0.3  0.1  31124 10480 ?        D    20:39<br>
>         0:00<br>
>         > nginx: worker process<br>
>         > nginx     3060  1.0  0.3  52736 31776 ?        D    20:39<br>
>         0:01<br>
>         > nginx: worker process<br>
>         > nginx     3061  1.1  0.3  51920 29956 ?        D    20:39<br>
>         0:01<br>
>         > nginx: worker process<br>
>         > nginx     3062  1.6  0.4  58808 35548 ?        D    20:39<br>
>         0:01<br>
>         > nginx: worker process<br>
>         ><br>
>         ><br>
>         > [root@DNTX010 ~]# iostat -x -d 3<br>
>         > Linux 2.6.32-358.6.2.el6.x86_64 (DNTX010.local)<br>
>         07/16/2013<br>
>         > _x86_64_        (8 CPU)<br>
>         ><br>
>         > Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s<br>
>         wsec/s<br>
>         > avgrq-sz avgqu-sz   await  svctm  %util<br>
>         > sda              30.28   177.37  260.32    2.96 38169.26<br>
>          1442.70<br>
>         > 150.46     2.29    8.70   3.52  92.78<br>
>         ><br>
>         > Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s<br>
>         wsec/s<br>
>         > avgrq-sz avgqu-sz   await  svctm  %util<br>
>         > sda               4.33     0.00  544.00    0.00 34376.00<br>
>         0.00<br>
>         > 63.19    43.83   75.25   1.84 100.00<br>
>         ><br>
>         > Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s<br>
>         wsec/s<br>
>         > avgrq-sz avgqu-sz   await  svctm  %util<br>
>         > sda               9.00     6.33  547.67    0.67 34637.33<br>
>          56.00<br>
>         > 63.27    48.01   86.20   1.82 100.00<br>
>         ><br>
>         > Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s<br>
>         wsec/s<br>
>         > avgrq-sz avgqu-sz   await  svctm  %util<br>
>         > sda               0.00     0.67  568.00    2.33 36024.00<br>
>          29.33<br>
>         > 63.21    54.98  101.10   1.75 100.00<br>
>         ><br>
>         > Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s<br>
>         wsec/s<br>
>         > avgrq-sz avgqu-sz   await  svctm  %util<br>
>         > sda               0.00     4.33  560.33    1.33 35712.00<br>
>          45.33<br>
>         > 63.66    37.20   65.06   1.78 100.00<br>
>         ><br>
>         ><br>
>         ><br>
>         > Nginx.conf :<br>
>         ><br>
>         > http {<br>
>         >     include       mime.types;<br>
>         >     default_type  application/octet-stream;<br>
>         >     client_body_buffer_size 128K;<br>
>         >     sendfile_max_chunk 128k;<br>
>         >     client_max_body_size 800m;<br>
>         >     client_header_buffer_size 256k;<br>
>         >     large_client_header_buffers 4 256k;<br>
>         >     output_buffers 1 512k;<br>
>         >     server_tokens off; #Conceals nginx version<br>
>         >     #access_log  logs/access.log  main;<br>
>         >     access_log off;<br>
>         >     error_log warn;<br>
>         >     sendfile        on;<br>
>         ><br>
>         > #    aio on;<br>
>         ><br>
>         >  #   directio 512k;<br>
>         ><br>
>         >     ignore_invalid_headers on;<br>
>         >     client_header_timeout  3m;<br>
>         >     client_body_timeout 3m;<br>
>         >     send_timeout     3m;<br>
>         >     keepalive_timeout  0;<br>
>         >     reset_timedout_connection on;<br>
>         > }<br>
>         ><br>
>         ><br>
>         > We've also tried enabling aio directive but nothing changed.<br>
>         Help will<br>
>         > be highly appreciated.<br>
>         ><br>
>         ><br>
>         > Thanks<br>
>         > Shahzaib<br>
>         ><br>
>         ><br>
><br>
>         > _______________________________________________<br>
>         > nginx mailing list<br>
>         > <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
>         > <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
><br>
>         --<br>
>         Steve Holdoway BSc(Hons) MNZCS<br>
>         <a href="http://www.greengecko.co.nz" target="_blank">http://www.greengecko.co.nz</a><br>
>         Linkedin: <a href="http://www.linkedin.com/in/steveholdoway" target="_blank">http://www.linkedin.com/in/steveholdoway</a><br>
>         Skype: sholdowa<br>
><br>
>         _______________________________________________<br>
>         nginx mailing list<br>
>         <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
>         <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
><br>
><br>
> _______________________________________________<br>
> nginx mailing list<br>
> <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
> <a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
<br>
--<br>
Steve Holdoway BSc(Hons) MNZCS<br>
<a href="http://www.greengecko.co.nz" target="_blank">http://www.greengecko.co.nz</a><br>
Linkedin: <a href="http://www.linkedin.com/in/steveholdoway" target="_blank">http://www.linkedin.com/in/steveholdoway</a><br>
Skype: sholdowa<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>