SlideShare a Scribd company logo
Raul Leite
SR Solution Architect / Red Hat
@sp4wnr0ot
https://sp4wnr0ot.blogspot.com.br
Known Basic of NFV Features
#vbrownbag
2
agenda
● NFV architecture/concepts
● NFV bottlenecks
● sr-iov
● pci passthrough
● hugepages
● cpu pinning / numa
● dpdk
3 INSERT DES
IGNATOR, I
● NFV architecture
4
NFV - Network Functions Virtualization
5
NFV – basic concepts
● independent common hardware
● automatic network operation
● flexible application development/deploy/high reliability
● provide the same service quality and safety as Telecom network
6
NFV – Architecture
7
8
NFV bottlenecks
● packet loss
● hypervisor overhead
● low routing/traffic throughput
● CPU
● vm/instances resources allocation and scheduling
9
NFV – workload example
● Some NFV applications may have been developed to make specific use of certain
CPU instructions.
Example :
● A VPN appliance that requires a high-performance cryptography library Intel®
Advanced Encryption Standard New Instructions (Intel® AES-NI).
10 INSERT DES
IGNATOR, I
pci passtrough
11
pci passtrough
12
pci passtrough
● Allocation of the PCIe NIC entirely dedicated to the VMs
● No sharing of the NIC
● If your hardware does not have an I/O MMU (known as "Intel VT-d" on Intel-based
machines and "AMD I/O Virtualization Technology" on AMD-based machines), you
will not be able to assign devices in (hypervisor) KVM.
13
pci passtrough
# grep -i nic_PF /etc/nova/nova.conf
pci_alias={ "vendor_id": "8086", "product_id": "1528", "name":
"nic_PF"}
# openstack flavor create --ram 4096 --disk 100 --vcpus 2
m1.small.pci_passthrough
# openstack flavor set --property "pci_passthrough:alias"="nic_PF:1"
m1.small.pci_passthrough
# grep -i nic_PF /etc/nova/nova.conf
pci_alias={ "vendor_id": "8086", "product_id": "1528", "name":
"nic_PF"}
# openstack flavor create --ram 4096 --disk 100 --vcpus 2
m1.small.pci_passthrough
# openstack flavor set --property "pci_passthrough:alias"="nic_PF:1"
m1.small.pci_passthrough
14 INSERT DES
IGNATOR, I
sr-iov
15
sr-iov (single-root input/output virtualization)
16
sr-iov (single-root input/output virtualization)
● Allows a device, such as a network adapter, to separate access to its resources
among various PCIe hardware functions: physical function (PF) and one or more
virtual functions (VFs)
● Improves manageability and performance
● Enables network traffic to bypass the software layer of the hypervisor
and flow directly between the VF and the virtual machine
● The PCI SR-IOV specification indicates that each device can have up to 256 VFs.
Depending on the SR-IOV device.
17
sr-iov
# lspci -nn | grep -i 82576
05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit
Network Connection [8086:10c9] (rev 01)
05:10.0 Ethernet controller [0200]: Intel Corporation 82576 Virtual
Function [8086:10ca] (rev 01)
# neutron net-create nfv_sriov --shared --provider:network_type vlan
--provider:physical_network physnet_sriov
--provider:segmentation_id=2150
# neutron subnet-create --name nfv_subnet_sriov --disable-dhcp
--allocation-pool start=10.0.5.2,end=10.0.5.100 nfv_sriov 10.0.5.0/24
# neutron port-create nfv_sriov --name sriov-port --binding:vnic-type
direct
# lspci -nn | grep -i 82576
05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit
Network Connection [8086:10c9] (rev 01)
05:10.0 Ethernet controller [0200]: Intel Corporation 82576 Virtual
Function [8086:10ca] (rev 01)
# neutron net-create nfv_sriov --shared --provider:network_type vlan
--provider:physical_network physnet_sriov
--provider:segmentation_id=2150
# neutron subnet-create --name nfv_subnet_sriov --disable-dhcp
--allocation-pool start=10.0.5.2,end=10.0.5.100 nfv_sriov 10.0.5.0/24
# neutron port-create nfv_sriov --name sriov-port --binding:vnic-type
direct
18 INSERT DES
IGNATOR, I
hugepages
19
hugepages
20
hugepages
● Linux uses a mechanism in the CPU architecture called "Translation Lookaside
Buffers" (TLB) to manage the mapping of virtual memory pages to actual physical
memory addresses.
● The TLB is a limited hardware resource, so utilizing a huge amount of physical
memory with the default page size consumes the TLB and adds processing
overhead
● Boost CPU computing performance
● The obvious optimization is to cache the results
21
hugepages
Host
# grubby --update-kernel=ALL --args=”hugepagesz=2M hugepages=2048
# echo 4 > /sys/devices/system/node/node0/hugepages/hugepages-
2048kB/nr_hugepages
# nova flavor-key m1.small.performance set hw:mem_page_size=2048
Host
# grubby --update-kernel=ALL --args=”hugepagesz=2M hugepages=2048
# echo 4 > /sys/devices/system/node/node0/hugepages/hugepages-
2048kB/nr_hugepages
# nova flavor-key m1.small.performance set hw:mem_page_size=2048
22 INSERT DES
IGNATOR, I
numa / cpu pinning
23
numa
● Each node (or CPU) has its own memory bank
● memory access management is now
distributed
● memory proximity
● performance and latency characteristics differ
depending on the core a process is executing
on and where the memory a process is
accessing is located.
24
numa / cpu pinning
● Define vCPUs to cores 1 -> 1
● Improves performance on the VM processing capacity
● Related to NUMA and PCI-Passthrough
$ numactl --hardware
node 0 cpus: 0 1 | 2 3
node 1 cpus: 4 5 | 6 7
Host Processes: Cores -> 0,1,4,5
Guest: Cores -> 2,3,6,7
/etc/nova/nova.conf
vcpu_pin_set=2,3,6,7
$ numactl --hardware
node 0 cpus: 0 1 | 2 3
node 1 cpus: 4 5 | 6 7
Host Processes: Cores -> 0,1,4,5
Guest: Cores -> 2,3,6,7
/etc/nova/nova.conf
vcpu_pin_set=2,3,6,7
25
numa / cpu pinning
$ nova flavor-create small.numa auto 2048 20 2
$ nova flavor-key small.numa set hw:cpu_policy=dedicated
$ nova flavor-key small.numa set aggregate_instance_extra_specs:pinned=true
$ nova flavor-create small.numa auto 2048 20 2
$ nova flavor-key small.numa set hw:cpu_policy=dedicated
$ nova flavor-key small.numa set aggregate_instance_extra_specs:pinned=true
26
numa: nova-scheduler
● /etc/nova/nova.conf
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,
RamFilter, ComputeFilter, ComputeCapabilitiesFilter,
ImagePropertiesFilter,CoreFilter,NUMATopologyFilter
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,
RamFilter, ComputeFilter, ComputeCapabilitiesFilter,
ImagePropertiesFilter,CoreFilter,NUMATopologyFilter
27 INSERT DES
IGNATOR, I
dpdk
28
dpdk
● Data Plane Development Kit (DPDK) greatly boosts packet processing
performance and throughput, allowing more time for data plane applications.
29
THANK YOU!
Ad

More Related Content

Similar to Known basic of NFV Features (20)

Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Haidee McMahon
 
100Gbps OpenStack For Providing High-Performance NFV
100Gbps OpenStack For Providing High-Performance NFV100Gbps OpenStack For Providing High-Performance NFV
100Gbps OpenStack For Providing High-Performance NFV
NTT Communications Technology Development
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
DevOps.com
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
data://disrupted®
 
Netsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfvNetsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfv
Intel
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
LinuxCon ContainerCon CloudOpen China
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
OpenStack Korea Community
 
Virtualization & Network Connectivity
Virtualization & Network Connectivity Virtualization & Network Connectivity
Virtualization & Network Connectivity
itplant
 
IBM Programmable Network Controller
IBM Programmable Network ControllerIBM Programmable Network Controller
IBM Programmable Network Controller
IBM India Smarter Computing
 
Red hat NFV Roadmap - OpenStack Summit 2016/Red Hat NFV Mini Summit
Red hat NFV Roadmap    - OpenStack Summit 2016/Red Hat NFV Mini SummitRed hat NFV Roadmap    - OpenStack Summit 2016/Red Hat NFV Mini Summit
Red hat NFV Roadmap - OpenStack Summit 2016/Red Hat NFV Mini Summit
kimw001
 
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Michelle Holley
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
Michelle Holley
 
OSS-10mins-7th2.pptx
OSS-10mins-7th2.pptxOSS-10mins-7th2.pptx
OSS-10mins-7th2.pptx
jagmohan33
 
XS Boston 2008 Network Topology
XS Boston 2008 Network TopologyXS Boston 2008 Network Topology
XS Boston 2008 Network Topology
The Linux Foundation
 
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi SubsystemTutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Dheryta Jaisinghani
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
ShapeBlue
 
Intel xeon e5v3 y sdi
Intel xeon e5v3 y sdiIntel xeon e5v3 y sdi
Intel xeon e5v3 y sdi
Telecomputer
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
Ikuo Kumagai
 
如何用k8s打造國產5G NFV平臺? 剖析經濟部5G核網技術的關鍵
如何用k8s打造國產5G NFV平臺?剖析經濟部5G核網技術的關鍵如何用k8s打造國產5G NFV平臺?剖析經濟部5G核網技術的關鍵
如何用k8s打造國產5G NFV平臺? 剖析經濟部5G核網技術的關鍵
Jace Liang
 
2011-11-03 Intelligence Community Cloud Users Group
2011-11-03 Intelligence Community Cloud Users Group2011-11-03 Intelligence Community Cloud Users Group
2011-11-03 Intelligence Community Cloud Users Group
Shawn Wells
 
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Haidee McMahon
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
DevOps.com
 
Achieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVMAchieving the Ultimate Performance with KVM
Achieving the Ultimate Performance with KVM
data://disrupted®
 
Netsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfvNetsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfv
Intel
 
See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
LinuxCon ContainerCon CloudOpen China
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
OpenStack Korea Community
 
Virtualization & Network Connectivity
Virtualization & Network Connectivity Virtualization & Network Connectivity
Virtualization & Network Connectivity
itplant
 
Red hat NFV Roadmap - OpenStack Summit 2016/Red Hat NFV Mini Summit
Red hat NFV Roadmap    - OpenStack Summit 2016/Red Hat NFV Mini SummitRed hat NFV Roadmap    - OpenStack Summit 2016/Red Hat NFV Mini Summit
Red hat NFV Roadmap - OpenStack Summit 2016/Red Hat NFV Mini Summit
kimw001
 
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Install FD.IO VPP On Intel(r) Architecture & Test with Trex*
Michelle Holley
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
Michelle Holley
 
OSS-10mins-7th2.pptx
OSS-10mins-7th2.pptxOSS-10mins-7th2.pptx
OSS-10mins-7th2.pptx
jagmohan33
 
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi SubsystemTutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Tutorial WiFi driver code - Opening Nuts and Bolts of Linux WiFi Subsystem
Dheryta Jaisinghani
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
ShapeBlue
 
Intel xeon e5v3 y sdi
Intel xeon e5v3 y sdiIntel xeon e5v3 y sdi
Intel xeon e5v3 y sdi
Telecomputer
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
Ikuo Kumagai
 
如何用k8s打造國產5G NFV平臺? 剖析經濟部5G核網技術的關鍵
如何用k8s打造國產5G NFV平臺?剖析經濟部5G核網技術的關鍵如何用k8s打造國產5G NFV平臺?剖析經濟部5G核網技術的關鍵
如何用k8s打造國產5G NFV平臺? 剖析經濟部5G核網技術的關鍵
Jace Liang
 
2011-11-03 Intelligence Community Cloud Users Group
2011-11-03 Intelligence Community Cloud Users Group2011-11-03 Intelligence Community Cloud Users Group
2011-11-03 Intelligence Community Cloud Users Group
Shawn Wells
 

More from Raul Leite (14)

Latinoware - Quarkus io cloud native apps
Latinoware - Quarkus io cloud native appsLatinoware - Quarkus io cloud native apps
Latinoware - Quarkus io cloud native apps
Raul Leite
 
Latinoware 2019 - Kubernetes a plataforma de grandes ideias
Latinoware 2019 - Kubernetes a plataforma de grandes ideiasLatinoware 2019 - Kubernetes a plataforma de grandes ideias
Latinoware 2019 - Kubernetes a plataforma de grandes ideias
Raul Leite
 
Containers e DevOps
Containers e DevOps Containers e DevOps
Containers e DevOps
Raul Leite
 
Red Hat Enterprise Linux 8 - Novidades
Red Hat Enterprise Linux 8 - NovidadesRed Hat Enterprise Linux 8 - Novidades
Red Hat Enterprise Linux 8 - Novidades
Raul Leite
 
Case Itaú OpenStack Red Hat
Case Itaú OpenStack Red HatCase Itaú OpenStack Red Hat
Case Itaú OpenStack Red Hat
Raul Leite
 
O que é OpenShift ?
O que é OpenShift ?O que é OpenShift ?
O que é OpenShift ?
Raul Leite
 
O que é OpenShift ?
O que é OpenShift ?O que é OpenShift ?
O que é OpenShift ?
Raul Leite
 
Automação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOpsAutomação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOps
Raul Leite
 
Nuvem e transformação digital
Nuvem e transformação digital  Nuvem e transformação digital
Nuvem e transformação digital
Raul Leite
 
RHOSP6 DELL Summit - OpenStack
RHOSP6 DELL Summit - OpenStack RHOSP6 DELL Summit - OpenStack
RHOSP6 DELL Summit - OpenStack
Raul Leite
 
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOSA PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
Raul Leite
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Raul Leite
 
Apresentação Cloud - Open(Stack/Shift)
Apresentação Cloud - Open(Stack/Shift)Apresentação Cloud - Open(Stack/Shift)
Apresentação Cloud - Open(Stack/Shift)
Raul Leite
 
Cgroups - Latinoware 2012
Cgroups - Latinoware 2012Cgroups - Latinoware 2012
Cgroups - Latinoware 2012
Raul Leite
 
Latinoware - Quarkus io cloud native apps
Latinoware - Quarkus io cloud native appsLatinoware - Quarkus io cloud native apps
Latinoware - Quarkus io cloud native apps
Raul Leite
 
Latinoware 2019 - Kubernetes a plataforma de grandes ideias
Latinoware 2019 - Kubernetes a plataforma de grandes ideiasLatinoware 2019 - Kubernetes a plataforma de grandes ideias
Latinoware 2019 - Kubernetes a plataforma de grandes ideias
Raul Leite
 
Containers e DevOps
Containers e DevOps Containers e DevOps
Containers e DevOps
Raul Leite
 
Red Hat Enterprise Linux 8 - Novidades
Red Hat Enterprise Linux 8 - NovidadesRed Hat Enterprise Linux 8 - Novidades
Red Hat Enterprise Linux 8 - Novidades
Raul Leite
 
Case Itaú OpenStack Red Hat
Case Itaú OpenStack Red HatCase Itaú OpenStack Red Hat
Case Itaú OpenStack Red Hat
Raul Leite
 
O que é OpenShift ?
O que é OpenShift ?O que é OpenShift ?
O que é OpenShift ?
Raul Leite
 
O que é OpenShift ?
O que é OpenShift ?O que é OpenShift ?
O que é OpenShift ?
Raul Leite
 
Automação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOpsAutomação do físico ao NetSecDevOps
Automação do físico ao NetSecDevOps
Raul Leite
 
Nuvem e transformação digital
Nuvem e transformação digital  Nuvem e transformação digital
Nuvem e transformação digital
Raul Leite
 
RHOSP6 DELL Summit - OpenStack
RHOSP6 DELL Summit - OpenStack RHOSP6 DELL Summit - OpenStack
RHOSP6 DELL Summit - OpenStack
Raul Leite
 
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOSA PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
A PRINCIPAL PLATAFORMA ABERTA, FAÇA MAIS COM MENOS
Raul Leite
 
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Visão Técnica - RHOS (Red Hat Enterprise Linux OpenStack)
Raul Leite
 
Apresentação Cloud - Open(Stack/Shift)
Apresentação Cloud - Open(Stack/Shift)Apresentação Cloud - Open(Stack/Shift)
Apresentação Cloud - Open(Stack/Shift)
Raul Leite
 
Cgroups - Latinoware 2012
Cgroups - Latinoware 2012Cgroups - Latinoware 2012
Cgroups - Latinoware 2012
Raul Leite
 
Ad

Recently uploaded (20)

Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Process Parameter Optimization for Minimizing Springback in Cold Drawing Proc...
Journal of Soft Computing in Civil Engineering
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Degree_of_Automation.pdf for Instrumentation and industrial specialist
Degree_of_Automation.pdf for  Instrumentation  and industrial specialistDegree_of_Automation.pdf for  Instrumentation  and industrial specialist
Degree_of_Automation.pdf for Instrumentation and industrial specialist
shreyabhosale19
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Ad

Known basic of NFV Features

  • 1. Raul Leite SR Solution Architect / Red Hat @sp4wnr0ot https://sp4wnr0ot.blogspot.com.br Known Basic of NFV Features #vbrownbag
  • 2. 2 agenda ● NFV architecture/concepts ● NFV bottlenecks ● sr-iov ● pci passthrough ● hugepages ● cpu pinning / numa ● dpdk
  • 3. 3 INSERT DES IGNATOR, I ● NFV architecture
  • 4. 4 NFV - Network Functions Virtualization
  • 5. 5 NFV – basic concepts ● independent common hardware ● automatic network operation ● flexible application development/deploy/high reliability ● provide the same service quality and safety as Telecom network
  • 7. 7
  • 8. 8 NFV bottlenecks ● packet loss ● hypervisor overhead ● low routing/traffic throughput ● CPU ● vm/instances resources allocation and scheduling
  • 9. 9 NFV – workload example ● Some NFV applications may have been developed to make specific use of certain CPU instructions. Example : ● A VPN appliance that requires a high-performance cryptography library Intel® Advanced Encryption Standard New Instructions (Intel® AES-NI).
  • 10. 10 INSERT DES IGNATOR, I pci passtrough
  • 12. 12 pci passtrough ● Allocation of the PCIe NIC entirely dedicated to the VMs ● No sharing of the NIC ● If your hardware does not have an I/O MMU (known as "Intel VT-d" on Intel-based machines and "AMD I/O Virtualization Technology" on AMD-based machines), you will not be able to assign devices in (hypervisor) KVM.
  • 13. 13 pci passtrough # grep -i nic_PF /etc/nova/nova.conf pci_alias={ "vendor_id": "8086", "product_id": "1528", "name": "nic_PF"} # openstack flavor create --ram 4096 --disk 100 --vcpus 2 m1.small.pci_passthrough # openstack flavor set --property "pci_passthrough:alias"="nic_PF:1" m1.small.pci_passthrough # grep -i nic_PF /etc/nova/nova.conf pci_alias={ "vendor_id": "8086", "product_id": "1528", "name": "nic_PF"} # openstack flavor create --ram 4096 --disk 100 --vcpus 2 m1.small.pci_passthrough # openstack flavor set --property "pci_passthrough:alias"="nic_PF:1" m1.small.pci_passthrough
  • 16. 16 sr-iov (single-root input/output virtualization) ● Allows a device, such as a network adapter, to separate access to its resources among various PCIe hardware functions: physical function (PF) and one or more virtual functions (VFs) ● Improves manageability and performance ● Enables network traffic to bypass the software layer of the hypervisor and flow directly between the VF and the virtual machine ● The PCI SR-IOV specification indicates that each device can have up to 256 VFs. Depending on the SR-IOV device.
  • 17. 17 sr-iov # lspci -nn | grep -i 82576 05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) 05:10.0 Ethernet controller [0200]: Intel Corporation 82576 Virtual Function [8086:10ca] (rev 01) # neutron net-create nfv_sriov --shared --provider:network_type vlan --provider:physical_network physnet_sriov --provider:segmentation_id=2150 # neutron subnet-create --name nfv_subnet_sriov --disable-dhcp --allocation-pool start=10.0.5.2,end=10.0.5.100 nfv_sriov 10.0.5.0/24 # neutron port-create nfv_sriov --name sriov-port --binding:vnic-type direct # lspci -nn | grep -i 82576 05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) 05:10.0 Ethernet controller [0200]: Intel Corporation 82576 Virtual Function [8086:10ca] (rev 01) # neutron net-create nfv_sriov --shared --provider:network_type vlan --provider:physical_network physnet_sriov --provider:segmentation_id=2150 # neutron subnet-create --name nfv_subnet_sriov --disable-dhcp --allocation-pool start=10.0.5.2,end=10.0.5.100 nfv_sriov 10.0.5.0/24 # neutron port-create nfv_sriov --name sriov-port --binding:vnic-type direct
  • 18. 18 INSERT DES IGNATOR, I hugepages
  • 20. 20 hugepages ● Linux uses a mechanism in the CPU architecture called "Translation Lookaside Buffers" (TLB) to manage the mapping of virtual memory pages to actual physical memory addresses. ● The TLB is a limited hardware resource, so utilizing a huge amount of physical memory with the default page size consumes the TLB and adds processing overhead ● Boost CPU computing performance ● The obvious optimization is to cache the results
  • 21. 21 hugepages Host # grubby --update-kernel=ALL --args=”hugepagesz=2M hugepages=2048 # echo 4 > /sys/devices/system/node/node0/hugepages/hugepages- 2048kB/nr_hugepages # nova flavor-key m1.small.performance set hw:mem_page_size=2048 Host # grubby --update-kernel=ALL --args=”hugepagesz=2M hugepages=2048 # echo 4 > /sys/devices/system/node/node0/hugepages/hugepages- 2048kB/nr_hugepages # nova flavor-key m1.small.performance set hw:mem_page_size=2048
  • 22. 22 INSERT DES IGNATOR, I numa / cpu pinning
  • 23. 23 numa ● Each node (or CPU) has its own memory bank ● memory access management is now distributed ● memory proximity ● performance and latency characteristics differ depending on the core a process is executing on and where the memory a process is accessing is located.
  • 24. 24 numa / cpu pinning ● Define vCPUs to cores 1 -> 1 ● Improves performance on the VM processing capacity ● Related to NUMA and PCI-Passthrough $ numactl --hardware node 0 cpus: 0 1 | 2 3 node 1 cpus: 4 5 | 6 7 Host Processes: Cores -> 0,1,4,5 Guest: Cores -> 2,3,6,7 /etc/nova/nova.conf vcpu_pin_set=2,3,6,7 $ numactl --hardware node 0 cpus: 0 1 | 2 3 node 1 cpus: 4 5 | 6 7 Host Processes: Cores -> 0,1,4,5 Guest: Cores -> 2,3,6,7 /etc/nova/nova.conf vcpu_pin_set=2,3,6,7
  • 25. 25 numa / cpu pinning $ nova flavor-create small.numa auto 2048 20 2 $ nova flavor-key small.numa set hw:cpu_policy=dedicated $ nova flavor-key small.numa set aggregate_instance_extra_specs:pinned=true $ nova flavor-create small.numa auto 2048 20 2 $ nova flavor-key small.numa set hw:cpu_policy=dedicated $ nova flavor-key small.numa set aggregate_instance_extra_specs:pinned=true
  • 26. 26 numa: nova-scheduler ● /etc/nova/nova.conf scheduler_default_filters=RetryFilter,AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter,CoreFilter,NUMATopologyFilter scheduler_default_filters=RetryFilter,AvailabilityZoneFilter, RamFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter,CoreFilter,NUMATopologyFilter
  • 28. 28 dpdk ● Data Plane Development Kit (DPDK) greatly boosts packet processing performance and throughput, allowing more time for data plane applications.