Opened 5 years ago

Last modified 3 years ago

#3658 new enhancement

Optimizations in the IfaceMgr code

Reported by: marcin Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: libdhcp Version: git
Keywords: scalability Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

In the #3539 it has been discussed that the code of the IfaceMgr could be optimized by using std::set (instead of std::list) to hold the list of addresses assigned to the interface. One of the issues is that the std::set can only hold const elements, whereas the addresses are associated with the flag that specifies if the address is in use or not. This flag needs to be modified. Nevertheless, it seems that there may be a potential for increasing the use of STL functions on the data structures, instead of iterating over all elements.

Please see: for further discussion.


Change History (5)

comment:1 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.0

comment:2 Changed 4 years ago by marcin

  • Milestone changed from Kea1.0 to Kea1.1

Deferring from 1.0 as per 1.0 tickets scrub.

comment:3 Changed 4 years ago by tomek

  • Milestone changed from Kea1.1 to DHCP Outstanding Tasks

comment:4 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:5 Changed 3 years ago by tomek

  • Component changed from Unclassified to libdhcp
  • Description modified (diff)
  • Keywords scalability added
Note: See TracTickets for help on using tickets.