Improve port listing command

Bug #1897100 reported by Rodolfo Alonso
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Rodolfo Alonso

Bug Description

As reported in https://bugzilla.redhat.com/show_bug.cgi?id=1772106, between Queens and Train there was a performance degradation in the port listing operation.

This could be caused because of the port DB object new relationships (portuplinkstatuspropagation) or new extensions added.

In any case, improving the server performance could be an arduous task. This bug proposes to improve the OSC query, adding a filter for those parameters shown in the list command: ID, name, MAC address, fixed IPs and status.

This bug and a possible solution are similar to https://bugs.launchpad.net/neutron/+bug/1865223.

Tags: api loadimpact
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Low
tags: added: api loadimpact
Revision history for this message
s10 (vlad-esten) wrote :

The performance degradation between Queens and Train is huge. We see increase in time for the port listing API response for 2000 ports from 3 seconds in Queens to 120 seconds in Stein. I hope, this issue can be fixed in the API, not just in the SDK and CLI.

Revision history for this message
Andrey Bolgov (a-bolgov) wrote :

Reason of petformance degradation is implementation of this RFE (https://bugs.launchpad.net/neutron/+bug/1578989) by change (https://review.opendev.org/c/openstack/neutron/+/590363). Further investigation to optimize this behaviour is going in https://bugs.launchpad.net/neutron/+bug/1905726

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 5.5.0

This issue was fixed in the openstack/python-openstackclient 5.5.0 release.

Changed in neutron:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.