---
# System prepended metadata

title: NFVI benchmark
tags: [NFVI, ' Intel']

---

---
tags: NFVI, Intel
---
# NFVI benchmark
###### tags: NFVI 

## HW equipment

Model: 	SCB-1921B-AA1
OS: 	Ubuntu 20.04 (Kernel Version 5.4.0-54-generic)
CPU: 	Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHZ
RAM: 	16G (DDR4 2666) * 24
Chipset:	Intel(R) C627 Series (QAT Supported)
BIOS: 	Version 5.14


## Introduction

#### This SOP helps to understand and quickly test the Intel Network Function Virtualization Solution. For More details, please check the 606325 Intel Select Solution for Network Function Virtualization Infrastructure (NFVI) on Canonical Ubuntu v2.	For this test we are using 610147 Intel select solution verification scripts for network solution rv1p6.


## Prerequisites
Hardware Requirements: Hardware configuration is very important and should be as per SOP description.
![](https://i.imgur.com/mOES3XQ.png)
Software Requirements: 
![](https://i.imgur.com/b2MMLx0.png)
![](https://i.imgur.com/7pdXc4h.png)
![](https://i.imgur.com/6pyyK0P.png)
BIOS Settings:
![](https://i.imgur.com/5GSaGS5.png)
![](https://i.imgur.com/hRHKJuc.png)

# Steps:
**1.	Operating System Installation (Ubuntu 20.04)
2.	Update the kernel Version.**

When we install OS Ubuntu 20.04 the default kernel version would be different, so we have to change the kernel version. Mostly, we downgrade the kernel version from the current to previous version. e.g., now our default kernel version is 5.8.0-36-generic but as per our SOP requirements we need 5.4.0-54-generic. 

Here is the simplest way to change the kernel version: 
a.	Check the current kernel version:

```javascript=
# uname -r
or
# hostnamectl
# dpkg --list | grep linux-image
```
b.	Install the Linux kernel image and headers:

```javascript=
# sudo apt install linux-image-${NEW_KERNEL_VERSION}
# sudo apt install linux-headers-${NEW_KERNEL_VERSION}
```
c.	Update the initramfs.
```javascript=
# sudo update-initramfs -u -k ${NEW_KERNEL_VERSION}
```
d.	Update the grub
```javascript=
# sudo update-grub
```
e.	Reboot the system
```javascript=
# reboot
```
**Note:** If the grub cannot update with that version which you need then remove other version of linux kernel images and headers and keep the version we need and run the step d and e.

**3.	Run the NFVI Installation Script**.
a.	Copy the nfvi kit on the desktop the given the folder name would be.
 *iss-install.*
```javascript=
# cd 610147-intel-select-sol-for-nfvi-enabling-kit-rs1p6/iss-install
```
b.	In the iss-install folder we have two .sh scripts install.sh and iss.sh. we need make them executable first with.
```javascript=
# chmod +x install.sh
# chmod +x iss.sh
```
c.	Now its time to run these scripts in order to install nfvi-kit for testing.
```javascript=
# ./install.sh iss 
```
Note: Enter Yes for Accept Software Tools License Agreement.
        Enter ***iss222*** for passphrase in the middle of Installation.

d.	When installation is finished two new folders created on the root location with the name of iss_nfvi and work.
```javascript=
# sudo su  
# ls 
{list out all the folder and make sure there are iss_nfvi and work folder}
```
**Note: iss_nfvi folder is for testing result where all the test logs are available, and we can check the log for test results. Work for is where we have all the testing scripts which we can run while testing.**

e.	Now we need to go to run iss_nfvi.sh which is available at work folder. 
```javascript=
# cd work/Intel_Select_Network/nfvi
# ls	
```
f.	Now run the iss_nfvi.sh 
```javascript=
# ./iss_nfvi.sh	
```
g.	When you can run the script, it can ask you about company name. its totally your own choice what you want to use. e.g., ***test or aewin***. 
Note: Enter Space for reading License Agreement.
       Enter Yes for Accept Software Tools License Agreement.

h.	Now you successfully see the option list for testing. Before going to run any test please run option 1 in order to install the required software’s. 

i.	After finishing the installation of all required software now you can run any test you want and check the result log in this iss_nfvi folder at root location.
```javascript=
# cd iss_nfvi
# ls 

```
## Verification & Benchmark Report

Hardware Summary:

=================
Intel Select Base for NFVi
=================


INFO:- File /root/iss_nfvi/test_hwsw.log will be generated

=== CPU Info ===
Model:                           85
Model name:                      Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHz
CPU(s):                          80
On-line CPU(s) list:             0-79
NUMA node0 CPU(s):               0-19,40-59
NUMA node1 CPU(s):               20-39,60-79
Stepping:                        7
microcode:             0x5002f01
............Passed

=== MEM Info ===


MemTotal:       394867740 kB
............Passed
CPU1: 12 x 16384 GB 2666 Hz
CPU2: 12 x 16384 GB 2666 Hz
............Passed

=== NIC ===
03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
18:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
18:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
Interface: ens9f0 Device ID: 0x1572 firmware version: 6.01
Firmware Checked............Passed
Speed 8GT/s and Width x8............Passed

Interface: ens9f1 Device ID: 0x1572 firmware version: 6.01
Firmware Checked............Passed
Speed 8GT/s and Width x8............Passed

=== NIC NUMA ===

=== NIC for Intel Select Reference Design ===
............Passed

=== Chipset ===
Chipset: Intel(R) C627 Series Chipset
............Passed

=== QAT HW ===
5e:00.0 PCI bridge: Intel Corporation Device 37c0 (rev 04)
Speed 8GT/s and Width x8 (atleast x8) ............Passed

Only 0 x Intel(R) QAT Engines. 2 or more QAT Engines required

QAT Add in Card Subsystem Value: 
0=Pre-production/not programmed; 1=dh8960, 2=dh8970; 35ce=Lewis Hill
	Subsystem: 8086:0000
	Subsystem: 8086:0000
	Subsystem: 8086:0000

Intel C627 Chipset QAT HW Detected ..... Passed

=== SSD ===

H/W path             Device      Class          Description
===========================================================
/0/100/11.5/0.0.0    /dev/sda    disk           480GB M.2 (S80) 3TG6-P
/0/100/17/0.0.0      /dev/sdb    disk           80GB INTEL SSDSC2BB08

SSD size check Failed. Atleast 2 480GB INTEL SSD Needed
............Failed

=== NVMe ===

Node             SN                   Model                                    Namespace Usage                      Format           FW Rev  
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     PHLE7384003J6P4BGN-1 INTEL SSDPECKE064T7                      1           3.20  TB /   3.20  TB    512   B +  0 B   QDV10150
/dev/nvme1n1     PHLE7384003J6P4BGN-2 INTEL SSDPECKE064T7                      1           3.20  TB /   3.20  TB    512   B +  0 B   QDV10150
/dev/nvme2n1     PHLE738400096P4BGN-1 INTEL SSDPECKE064T7                      1           3.20  TB /   3.20  TB    512   B +  0 B   QDV10150
/dev/nvme3n1     PHLE738400096P4BGN-2 INTEL SSDPECKE064T7                      1           3.20  TB /   3.20  TB    512   B +  0 B   QDV10150

Not enough NVMe P4510(s). Need atleast 2 for base and 4 for plus
............Failed


=== BIOS ===
	Version: 5.14
	Release Date: 08/17/2020
 Uncore Scaling Disabled.............Passed
............Passed

=== Intel Boot Guard ===
............Passed

=== QAT ===
Version: L.4.8.0-00005
............Passed

=== DPDK ===
dpdk-20.05
............Passed

=== SPDK ===
/opt/APP/utility/spdk
............Passed

=== Driver ===
ixgbe: 5.1.0-k
............Passed
ixgbevf: 4.1.0-k
............Passed
i40e: 2.8.20-k
............Passed
i40evf: 3.2.3-k
............Passed

=== OS ===
OS: 20.04.1
............Passed

=== KVM/QEMU ===
Running hypervisor: QEMU 4.2.1
............Passed

=== Libvirt ===
libvirtd (libvirt) 6.0.0
............Passed

Test Summary After and Before BIOS Setting:


**********************************************************************
/root/iss_nfvi/test_hwsw.log - Start
**********************************************************************

=================
Intel Select Base
=================


=== 	SCOREBOARD SUMMARY 	    
===     	HARDWARE	  	    
= CPU                               PASS 
= MEM                               PASS 
= NIC                               PASS 
= SSD HW                            FAIL: SSD size check Failed. Atleast 2 480GB INTEL SSD Needed
= C62x Chipset                      PASS 
= QAT HW                            PASS 
= NVMe P4510                        FAIL 
QAT Add in Card Subsystem Value: 
0=Pre-production/not programmed; 1=dh8960, 2=dh8970; 35ce=Lewis Hill
	Subsystem: 8086:0000
	Subsystem: 8086:0000
	Subsystem: 8086:0000
===	SOFTWARE/FIRMWARE	    
= BIOS                              PASS 
= Intel Boot Guard Enabled -        PASS 
= QAT SW                            PASS 

***********************************************************************
/root/iss_nfvi/test_hwsw.log - End 
***********************************************************************


************************************************************************
/root/iss_nfvi/test_jitter.log - Start 
************************************************************************

====================================== Jitter ========================== 
Sample No With Jitter > 100000 :
Sample No:	 1 	 113276
Sample No:	 5 	 42489206
Sample No:	 12 	 570920
Sample No:	 63 	 54449646
Sample No:	 71 	 171196
Sample No:	 85 	 140518
Sample No:	 182 	 125002962
Sample No:	 190 	 178416
NOTE: The rest of the 200 samples were below the jitter threshold.

************************************************************************
/root/iss_nfvi/test_jitter.log - End 
************************************************************************


**********************************************************************
/root/iss_nfvi/test_cpa.log - Start
**********************************************************************
================================= CPA ================================ 

                         Base             Plus            Measured   
----------------------------------------------------------------------
Compress and verify:   40 Gbps          50 Gbps         35.3 Gbps
Encryption:            40 Gbps          100 Gbps         50.9 Gbps
RSA:                   40 Ksps          100 Ksps         101.2 Ksps

***********************************************************************
/root/iss_nfvi/test_cpa.log - End 
***********************************************************************


***********************************************************************
/root/iss_nfvi/test_openssl.log - Start 
***********************************************************************

====================================================== OpenSSL =====================================================

                             Base      Plus          Measured with QAT     Measured without QAT      Value Prop(X's)
AES128-CBC HMAC-SHA1:     40 Gbps      100 Gbps         34.8 Gbps            22.6 Gbps                    1
RSA: (w/ 1 core)          40K sign/s   100K sign/s      83.2K sign/s        1.5K sign/s                 55

***********************************************************************
/root/iss_nfvi/test_openssl.log - End 
***********************************************************************
***********************************************************************
/root/iss_nfvi/test_nginx.log - Start 
***********************************************************************

====================================== NGINX ========================= 
                            Base      Plus                Measured    
-----------------------------------------------------------------------
Measured with QAT:       75000 CPS  80000 CPS         86900.4 CPS
Measured without QAT:    12000 CPS  N/A               19428.4 CPS
Value Proposition (X's) = 4.4

************************************************************************
/root/iss_nfvi/test_nginx.log - End 
************************************************************************


***********************************************************************
/root/iss_nfvi/test_haproxy.log - Start 
***********************************************************************

====================================== HAPROXY ========================= 
Connections/Second  with QAT: 27206.8
Connections/Second Without QAT: 8861.92
Value Proposition (X's) = 3.0

************************************************************************
/root/iss_nfvi/test_haproxy.log - End 
************************************************************************


**********************************************************************
/root/iss_nfvi/test_cpa.log - Start
**********************************************************************

///////////////////////////////////// After Required BIOS Settings /////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
================================= CPA ================================ 

                         Base             Plus            Measured   
----------------------------------------------------------------------
Compress and verify:   40 Gbps          50 Gbps         35.3 Gbps
Encryption:            40 Gbps          100 Gbps         50.4 Gbps
RSA:                   40 Ksps          100 Ksps         101.2 Ksps

***********************************************************************
/root/iss_nfvi/test_cpa.log - End 
***********************************************************************


***********************************************************************
/root/iss_nfvi/test_openssl.log - Start 
***********************************************************************

====================================================== OpenSSL =====================================================

                             Base      Plus          Measured with QAT     Measured without QAT      Value Prop(X's)
AES128-CBC HMAC-SHA1:     40 Gbps      100 Gbps         35.1 Gbps            22.6 Gbps                    1
RSA: (w/ 1 core)          40K sign/s   100K sign/s      83.2K sign/s        1.5K sign/s                 55

***********************************************************************
/root/iss_nfvi/test_openssl.log - End 
***********************************************************************
***********************************************************************
/root/iss_nfvi/test_nginx.log - Start 
***********************************************************************

====================================== NGINX ========================= 
                            Base      Plus                Measured    
-----------------------------------------------------------------------
Measured with QAT:       75000 CPS  80000 CPS         86302.4 CPS
Measured without QAT:    12000 CPS  N/A               19293.3 CPS
Value Proposition (X's) = 4.4

************************************************************************
/root/iss_nfvi/test_nginx.log - End 
************************************************************************


***********************************************************************
/root/iss_nfvi/test_haproxy.log - Start 
***********************************************************************

====================================== HAPROXY ========================= 
Connections/Second  with QAT: 27147.5
Connections/Second Without QAT: 8959.95
Value Proposition (X's) = 3.0

************************************************************************
/root/iss_nfvi/test_haproxy.log - End 
************************************************************************
