출처 : Napatech DN-1207 문서 참조 

* 한글번역본은 번역자료에 Napatech 디렉토리에서 확인 하시면 됩니다.

 

SOLUTION DESCRIPTION

 

Scaling TRex Traffic Generation Performance

Napatech Link™ Capture Software

 

Testing and validating network performance is of the utmost importance to network equipment manufacturers, operators and owners. In the past, the traditional approach to testing network performance was based on proprietary traffic generators. But while such solutions have indeed proved efficient for a long series of use cases, they either fall short or prove massively cost prohibitive when it comes to complex and realistic traffic generation.

 

To manage the cumulating density of functionalities and workloads, the industry now demands a testing regime that not only delivers outstanding performance – but also offers better scalability and drastic cost improvements.

 

TRex


TRex is an open source traffic generator developed specifically to address these shortcomings through an innovative and extendable software implementation. What differentiates TRex is its portability, cost, capacity and flexibility.

 

As for any other traffic generation solution, the ability for TRex to reliably generate packets at line rate across all packet sizes is paramount. Whether simply packet blasting or replaying PCAP files for testing, the ability to send traffic for small packets at the maximum speed is a prerequisite.

 

Traffic reception is also of critical importance. The ability to receive the generated traffic once it has traversed the Device Under Test (DUT) is the only way of measuring the effectiveness of the solution. If the traffic reception does not match the generation capabilities, testing is compromised as one cannot identify if it is the DUT that is dropping traffic or the test equipment itself.

 

Accelerated TRex performance

 

In addressing this challenge, Napatech has created a hardware acceleration solution, based on the Napatech Link™ Capture Software, that alleviates the load on the CPU and thereby greatly increases TRex performance.

 

Optimized for lossless transmit and receive, the solution demonstrates substantial performance advantages for TRex compared to a standard Network Interface Card (NIC):

• Up to 4x transmit performance improvement
• Up to 16x receive performance improvement

 

 

Turning acceleration into value These performance advantages ultimately allow you to:

 

• Maximize your server performance by improving CPU utilization

• Minimize your TCO by reducing number of servers, thus optimizing rack space, power, cooling and operational expenses

• Diminish your time-to-resolution, thereby enabling greatly increased efficiency

 

TRex generates layer 4-7 traffic based on pre-processing and smart replay of real traffic templates. TRex amplifies both client and server-side traffic. When running on the Napatech SmartNIC with Link™ Capture Software, TRex can both generate and receive traffic at 2x40G line rate regardless of packet size. This enables scalability both of bandwidth and feature complexities, thus providing businesses a highperformance and massively cost-efficient alternative to proprietary traffic generators.

 

TRex Stateless functionality includes support for multiple streams, the ability to change any packet field and provides per stream statistics, latency and jitter. Advanced Stateful functionality includes support for emulating L7 traffic with fully-featured scalable TCP layer.

 

Test configuration

 

The outstanding improvements achieved with this solution were demonstrated by comparing TRex performance running on a Dell PowerEdge R740 with a standard 40G NIC card and the Napatech NT200 SmartNIC.

 

Key solution features

 

• Line rate network throughput for all packet sizes

• Lossless capture for perfect inspection and detection

• Onboard packet buffering during micro-burst or PCI Express bus congestion scenarios

• Advanced host memory buffer management for ultra-high CPU cache performance

• Packet classification, match/action filtering and zero-copy forwarding

• Intelligent and flexible load distribution to as many as 64 queues improving CPU cache performance by always delivering the same flows to the same cores

 

Napatech Link™ Capture Software

 

The stunning benchmarks for TRex were achieved by deploying Napatech’s Reconfigurable Computing Platform™, based on FPGA-based Link™ Capture Software and Napatech SmartNIC hardware.

 

Napatech’s Reconfigurable Computing Platform flexibly offloads, accelerates and secures open, standard, high-volume and low-cost server platforms allowing them to meet the performance requirements for networking, communications and cybersecurity applications.

 

TRex

 

TRex is an ideal example of the type of critical enterprise security application that can achieve better performance through hardware acceleration.

 

TRex is an open source, low cost, stateful and stateless traffic generator. Typical use cases include:

 

• Creating high scale benchmarks for stateful networking gear, e.g. firewalls, DPI, IPS and load balancers

• Simulating high scale DDOS attacks

• Performing high scale, flexible testing for switches

• Performing scale tests for huge numbers of clients/ servers for controller-based testing

• Performing EDVT and production tests

 

TRex can be compiled with native support for hardware acceleration based on Napatech hardware and software. Napatech linux driver, installation instructions and source are available at:

 

https://github.com/cisco-system-traffic-generator/trex-core 

 

 

 

 

 

 

 

 

 

* 2019-07-09 현재 Napatech에서 제공되는 자료입니다.

 

Installing Napatech DPDK


Napatech DPDK is a fork of DPDK that supports Napatech drivers and SmartNICs.

DPDK documentation


Installing, compiling and running DPDK is quite complex. A full description can be found here:

* DPDK에 대한 세부 설치 내용은 아래 DPDK 공식 홈페이지 문서를 참고하셔야 됩니다. Napatech에서는 DPDK에 관련된 간단한 설치 방법만 제공하고 자세한 내용에 대해서는 언급하고 있지 않습니다. 

·         
http://dpdk.org/doc/quick-start
·         http://dpdk.org/doc/guides/linux_gsg/index.html


Napatech DPDK readme


The latest Napatech DPDK 
readme file can be found at https://github.com/napatech/dpdk/blob/master/ntacc_readme.md
The readme file contains information on how to compile Napatech DPDK and set up the Napatech driver for DPDK.
* Napatech에서 제공중인 DPDK에 대한 Version, Configuration, 지원 범위에 대해서는 Github의 readme 파일에 내용이 있습니다. 


Getting and compiling Napatech DPDK

Napatech DPDK can be downloaded or cloned from: https://github.com/napatech/dpdk/releases.
The environment variable NAPATECH3_PATH must be set to the Napatech driver installation root before compiling DPDK. The default installation root is /opt/napatech3.
* 본 문서에서는 Napatech Software Installation에 대해서는 생략합니다. Napatech Software Installation 관련해서는 Installation Guide를 참고하시기 바랍니다. 
** DPDK 설치 전에 반드시 Napatech Software Package가 설치되어 있어야 합니다.

# export NAPATECH3_PATH=/opt/napatech3

To get and compile Napatech DPDK, locate the latest release at https://github.com/napatech/dpdk/releases. In this example, the v18.08.0_1.9release is used:

# wget 
https://github.com/napatech/dpdk/archive/v18.08.0_1.9.tar.gz   
# tar xvf v18.08.0_1.9.tar.gz
# cd dpdk-v18.08.0_1.9/
# make config T=x86_64-native-linuxapp-gcc install
# make -j

DPDK and hugepages

To run any DPDK application, the Linux kernel option hugepages must be enabled.
Edit the file 
/etc/default/grub and change or add to the following line:
* DPDK Application 사용을 위해서는 Kernel Option에서 Hugepages 를 반드시 사용하여야 합니다.


GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G hugepages=2"

If you are using UEFI based boot, run this after editing /etc/default/grub:

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Else run this:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

출처 : Napatech DN-1185 문서 참조 

* 한글번역본은 번역자료에 Napatech 디렉토리에서 확인 하시면 됩니다.

SOLUTION DESCRIPTION

4x TRex Performance Increase for Tx & Rx Napatech Link™ Capture Software for Intel® PAC with Intel Arria® 10 GX FPGA

Testing and validating network performance is of the utmost importance to network equipment manufacturers, operators and owners. In the past, the traditional approach to testing network performance was based on proprietary traffic generators. But while such solutions have indeed proved efficient for a long series of use cases, they either fall short or prove massively cost prohibitive when it comes to complex and realistic traffic generation.

To manage the cumulating density of functionalities and workloads, the industry now demands a testing regime that not only delivers outstanding performance – but also offers better scalability and drastic cost improvements.

TRex

TRex is an open source traffic generator developed specifically to address these shortcomings through an innovative and extendable software implementation. What differentiates TRex is its portability, cost, capacity and flexibility.

As for any other traffic generation solution, the ability for TRex to reliably generate packets at line rate across all packet sizes is paramount. Whether simply packet blasting or replaying PCAP files for testing, the ability to send traffic for small packets at the maximum speed is a prerequisite.

Traffic reception is also of critical importance. The ability to receive the generated traffic once it has traversed the Device Under Test (DUT) is the only way of measuring the effectiveness of the solution. If the traffic reception does not match the generation capabilities, testing is compromised as one cannot identify if it is the DUT that is dropping traffic or the test equipment itself.

Accelerated

TRex performance In addressing this challenge, Napatech has created a hardware acceleration solution that greatly increases TRex performance. This has been achieved by making the Napatech Link™ Capture Software available as an Acceleration Stack for the Intel® Programmable Acceleration Card (PAC) with Intel Arria® 10 GX FPGA.

Optimized for lossless transmit and receive, the solution demonstrates substantial performance advantages for TRex compared to a standard Network Interface Card (NIC):
• 2x traffic generation performance
• 4x traffic reception performance

Turning acceleration into value

These performance advantages ultimately allow you to:
• Maximize your server performance by improving CPU utilization
• Minimize your TCO by reducing number of servers, thus optimizing rack space, power, cooling and operational expenses
• Diminish your time-to-resolution, thereby enabling greatly increased efficiency

TRex generates layer 4-7 traffic based on pre-processing and smart replay of real traffic templates. TRex amplifies both client and server-side traffic. When running on the Intel PAC with Napatech Link™ Capture Software, TRex can both generate and receive traffic at 40G line rate regardless of packet size. This enables scalability both of bandwidth and feature complexities, thus providing businesses a highperformance and massively cost-efficient alternative to proprietary traffic generators.

TRex Stateless functionality includes support for multiple streams, the ability to change any packet field and provides per stream statistics, latency and jitter. Advanced Stateful functionality includes support for emulating L7 traffic with fully-featured scalable TCP layer.

Test configuration

The outstanding improvements achieved with this solution were demonstrated by comparing TRex performance running on a Dell PowerEdge R740 with a standard 40G NIC card and the Intel PAC. Test configuration: dual-socket Dell R740 with Intel® Xeon® Gold 6138 2.0 GHz, 128GB RAM running CentOS 7.5.

Key solution features

• Line rate network throughput for all packet sizes
• Lossless capture for perfect inspection and detection
• Onboard packet buffering during micro-burst or PCI Express bus congestion scenarios
• Advanced host memory buffer management for ultra-high CPU cache performance
• Packet classification, match/action filtering and zero-copy forwarding
• Intelligent and flexible load distribution to as many as 64 queues improving CPU cache performance by always delivering the same flows to the same cores

Napatech Link™ Capture Software for Intel® PAC

The Intel® Programmable Acceleration Card (PAC) with Intel Arria® 10 GX FPGA is a PCIe-based FPGA accelerator card for data centers supporting both inline and lookaside acceleration.

As the leader in FPGA-based SmartNIC software and hardware, Napatech has made its Link™ Capture Software available as an Acceleration Stack for the Intel PAC.

Napatech’s Reconfigurable Computing Platform flexibly offloads, accelerates and secures open, standard, high-volume and low-cost server platforms allowing them to meet the performance requirements for networking, communications and cybersecurity applications.

TRex

TRex is an ideal example of the type of critical enterprise security application that can achieve better performance through hardware acceleration with the Intel PAC and Napatech dataplane software.

TRex is an open source, low cost, stateful and stateless traffic generator. Typical use cases include:

• Creating high scale benchmarks for stateful networking gear, e.g. firewalls, DPI, IPS and load balancers
• Simulating high scale DDOS attacks
• Performing high scale, flexible testing for switches
• Performing scale tests for huge numbers of clients/ servers for controller-based testing
• Performing EDVT and production tests

TRex can be compiled with native support for hardware acceleration based on the Intel hardware and Napatech software. Instructions specific to building TRex with support for Napatech are listed in the Installation Quick Guide available at the Napatech Documentation Portal.


 

+ Recent posts