using perfdhcp tool to scale dhcp in openstack neutron
TRANSCRIPT
![Page 1: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/1.jpg)
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]
![Page 2: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/2.jpg)
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
![Page 3: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/3.jpg)
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
![Page 4: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/4.jpg)
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)
![Page 5: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/5.jpg)
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
![Page 6: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/6.jpg)
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
![Page 7: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/7.jpg)
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-yyyy
perfDHCP
![Page 8: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/8.jpg)
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-yyyy
perfDHCP
qdhcp-zzzz
![Page 9: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/9.jpg)
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
perfDHCP
qdhcp-zzzz qdhcp-aaaa
![Page 10: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/10.jpg)
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
perfDHCP
qdhcp-aaaaqdhcp-bbbb
![Page 11: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/11.jpg)
Network churnNetwork node net-001
Open vSwitchbr-int (Integration Bridge)
qdhcp-xxxx
testns-xxxx
qdhcp-cccc
perfDHCP
qdhcp-dddd qdhcp-eeee
![Page 12: Using PerfDHCP tool to scale DHCP in OpenStack Neutron](https://reader036.vdocuments.us/reader036/viewer/2022082202/58f27f461a28ab5e478b4607/html5/thumbnails/12.jpg)
Demo to generate DHCP perf numbers in svl-cloud-13