Reviewed: https://review.openstack.org/647703 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=04f23958e63a5c74134fd2e9376fa8ed00eabbb2 Submitter: Zuul Branch: master
commit 04f23958e63a5c74134fd2e9376fa8ed00eabbb2 Author: Dirk Mueller <[email protected]> Date: Tue Mar 26 11:18:51 2019 +0100 Avoid iterating over all of the segment data just for counting getting the full collection (which includes iterating over it and populating attributes) just to gather the count of it is wasteful. we can just use the count api. Change-Id: I1b216cb2c8c5b612f12554454d5721a14975f138 Closes-Bug: #1821708 ** Changed in: neutron Status: Triaged => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1821708 Title: neutron-server high cpu usage in host_routes_after_create Status in neutron: Fix Released Bug description: A lot of cpu (17%) of neutron-server is spent in a single function called host_routes_after_create. we should try to optimize this. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1821708/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

