Contenu connexe Similaire à Intel NFVi Enabling Kit Demo/Lab (20) Plus de Michelle Holley (20) Intel NFVi Enabling Kit Demo/Lab2. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
2
Optimization Notice: Intel’s compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations
that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other
optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not
manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors.
Certain optimizations not specifc to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable
product User and Reference Guides for more information regarding the specifc instruction sets covered by this notice. Cost reduction
scenarios described are intended as examples of how a given Intel- based product, in the specifed circumstances and confgurations,
may affect future costs and provide cost savings. Circumstances will vary. Intel does not guarantee any costs or cost reduction. Intel
technologies’ features and benefts depend on system confguration and may require enabled hardware, software or service activation.
Performance varies depending on system confguration. No computer system can be absolutely secure. Check with your system
manufacturer or retailer or learn more at https://networkbuilders.intel.com/network-technologies/intelselectfasttrackkit.
No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document.
Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a
particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in
trade.
This document contains information on products, services and/or processes in development. All information provided here is subject
to change without notice. Contact your Intel representative to obtain the latest forecast, schedule, specifications and roadmaps.
The products and services described may contain defects or errors known as errata which may cause deviations from published
specifications. Current characterized errata are available on request. Copies of documents which have an order number and are
referenced in this document may be obtained by calling 1-800-548-4725 or by visiting www.intel.com/design/literature.htm.
© 2017 Intel Corporation. Intel, the Intel logo, and Xeon are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other
countries.
*Other names and brands may be claimed as the property of others.
Legal Information
3. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
3
Send your inputs to
M Jay
Muthurajan.Jayakumar@intel.com
4. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Acknowledgements
All Contributing & Facilitating Intel® Select Solution Fast Track Kit
4
John Morgan & PAE
Team
Ai Bee, Lim Chiu-Pi, Shih
M Jay Nancy Yadav Hu, Xuekun
Zhang, Jerry Larry Wang Joel Schuetze
Auernheimer, Joel A Langley, Todd C Dirk Blevins
Sy Jong Choi Eric Hu Andrew Duignan
Ren Shu
Sujata Tibrewala Purvi Thakkar Ruparel, Chandresh
Anju Saraswat And Each and Everyone
Contributing &
Facilitating
Intel® Select Solution
Fast Track Kit
5. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
5
To cross the “NFVi-ready” ODM chasm
6. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
6
• Intel own a big portion of NFVi
software
• We need to ensures that the
combination of Software
Ingredients for ODM’s Intel
Platforms operate predictably.
• Major concern from ODM
1. Getting SW running
2. Deliver matching performance with
Intel.
ODM’s Biggest Chasm: Software
Open Source software stack
based on ETSI* NFV reference Architecture
Intel® QuickAssist Technology Drivers
Intel® Ethernet Drivers: 10 and 40 GbE
Linux* Fedora* OS
KVM Hypervisor
DPDK*
Open vSwitch*
OpenStack* Cloud OS
OpenDaylight* Controller*
OPNFV* project
Volume Server
Processor AccelerationNIC Silicon Storage
7. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
7
ETSI NFVI Architecture - Intel Select Fast Track Kit Mapping
Image Caption 10pt gray text
8. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
8
Agenda
BKC Installera) Plus
b) Base
Tests H/W & S/W
Checklist
9. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
9
INTEL NFVi EK – Intel® NFVi Enabling Kit
9
An easy-to-use, automatic, self-contained toolkit to
accelerate ODM* benchmarking NFVi-ready server
designs on Whitley platform. Help ODM to catch up the
business opportunity in 5G wave.
INTEL NFVi EK is a toolkit
Help ODM to ramp capability fast on NFVi
Ensure integration conformance align to NFVi BKC
Based on golden benchmark to characterize baseline performance
Leverage open methodology to generate KPI** w/ VNF workload
Automatic, self-contained with required scripts and SW components
Easy diagnosis and optimization
Benchmark NSB/ OPNFVNFVi BKC
Intel NFVi Enabling Kit
(INTEL NFVi EK)
(Automatic test suite: Conformance test, test cases,
performance indicators, report, analyze, etc.)
* ODM: Traditional ODMs with limited or no Comm expertise
** KPI: Key Performance Indicator from NSB/OPNFV which defines open and well-known
benchmark environment, methodology and VNF workloads
Conformance Baseline Perf NFVi/Network
/VNF KPIs
10. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
10
INTEL NFVi EK - Performance Baseline
• As a standard benchmark for DPDK, QAT
and Openvswitch
• With a verified traffic generator.
• KPI:
• Single core performance, verified platform
health level.
• Easily setup with NIC simple configuration
• Alignment with NPG benchmarking team
release performance report.
• Deliver a html version of RFC2544
throughput report.
INTEL NFVi EK
Ubuntu
P1 P2
IXIA
P3 P4
P3P1 P2 P4
DPDK
Traffic Gen L3fwd
11. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
11
Do You Want To Get DPDK Cookbook?
12. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
12
https://software.intel.com/en-us/article/get-the-dpdk-cookbook
13. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
13
Agenda
Needs of NFV Infrastructure
Quantitative Approach
Intel Select Solution for NFVi
What to Give and What to Get
Call For Action
14. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
14
Agenda
Needs of NFV Infrastructure
Quantitative Approach
Intel Select Solution for NFVi
What to Give and What to Get
Call For Action
1) Pkt Processing
3) Speed / Connections per sec
2) Crypto / Compression
15. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
15
Needs - What is important for your NFV Infrastructure?
A) Functional Correctness – Working well - with all features combinations
B) Extracting Full Performance from your Server – with above combinations
C) Tools to Probe and report status about both A) and B)
D) Tools to control and correct A) and B)
E) All Of The Above
16. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
16
Needs - What is important for your NFV Infrastructure?
A) Functional Correctness – Working well - with all features combinations
B) Extracting Full Performance from your Server – with above combinations
C) Tools to Probe and report status about both A) and B)
D) Tools to control and correct A) and B)
E) All Of The Above
17. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
17
1) Functional Correctness
Change is the only constant. Lot of Moving Parts / Variables
Which CPU Version to go with which BIOS version? (Refer Document & implement)
Which Driver version? (Refer release notes and implement)
How many Getting Started Guides and Dear Customer Letters can you read?
How to feel comfortably confident about functional correctness ?
Base Platform --> h/w version firmware version OS Version
Drivers --> NIC PF Version DPDK Version QAT Version
Virtualization --> QEMU Version Libvirt Version NIC VF Version
NIC h/w, f/w --> NC Firmware NIC Transceivers
NIC Cable and
Length
Open Source
Agility Frequent Patches in all software releases &
in all firmware
releases
18. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
18
With those questions on Functionality, let us look at Performance
19. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
19
How do you know your NIC card is plugged in most optimal slot?
Not all slots
are made
equal !
2) Is Performance Optimal?
Green Servers
How do you know the system is optimized for performance or optimized for power?
Not all slots are made equal
20. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
20
How do you know memory is sufficient?
How do you know memory and I/O are optimally placed for NUMA?
I/O Plugged in CPU1’s Slot
How much memory do you
see in CPU1 node?
ZERO !
CPU 0 CPU 1
CPU 0 has only One
Channel memory
populated.
How do you know during run time …
Your Cores, you think you dedicated for tight polling…
Are not taken away by Linux Scheduler …
21. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
21
What if?
What if?
If there is a way you can compare with a reference platform
That has all the matching components – from patches, functionality point of view
That, also, quantitatively tells what conformance requirements are
Base Platform --> h/w version firmware version OS Version
Drivers --> NIC PF Version DPDK Version QAT Version
Virtualization --> QEMU Version Libvirt Version NIC VF Version
NIC h/w, f/w --> NC Firmware NIC Transceivers
NIC Cable and
Length
Open Source
Agility Frequent Patches in all software releases &
in all firmware
releases
22. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
22
Welcome to
Intel® Select Fast Track Kit for NFV Infrastructure
23. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
23
https://builders.intel.com/docs/networkbuilders/intel-select-fast-track-kit-for-nfvi.pdf
24. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
24
Blueprint & Corresponding Optimized NFV Server
Image Caption 10pt gray text
Image Caption 10pt gray text
25. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
25
Developers Benefit
Image Caption 10pt gray text
26. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
26
ETSI NFVI Architecture - Intel Select Fast Track Kit Mapping
Image Caption 10pt gray text
27. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
27
ETSI NFVI Architecture - Intel Select Fast Track Kit Mapping
Image Caption 10pt gray text
28. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
28
Building Blocks – Intel Select Fast Track Kit
29. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
29
Configuration – Intel Select Fast Track Kit
30. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
30
OK. I am interested. Where can I get more info?
Image Caption 10pt gray text
31. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
31
Needs - What is important for your NFV Infrastructure?
A) Functional Correctness – Working well - with all features combinations
B) Extracting Full Performance from your Server – with above combinations
C) Tools to Probe and report status about both A) and B)
D) Tools to control and correct A) and B)
E) All Of The Above
32. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
32
Conformity Checklist - What if I want to build 2 systems –
1) One For highest Performance &
2) Another For Price / Performance sweet spot
How to measure each one - as how it stands in the scale?
33. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
33
Two Targets For Conformity – 1) Base, 2) Plus
BASE
Platform
PLUS
Platform
34. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
34
OK.
Conformity – What does it measure?
raw numbers?
or at
application level?
35. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
35
In 3 Dimensions - 1) Pkt Processing Throughput,
2) Security /Compression processing
3) Connections per second
1) Pkt Processing
(DPDK RFC 2544)
3) Speed / Connections per sec
2) Crypto / Compression
OpenSSL
OpenSSL/NGiNX
36. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
36
1) Pkt Processing
(DPDK RFC 2544)
3) Connetions per sec
2) Crypto / compression
36
37. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
37
1) Pkt Processing
(DPDK RFC 2544)
3) Connections per sec
2) Crypto / Compression
Next:
2) Security & Compression
OpenSSL / NGINX
OpenSSL
38. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
39. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Where to Get Intel_NFVI_EK from?
git@github.intel.com:lwang47/Intel_NFVI_EK.git
https://github.intel.com/lwang47/Intel_NFVI_EK
40. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
40
For example Reference: Open source Doc at
http://fast.dpdk.org/doc/perf/DPDK_17_08_Intel_NIC_performance_report.pdf
41. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Pre-Work That Was Done
41
42. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Pre-Work that was done
apt-get update
apt-get install build-essential
apt-get install git
uname –r
Note down what it returns and use in the following ‘uname –r’
apt-get install pciutils libudev-dev libboost-dev linux-headers-`uname -r`
zlib1g-dev libssl-dev
apt-get install git
43. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Preparing Server
cd /root
mkdir work
cd /root/work
mv /downloads/Intel_NFVI_EK.zip /root/work/.
unzip as shown next
44. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Install Intel_NFVI_EK-dev
Intel_NFVI_EK.zip = => unzip to get Intel_NFVI_EK-dev.zip
[password intel.123]
* Intel_NFVI_EK-dev.zip = => unzip to get the contents
45. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Directory Structure after extracting
46. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Getting the Menu
sudo su –
cd /root/work
mv Intel_NFVI_EK-dev Intel_NFVI_EK
1st :To get the menu loaded
# python /root/work/Intel_NFVI_EK/src/tools/menu.py
2nd: To get the conformance report:-
# python /root/work/Intel_NFVI_EK/src/exec/server_info.py
1st : Menu Getting Loaded
Ping
10.27.156.74
47. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
48. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Menu option 1 - Guide
49. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Option 2 – Download BKC s/w packages
PROXY
ERRORS?
50. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
50
These Are End Results.
How to get there?
Is there checklist to get us there?
S/W
Checklist ?
H/W
Checklist ?
51. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
51
S/W
Checklist ?
52. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
52
BASE
Platform
PLUS
Platform
H/W
Checklist ?
53. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
53
What If My Checklist does not match?
54. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
54
Needs - What is important for your NFV Infrastructure?
A) Functional Correctness – Working well - with all features combinations
B) Extracting Full Performance from your Server – with above combinations
C) Tools to Probe and report status about both A) and B)
D) Tools to control and correct A) and B)
E) All Of The Above
55. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Base Versus Plus
./ubuntu.sh base Vs ./ubuntu plus
55
56. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Checking Hardware
56
112
cores
Node 0
Siblings
Node 1
Siblings
Passed
57. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Memory
57
NIC
58. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
NIC Firmware
58
NIC Slot
59. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Chipset
59
QAT HW
NVMe
BIOS Version
BIOS Config
60. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Drivers & OS - Version
60
QAT Driver
DPDK Version
NIC Drivers
QAT Driver
61. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Virtualization
61
KVM/QEMU
Libvirt
62. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
62
How Can I find My Checklist does match?
63. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Congratulations ! Your System Passed !!
63
64. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Suppose If s/w did Not Confirm, What is the Next
Step?
Install All Those Needed correct software
64
A) Functional Correctness – Working well - with all features combinations
B) Extracting Full Performance from your Server – with above combinations
C) Tools to Probe and report status about both A) and B)
D) Tools to control and correct A) and B)
E) All Of The Above
65. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Lot Of Moving Parts
65
66. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Manual Install Versus Auto Install
66
BKC
Installer
67. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Contents of BKC Installer – 1) Ubuntu
67
68. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Contents of BKC Installer – 1) Ubuntu
68
69. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Demo
69
Attached the Instruction to run the system as well:-
simplify steps.
cd /root/work
./env.sh
Skylake SP 8160
Working Steps: 2,3,4,5,9
10.5.250.16
username: root
password: root
Skylake SP 6140
Working Steps: 2,3,4,5
10.5.250.23
username: root
password: root
Broadwell E5-2695 v4
Working Steps: 2,3,4,5,8
10.5.251.37
username: root
password: root245
Skylake SP 6130 for running QAT Sample Application only, 2 is
not required as all pre-download are done.
Working Steps: 2,9
10.5.248.116
username: root
password: root
Note: test result is at
/root/work/Intel_NFVI_EK/output/qat_Throughput.html
70. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Contents of BKC Installer
70
RHEL
71. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
What To Expect: Installer – Directory & Files
71
72. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Streamlined BKC Install
72
73. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Pre Seed
ubuntu16-uefi.seed
73
Must Change
74. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Trex* (Open Source Linux* Foundation s/w)
74
75. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
75
76. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Trex – Configuring dpdk_setup
76
Python ./dpdk_setup_ports.py -i
77. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
77
78. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Grafana – Windows – Page 1of 5
78
Step 4) Download nssm
Why? This will run Grafana as windows service.
How? https://nssm.cc/download
Ref: 1) https://www.youtube.com/watch?v=QJxk0V5i6qM
2) http://docs.grafana.org/installation/windows/
Step 1) Open a browser and type in
https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.6.1.windows-x64.zip
Step 2) Unzip grafana-4.6.1.windows-x64.zip
Change 3000 to 8080
Step 5) Create a directory bin in c:/
Copy the nssm.exe to c:/bin
Step 3) Go To Config directory. Copy sample.ini to custom.ini. Edit custom.ini file. Remove the Semicolon before the word
http_port. Change 3000 to 8080 for http_port. Save custom.ini file
79. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
rfc2544
79
80. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
80
QAT Sample Code: ./cpa_sample_code
Intel® NFVI Select Compliance Design
Requirements
1) Pkt Processing
(DPDK RFC 2544)
3) Connections per sec
2) Crypto / Compression
81. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
81
82. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
82
83. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Step 6:
Open Command Prompt & Issue the two commands
cd bin
nssm install Grafana
83
Step 7: Follow the steps in screenshot
7a) Application
Point the path to grafana-server.exe
Grafana – Windows – Page 2of 5
84. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Step 7b) Application->Details -> Delayed Start
84
Step 7c) Logon as local system a/c
Grafana – Windows – Page 3of 5
85. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Step 8: C:binServices.msc
85
User name = admin
Password = admin
Step 9: Right Click & Start Grafana
Step 10: Open a Browser
127.0.0.1:8080/login
Grafana – Windows – Page 4of 5
86. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
86
https://hodgkins.io/windows-metric-dashboards-with-influxdb-and-grafana
Tips & BKMs
Create a directory bin in c:/
Copy the nssm.exe to c:/bin
Extract both downloaded nssm and grafana in place in c:/downloads
Grafana – Windows – Page 5 of 5
87. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Ports & Addresses
87
Usage Port # File Directory Notes
server “127.0.0.1” “25826” 25826 – is the port where
collectd will “transmit” on
the network i/f [andfluxDB
will listen for CollectD
metrics
Specified in CollectD config
file collectd.conf
/etc/collectd/collectd.conf And InfluxDB will listen for
CollectD metrics through
this same port – and it will
be mentioned in InfluxDB
conf file
[[collectd]]
bind-address =
“:25826”
“:25826” InfluxDB binds to
collectd with this <ip-
addr>:25826
/etc/influxdb/influxdb.c
onf
Collectd config uses this
port to inject into the
network to server
bind-address = “:8083” “:8083” Admin service for
influxdb
/etc/influxdb/influxdb.c
onf
Note, for admin
purposes, bind-address
becomes “<IP-
Address>:8083”
bind-address = “:8086” “:8086” Admin service for
influxdb
/etc/influxdb/influxdb.c
onf
Note, for data exchange
purposes, bind-address
becomes “<IP-
Address>:8086”
<ip-addr>:8086 :8086 In the GUI Grafana data source Influxdb config has
http: defined with
this port
88. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
collectd
Collectd in dynamic environment
https://www.youtube.com/watch?v=PWVAAQ2N2_k
88
Communication between InfluxDB and Collectd
https://groups.google.com/forum/#!topic/influxdb/4oDzeSGc-qY
89. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
89
90. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Call To Action
Get the 2 Documents
List the Gives & Gets
Work on Your Gives & Gets
Contact M Jay Muthurajan.Jayakumar@intel.com
90
91. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Optimization Notice
91
Optimization Notice
Intel’s compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that
are not unique to Intel microprocessors. These optimizations include SSE2®, SSE3, and SSSE3 instruction sets and
other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on
microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended
for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for
Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information
regarding the specific instruction sets covered by this notice.
Notice revision #20110804
92. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Back up
92
93. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
/root/trex/v2.31/automation
93
94. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
94
/root/trex/v2.31/automation/trex_control_plane
95. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
95
/root/trex/v2.31/automation/trex_control_plane/unit_tests
96. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Starting the Script
96
97. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Check the BKC Version
97
98. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Post Install Info
98
99. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Contents – Looking Deeper
99
100. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
txt.zip
100
101. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
WW41
101
102. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Dmesg with BKC_ww41
102
103. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
dmesg continues
103
104. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
104
105. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Dmesg ..
105
106. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
ww41_BKC - Verify for Base Qualification
106
107. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
107
108. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
108
109. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Virtualization
109
110. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Still You Can Improve !
110
111. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
111
112. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Collectd
Sudo apt-get update
112
https://github.com/collectd/collectd
113. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
sudo service collectd start
service collectd status
113
In case modifying conf file,
Service collectd restart
114. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
ls –al /etc/collectd
114
cat /etc/collectd/collection.conf
cat /etc/collectd/collect.conf
115. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Apache2
Https://www.youtube.com/watch?v=JBghNRlF-I8
https://www.youtube.com/watch?v=i1vB7JnPvuE
Sudo apt-get update
Sudo apt-get install apache2
apachectl start
But there is no GUI to see the Browser interface of apache. How to do that?
115
116. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Install full GUI
https://www.youtube.com/watch?v=6e0PuU2EHp8
Sudo tasksel
Select Ubuntu Gnome Desktop
Sudo reboot
PLEASE NOTE:
ssh still works with the updated latest password, whereas, new GUI only remembers
old original password – which in the BKC was password
How come it remembers old password? Or is this password from GUI install?
Open firefox browser and type in the IP address e.g., 192.168.0.7
116
117. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Time zone setting - Good to have in UTC
117
Note Down Release and Code Name – 16.04 xenial
Install curl first
Sudo apt-get update
Sudo apt-get install curl
Installing InfluxDB
You should get response
Sudo apt-get update
It gives this error
118. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Sudo apt-get install influxdb -y
118
Check the file /etc/influxdb/influxdb.conf – for admin section enabled and bind-address = “:8083”
Check the file /etc/influxdb/influxdb.conf – for http section enabled and bind-address = “:8086”
119. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Verify both admin and http web interface
119
192.168.0.7:8083 192.168.0.7:8086
Time to Add Data Sources?
Let us enhance collectd with snmp-mibs for query
sudo apt-get install snmp-mibs-downloader
Let us go influxdb config file to enable collectd
Sudo vi etc/influxdb/influxdb.conf
See how is collectd section defined
It is disabled. Now let us enable it
Let it take its effect. sudo systemctl restart influxdb
120. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
service infludb status # You will see now influxdb talking to collectd on UDP
120
121. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
404 error on API interface – This is what you will get
https://github.com/influxdata/influxdb/issues/436
121
122. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
InfluxDB
122
https://docs.influxdata.com/influxdb/v1.3/concepts/key_concepts/
123. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Reference
123
https://github.com/cisco-system-traffic-generator/trex-stateless-gui/releases/tag/v4.0
RFC2544
https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=resources;hb=HEAD
How to Install Grafana on Ubuntu 16.04 and Pull In home Assistant Data from InfluxDB
https://www.youtube.com/watch?v=oexrAKLQ_LI
InfluxDB – Ubuntu wget
wget https://dl.influxdata.com/influxdb/releases/influxdb_1.3.7_amd64.deb
sudo dpkg -i influxdb_1.3.7_amd64.deb
InfluxDB – Windows wget
unzip influxdb-1.3.7_windows_amd64.zip
124. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Collectd
Collectd First Steps https://collectd.org/wiki/index.php/First_steps
Send CollectD Metric to InfluxDB https://anomaly.io/collectd-metrics-to-
influxdb/
Collectd https://collectd.org/
Collectd plug-ins https://collectd.org/wiki/index.php/Table_of_Plugins
https://collectd.org/wiki/index.php/First_steps
124
125. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
125
https://collectd.org/download.shtml
126. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Hands-on TRex
sudo su -
cd /home/ubuntu/root/trex/v2.31
python dpdk_nic_bind.py - - status
python dpdk_nic_bind.py –u 0000:03:00.0
python dpdk_nic_bind py –u 0000:03:00.1
python dpdk_nic_bind.py –b ixgbe 03:00.0 03:0.1
126
sudo python dpdk_setup_ports.py -i
cp cfg/simple_cfg.yaml /etc/trex_cfg.yaml
sudo python dpdk_setup_ports.py -i
127. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Collectd Plug-ins
Grafana – influxdb – collectd - demo
127
128. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Apps trying to take all resources
128
129. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Limit the scope of resource usage
129
Run again - ./t-rex-64 –c 4 -i
Still has to ask for less memory
130. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
Still reduced to limit_memory to 256
130
Looked at Huge page
131. Copyright © 2017, Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.
131