12
Cisco Confidential © 2012 Cisco and/or its affiliates. All rights reserved. 1 OpenStack Demo using PerfDHCP tool to scale DHCP in OpenStack Neutron Vikram Hosakote, Sr. Software Developer Cloud and Virtualization Group (CVG) Cisco Systems, Boxborough, MA [email protected]

Using PerfDHCP tool to scale DHCP in OpenStack Neutron

Embed Size (px)

Citation preview

Page 1: Using PerfDHCP tool to scale DHCP in OpenStack Neutron

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

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

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

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

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

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

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

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

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

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

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

Demo to generate DHCP perf numbers in svl-cloud-13