<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi, all</div>
<div dir="ltr" > </div>
<div dir="ltr" >Recently, I find that the  API reponse time of Ussuri is slower than the Stein. Here are some tests I have did:</div>
<div dir="ltr" > </div>
<div dir="ltr" >Stein: </div>
<div dir="ltr" >[root@aa ~]# time curl "https://127.0.0.1/xxx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"  -H "X-Auth-Token: [token]"  --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m2.880s</span><br>user    0m0.080s<br>sys    0m0.070s<br>[root@aa ~]# time curl "https://127.0.0.1/xxx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"  -H "X-Auth-Token: [token]"  --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m0.485s</span><br>user    0m0.079s<br>sys    0m0.057s<br>[root@aa ~]# time curl "https://127.0.0.1/xxx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"  -H "X-Auth-Token: [token]"  --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m0.460s</span><br>user    0m0.079s<br>sys    0m0.058s</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<div dir="ltr" >Ussuri :</div>
<div dir="ltr" >[root@aa ~]# time curl "https://127.0.0.1/xx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"   -H "x-auth-token: [token]"   --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m3.705s</span><br>user    0m0.012s<br>sys     0m0.005s<br>[root@aa ~]# time curl "https://127.0.0.1/xx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"   -H "x-auth-token: [token]"   --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m2.941s</span><br>user    0m0.013s<br>sys     0m0.005s<br>[root@aa ~]# time curl "https://127.0.0.1/xx/openstack/compute/v2.1/[tenant_id]/host-network-placement?host_aggregate=1"   -H "x-auth-token: [token]"   --insecure<br>{"host-network-placement": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sea": [{"host_aggregate": "1", "networks": []}], "host-network-placement-sriov": [{"host_aggregate": "1", "networks": []}], "host-network-placement-ovs": [{"host_aggregate": "1", "networks": []}]}<br><span style="color:#ff0000;" >real    0m2.726s</span><br>user    0m0.015s<br>sys     0m0.006s<br> </div>
<div dir="ltr" >For the S version, the API response time are: <span style="color:#ff0000;" >2.880s, 0.485s, 0.460s</span></div>
<div dir="ltr" >For the U version, the API response time are: <span style="color:#ff0000;" >3.705s, 2.941s, 2.726s</span></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<div dir="ltr" >I have some questions about the results:</div>
<div dir="ltr" >1. Why the U API response time is slower than the S?</div>
<div dir="ltr" >2. For the U version or the S version, why the three API response time are less and less(2.880s > 0.485s > 0.460s, 3.705s > 2.941s > 2.726s) ?</div>
<div dir="ltr" >Is there any cache for API?</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<div dir="ltr" >Please feel free to give me some comments!</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks</div>
<div dir="ltr" >Zhi Chang</div></div><BR>