Update the processing of assigned addresses when assigning addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Chengqian Liu |
Bug Description
openstack allinone.
16 cpus with 2.40GHz
16G memery
only one subnet in a network.
1. Neutron-server takes a long time when creating a port with multiple addresses at once
neutron port-create --fixed-ip subnet_
When there are already 6300+ addresses, it takes 50s to allocate the address part every time the command is run.
in _generate_ips,
2s+ for list_allocations (not fixed in this fix)
2s+ for ip_allocations.
10 times.
https:/
- list_allocations
I found it is slow because of log in process_rows method. https:/
I turn off 'connection_debug' in neutron.conf ,Speed increases quickly, '2 seconds , 741903 microseconds' to '711636 microseconds'.
2.When the current address pool does not have enough addresses,
all addresses are allocated from the current pool,
and allocations are continued from the next address pool
until all addresses are assigned.
Changed in neutron: | |
assignee: | nobody → Chengqian Liu (liuchengqian90) |
description: | updated |
description: | updated |
Changed in neutron: | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Changed in neutron: | |
status: | New → In Progress |
summary: |
- Neutron-server takes a long time when creating a port with multiple - addresses at once + Update the processing of assigned addresses when assigning addresses |
description: | updated |
Hi could you give some details for the usecase where you add so much addresses to one port?
Am I right that you worked with master neutron?