<div dir="auto"><span style="font-family:sans-serif">Just a side note, can you please run the 'iostat -xnpz 1' on your swift nodes  and share results while downloading file , including network performance tests suggested earlier ... </span><div dir="auto"><span style="font-family:sans-serif"><br></span></div><div dir="auto"><span style="font-family:sans-serif">I would also suggest to share the logs on swift nodes would be much helpful on this by enabling debug in config.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 4, 2017 22:51, "Rick Jones" <<a href="mailto:rick.jones2@hpe.com">rick.jones2@hpe.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/04/2017 12:59 AM, <a href="mailto:dongjh@ahope.com.cn" target="_blank">dongjh@ahope.com.cn</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi experts<br>
<br>
I finished the swift installation following the install<br>
guide(<a href="http://docs.openstack.org/project-install-guide/object-storage/draft/get_started.html" rel="noreferrer" target="_blank">http://docs.openstack.or<wbr>g/project-install-guide/object<wbr>-storage/draft/get_started.<wbr>html</a>),<br>
file upload  is very fast, but file download is extremely slow, why ?<br>
<br>
[root@controller admin]#* time openstack object create container1 cirros-0.3.4-x86_64-disk.img*<br>
+-----------------------------<wbr>-+------------+---------------<wbr>-------------------+<br>
| object                       | container  | etag                             |<br>
+-----------------------------<wbr>-+------------+---------------<wbr>-------------------+<br>
| cirros-0.3.4-x86_64-disk.img | container1 | ee1eca47dc88f4879d8a229cc70a07<wbr>c6 |<br>
+-----------------------------<wbr>-+------------+---------------<wbr>-------------------+<br>
<br>
real    0m3.807s<br>
user    0m2.127s<br>
sys     0m0.161s<br>
<br>
<br>
[root@controller /]#* time  openstack object save container1 cirros-0.3.4-x86_64-disk.img*<br>
real    5m51.489s<br>
user    5m48.172s<br>
sys     0m2.094s<br>
</blockquote>
<br>
Are you able to run something like netperf or iperf between your client and the swift proxy?  For example:<br>
<br>
netperf -H <proxy>    # get a feel for "to swift" basic network perf<br>
netperf -H <proxy> -t TCP_MAERTS # get a feel for "from swift"<br>
<br>
The idea there is to measure the network separate from the storage and swift processing, and go from there.<br>
<br>
If there isn't much else happening on your setup at the time, you could also look at some snapshots of netstat -s on the proxy when you are downloading the object - look to see if there are many TCP retransmissions.  You can get something similar "directly" for the netperf tests with:<br>
<br>
netperf -H <proxy> -- -o throughput,local_transport_ret<wbr>rans,remote_transport_retrans<br>
<br>
netperf -H <proxy> -t TCP_MAERTS -- -o throughput,local_transport_ret<wbr>rans,remote_transport_retrans<br>
<br>
rick jones<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</blockquote></div></div>