Cisco Confidential© 2012 Cisco and/or its affiliates. All rights reserved. 1
OpenStack Demousing PerfDHCP tool to scale DHCP in OpenStack Neutron
Vikram Hosakote, Sr. Software DeveloperCloud and Virtualization Group (CVG)Cisco Systems, Boxborough, [email protected]
Agenda• What is perfDHCP ?
• Scale methodology and topology
• Port churn and network churn
• Demo to generate DHCP perf numbers in svl-cloud-13
• Next steps
perfDHCP
• Open source tool developed in C by BIND and ISC to scale DHCP and DNS.
• BIND and ISC implemented DNS for the internet in the 1980s.
• BIND - Berkeley Internet Name Domain
• ISC - Internet Systems Consortium
• https://www.isc.org/downloads/bind/
• http://kea.isc.org/wiki
Scale methodology and topologyNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx neutron namespace
tap-xxxxVLAN tag 310
dnsmasq(DHCP server listening
on UDP port 67)
tap-yyyyVLAN tag 310
testns-xxxx test namespace
perfDHCP(DHCP server listening
on UDP port 68)
Scale methodology and topologyNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx neutron namespace
tap-xxxxVLAN tag 310
Socket(listening on UDP port 67)
tap-yyyyVLAN tag 310
testns-xxxx test namespace
perfDHCP(DHCP server listening
on UDP port 68)
DHCP relay in global
namespace
CPNR server inRHEL 6.5
VM in service cloud
Port churn and network churn• Port churn - Ports are created and deleted in existing
qdhcp-xxxx neutron namespace
• Network churn – Networks, subnets and ports are created and deleted on network node net-001.
• Network churn does port churn too implicitly
• Churning increases CPU load on net-001, may expose memory leaks, and may affect DHCP traffic
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-yyyy
perfDHCP
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-yyyy
perfDHCP
qdhcp-zzzz
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
perfDHCP
qdhcp-zzzz qdhcp-aaaa
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
perfDHCP
qdhcp-aaaaqdhcp-bbbb
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-cccc
perfDHCP
qdhcp-dddd qdhcp-eeee
Demo to generate DHCP perf numbers in svl-cloud-13