<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 December 2016 at 07:59, Bence Romsics <span dir="ltr"><<a href="mailto:bence.romsics@gmail.com" target="_blank">bence.romsics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I measured how the new trunk API scales with lots of subports. You can<br>
find the results here:<br>
<br>
<a href="https://wiki.openstack.org/wiki/Neutron_Trunk_API_Performance_and_Scaling" rel="noreferrer" target="_blank">https://wiki.openstack.org/wik<wbr>i/Neutron_Trunk_API_Performanc<wbr>e_and_Scaling</a><br>
<br>
Hope you find it useful. There are several open ends, let me know if<br>
you're interested in following up some of them.<br></blockquote><div><br></div><div>I looked into [1] a little bit as it bothered me :)</div><div><br></div><div>Here's my findings:</div><div><br></div><div><ul><li>openstack port list is slower than neutron port-list as it looks like the command goes to Nova first [2], which is where the overhead comes from.</li><li>when you have subports the port-list response gets bigger because of the bigger response due to the trunk-details extension.</li><li>However, the bulk of the time is spent in [3], when building the payload for a port involved as a parent port. In no other case you will see the overhead as in no other case the loop over subports is executed. </li></ul></div><div>The hook should be optimized!</div><div><br></div><div>Cheers,<br></div><div>Armando</div><div><br></div><div>[1] <a href="https://wiki.openstack.org/wiki/Neutron_Trunk_API_Performance_and_Scaling#surprise_effect_on_filtered_port_listings" target="_blank">https://wiki.openstack.org/<wbr>wiki/Neutron_Trunk_API_<wbr>Performance_and_Scaling#<wbr>surprise_effect_on_filtered_<wbr>port_listings</a> </div><div>[2] <a href="http://paste.openstack.org/show/591882/" target="_blank">http://paste.openstack.<wbr>org/show/591882/</a></div><div>[3] <a href="https://github.com/openstack/neutron/blob/master/neutron/services/trunk/plugin.py#L42">https://github.com/openstack/neutron/blob/master/neutron/services/trunk/plugin.py#L42</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
Bence Romsics<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br></div></div>