Project

General

Profile

Actions

Bug #7766

closed

ms_native dhcp smart proxy code scales poorly

Added by Dan Berger over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
Fixed in Releases:
Found in Releases:

Description

the ms native dhcp server code (native_ms.rb) runs netsh commands per reservation - so in a scope with hundreds of reservations, selecting an unused address can take on the order of a minute.

I've reworked loadSubnetData and loadSubetOptions to parse the output of a dhcp server config dump, which takes runtime from ~1 minute to ~2 seconds - the patch isn't suitable for upstreaming, but I'd be happy to share more detail with someone interested in doing it "for real."

I've looked at the 1.6 and development versions of the file and they seem substantively similar in this regard.


Related issues 7 (1 open6 closed)

Related to Smart Proxy - Bug #6916: MS DHCP TimeoutResolved08/04/2014Actions
Related to Smart Proxy - Feature #4171: Smart proxy DHCP plugin does not honor exclude ranges Duplicate01/23/2014Actions
Related to Smart Proxy - Bug #1280: MS DHCP ignores address exclusionsResolvedActions
Related to Smart Proxy - Bug #16056: Non-english locale casuses "Vendor Class not found" errors when using windows dhcp providerResolved08/11/2016Actions
Related to Smart Proxy - Bug #15789: In MS DHCP provider general/Vendor options must exist before assigning values to themResolved07/22/2016Actions
Related to Smart Proxy - Feature #15554: Add lease deletion facility to dhcp providersNewPaul Kelly06/30/2016Actions
Related to Smart Proxy - Bug #13420: [Smart proxy] provider dhcp_native_ms DELETE method brokenResolved01/27/2016Actions
Actions

Also available in: Atom PDF