ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Mastering in troubleshooting nfv
AGENDA
¡ñ
¡ñ
¡ñ
Mastering in troubleshooting nfv
NFV ARCHITECTURE
¡ñ
¡ñ
¡ñ
¡ñ
¡ñ
¡ñ
OSS/B
SS
NFVI
VNF
MANO
network
network compute
Other
NFVI
OSS/B
SS
NFVI
VNF
MANO
Mastering in troubleshooting nfv
VNF PANICS
VNF CRASHES WHEN IT STARTS SENDING NETWORK PACKETS
¡ñ
¡ñ
¡ñ
COMPUTE-1 COMPUTE-2
VNF-1 VNF-1VNF-1
VNF PANICS: WHO SHOULD INVESTIGATE
INVESTIGATION THROUGH COLLABORATION
¡ñ
¡ð
¡ñ
¡ð
¡ñ
COMPUTE-1 COMPUTE-2
VNF-1 VNF-1
¡ñ
¡ð
INVESTIGATION: HINT
INVESTIGATION THROUGH COLLABORATION
¡ñ
¡ñ
¡ñ
¡ñ
¡ñ
¡ñ
COMPUTE-1 COMPUTE-2
VNF-1 VNF-1
Packets
defragmented
here
1500 1500eth0 eth0
PACKET FLOW AND MTU
tapx
brx
qvb
qvo br-int
int-br
ph-br
enox enox
ph-br
int-br
br-int qvo
qvb
brx
tapx
VNF
eth0
VNF
eth0
9000 1500
¡ñ
¡ñ
¡ñ
¡ð
enox
ph-br
int-br
br-int qvo
qvb
brx
tapx tapx
POSSIBLE SOLUTIONS
tapx
brx
qvb
qvo br-int
int-br
ph-br
enox enox
ph-br
int-br
br-int qvo
qvb
brx
tapx
VNF
eth0
VNF
eth0
9000 1500
enox
ph-br
int-br
br-int qvo
qvb
brx
eth0
tapx tapx
eth0eth0 eth0eth0 eth0
SOLUTION
Change the mtu of vnf to 9000
Change the mtu of tapx to 1500
Enable port security
Set bridge-nf-call-iptables to 0
Inspect what can be changed on vnf. Change e1000 to
virtio
Add support for per port mtu in Neutron
Mastering in troubleshooting nfv
OVS-DPDK TROUBLESHOOTING METHODOLOGY
¡ñ
¡ð
¡ð
¡ð
¡ñ
¡ð
¡ð
¡ð
¡ð
OVS-DPDK FAILURE TROUBLESHOOTING METHODOLOGY
¡ñ
¡ð
¡ñ
¡ð
¡ð
¡ð
¡ñ
¡ñ
¡ð driverctl -v list-devices | grep vfio
¡ð for i in `ps -eLo tid,comm | grep pmd | cut -f2 -d ' '` ; do grep huge
/proc/$i/numa_maps ;done
¡ð
¡ñ
OVS-DPDK PERFORMANCE TROUBLESHOOTING
METHODOLOGY
¡ñ
¡ñ
¡ñ
¡ð
¡ð
¡ð
¡ð
¡ñ
# tuned-adm profile cpu-partitioning
# grep tuned_params /boot/grub2/grub.cfg
set tuned_params="nohz=on nohz_full=2,4,8-11 rcu_nocbs=2,4,8-11
intel_pstate=disable nosoftlockup isolcpus=2,4,8-11"
linux16 /boot/vmlinuz-3.10.0-514.2.2.el7.x86_64
root=UUID=a69bf0c7-8d41-42c5-b1f0-e64719aa7ffb ro console=tty0
console=ttyS0,115200n8 crashkernel=auto rhgb quiet default_hugepagesz=1GB
hugepagesz=1G hugepages=12 iommu=pt intel_iommu=on selinux=0 $tuned_params
OVS-DPDK PERFORMANCE TROUBLESHOOTING
METHODOLOGY
¡ñ
¡ñ
¡ñ
¡ñ
¡ñ
Mastering in troubleshooting nfv
OVS-DPDK FAILURES
¡ñ After configuring ovs-dpdk , the
instances cannot be reached via
dpdk based network.
DPDK NIC
core core
core core
core core
core core
core core
core core
Numa Node 0 Numa Node 1
core core core core
Mastering in troubleshooting nfv
OVS-DPDK FAILURES
¡ñ
¡ñ
After configuring ovs-dpdk , the instances cannot be reached via dpdk based network.
Symptom - I
¡ñ
¡ð
¡ñ
¡ñ
¡ñ
OVS-DPDK Failures
¡ñ
¡ñ
OVS-DPDK Failures
DPDK NIC
core core
core core
core core
core core
core core
core core
Numa Node 0 Numa Node 1
PMD THREAD PMD THREAD
core core core core
Mastering in troubleshooting nfv
OVS-DPDK Failures
¡ñ
After configuring ovs-dpdk , the instances cannot be reached via dpdk based network.
Symptom - II
OVS-DPDK Failures
¡ñ
¡ñ
¡ñ
OVS-DPDK Failures
¡ñ
¡ñ
¡ñ
OVS-DPDK Failures
¡ñ
¡ñ
DPDK NIC
core core
core core
core core
core core
core core
core core
Numa Node 0 Numa Node 1
core core core core
echo 4 >
/sys/devices/system/node/node1/hugepage
s/hugepages-1048576kB/nr_hugepages
References
¡ñ
¡ñ
¡ñ
¡ñ
OSS/B
SS
NFVI
VNF
MANO
Mastering in troubleshooting nfv

More Related Content

Mastering in troubleshooting nfv