trex realistic traffic generator · what problem is being solved? ... different ip pool for each...

82

Upload: haxuyen

Post on 27-Aug-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%
Page 2: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

TRexRealistic Traffic Generator

Hanoch Haim, Principal Engineer

DEVNET-1120

Page 3: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco Spark

Questions? Use Cisco Spark to communicate with the speaker after the session

1. Find this session in the Cisco Live Mobile App

2. Click “Join the Discussion”

3. Install Spark or go directly to the space

4. Enter messages/questions in the space

How

cs.co/ciscolivebot#DEVNET-1120

Page 4: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Agenda

• Overview

• Stateless

• Stateful

• Advance Stateful

Page 5: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex – Results

• Open Source

• Cisco Customers

DEVNET-1120 5

Page 6: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex Usage Analytics monthly report (*)

(**) Users are distinct

(*) ~1200 distinct returningusers,

DEVNET-1120 6

Page 7: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex models of operation

• L7, DUT terminate TCP/SSL, flow based

• DUT inspect L7. does not change TCP. Flow based

• DUT L2/L3 Switch , packet based

DEVNET-1120 7

Page 8: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

What Problem is Being Solved?

• Networks include complex L4-7 features, such as• Load Balancer, DPI/AVC, Firewall, NAT

• Requires testing with stateful and realistic traffic mix

Firewall, NATDPI/AVCLB

DEVNET-1120 8

Page 9: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

What Problem is Being Solved?

• Traffic generators for realistic traffic are• Expensive ~$100-500K

• Not scalable for high rates

• Not flexible

• Implication • Limited and late testing

• Different benchmarks and test methodologies

• Real life bottlenecks and design issues

DEVNET-1120 9

Page 10: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

What is TRex?

• Linux user-space application uses DPDK library

• Stateless: Stream based uses Scapy

• Stateful: flow basedGenerates, manipulates and amplifies based on templates of real, captured flows (W/O TCP stack)

• High performance: up to 200 Gb/sec

• Low cost: Standard server hardware

• Flexible and Open Software

• Virtualization

• Easy installation and deployment

DEVNET-1120 10

Page 11: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1120 11

Page 12: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Stateless

Page 13: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Stateless High level functionality

• High scale – ~10M-35MPPS/core

• Profile can support multiple streams, scalable to 20K parallel streams

• Interactive support – GUI/TUI

• Statistic per port/ stream (e.g. latency/ Jitter)

• Python automation support

• Multi-user support

• Capture to Wireshark

• Scalable services using plugins (e.g. DHCP,IPv6)

DEVNET-1120 13

Page 14: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Traffic Profile Example

DEVNET-1120 14

Page 15: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Control plane High level

DEVNET-1120 15

Page 16: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

One stream with two directions

DEVNET-1120 16

Page 17: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Python Automation example

DEVNET-1120 17

Page 18: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

link

Performance XL710 MPPS/Core

DEVNET-1120 18

Page 19: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Demo

Page 20: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Stateful

Page 21: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

L7 inspection features

• Networks include complex L4-7 features, such as

• Load Balancer, DPI/AVC, Firewall, NAT

• Requires testing with stateful and realistic traffic mix

Firewall, NATDPI/AVCLB

DEVNET-1120 21

Page 22: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Stateful Traffic Generation Model

DEVNET-1120 22

Page 23: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

High level software architecture

CP

U/S

ha

re m

em

ory

Sh

are

m

em

ory

Inte

l N

IC

DP -thread 1

CP – thread 0

DP -thread 2

Rx – thread 5

IF0Client

IF1Server

IF2Client

IF3Server

DP -thread 3

DP -thread 4

• DPDK/Multi-Threaded

• Scales linearly

• ~5MPPS/~20 Gb/sec per core

• Supports 1/10/40 Gb Intel NICs

• Flow-based

• Fast event scheduler

• Generates flow templates

• Can support 1K templates

• Scales up to 100K clients,1M servers

• Flexible

• Client/server generation models• Measures jitter/latency/flow order

• NAT translation/IPv6/Tunnels

• User Interface

• Python API

• Benchmark automation

• GUI

DEVNET-1120 23

Page 24: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Flow Generation

• Example of one flow with four packets

24DEVNET-1120

Total PPS =

𝑘=0

𝑛

𝐶𝑃𝑆𝑘 × 𝑓𝑙𝑜𝑤_𝑝𝑘𝑡𝑠𝑘

Total CPS =

𝑘=0

𝑛

𝐶𝑃𝑆𝑘

Concurrent flows

=

𝑘=0

𝑛

𝐶𝑃𝑆𝑘 × 𝑓𝑙𝑜𝑤_𝑑𝑢𝑟𝑎𝑡𝑖𝑜𝑛𝑘

FIF

FIF

FIF

Page 25: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

DNS simple profile example

DEVNET-1120 25

Page 26: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

DNS output

DEVNET-1120 26

Page 27: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

HTTP & DNS

DEVNET-1120 27

Page 28: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

HTTP & DNS

DEVNET-1120 28

Page 29: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Enterprise traffic profile

• Includes protocols with Control/Data

dependency • SIP

• RTSP

DEVNET-1120 29

Page 30: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

EMIX - YAML

DEVNET-1120 30

Page 31: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

EMIX

DEVNET-1120 31

Page 32: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

NAT/FW learning translation/randomization

1-Tx-SYN

1-Rx-SYN (learn translation per flow)

2-Tx-SYN-ACK

2-Rx-SYN-ACK (learn)

3-Tx-ACK

3-Rx-ACK (learn seq number randomization)

DEVNET-1120 32

Page 33: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Client Clustering• To simulate a big network

• Scale of the number of clients

• For Controller testing

DEVNET-1120 33

Page 34: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Performance MPPS/Core @ 8M flows

DEVNET-1120 34

Page 35: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Gbps extrapolation, average packet size 600B

DEVNET-1120 35

Page 36: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Advanced Stateful

Page 37: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

User space TCP stack – Why ?

DEVNET-1120 37

Page 38: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

User space TCP stack – Why ?

DEVNET-1120 38

Page 39: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex ASTF features

• High scale

• TCP is the core component

• Can be tuned MSS/initwnd/delay-ack

• TCP is based on BSD with acceleration

• Interactive

• Accurate latency measurement – usec

• Simulation of latency/jitter/drop in high rate

• OpenSSL integration

• L7 emulation layer

• Emulate application using “micro-instructions”

• Field engine

DEVNET-1120 39

Page 40: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex ASTF features status

• High scale

• TCP is the core component

• Can be tuned MSS/initwnd/delay-ack

• TCP is based on BSD with acceleration

• Interactive

• Accurate latency measurement – usec

• Simulation of latency/jitter/drop in high rate

• OpenSSL integration

• L7 emulation layer

• Emulate application using “micro-instructions”

• Field engine

DEVNET-1120 40

Page 41: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

L7 Emulation layer Client side

Server side

DEVNET-1120 41

Page 42: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

HTTP simple profile

DEVNET-1120 42

Page 43: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Client side pseudo code

DEVNET-1120 43

Page 44: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Server side pseudo code

DEVNET-1120 44

Page 45: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Profile with two template

DEVNET-1120 45

Page 46: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Different IP pool for each template

DEVNET-1120 46

Page 47: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Statistic

DEVNET-1120 47

Page 48: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Client/Server only

DEVNET-1120 48

Page 49: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Under the hood

DEVNET-1120 49

Page 50: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TCP stack – Flow Scale -TX

10M flows

320GByte

320M mbuf

=10GB

0.01GB

DEVNET-1120 50

Page 51: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TCP stack – Flow Scale issue - RX

10M flows

320GByte

3-50GB for 1%

drop rate

0.01GB

DEVNET-1120 51

Page 52: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TCP stack – Delay/Jitter/Drop simulation

100MPPS *100msec

=10MPPS in Queue

100MPPS *100msec

=10*16MPPS=0.16GB

DEVNET-1120 52

Page 53: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex vs NGINX

DEVNET-1120 53

Page 54: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Performance setup #2

DEVNET-1120 54

Page 55: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Performance numbers

https://trex-tgn.cisco.com/trex/doc/trex_astf_vs_nginx.html

x80 faster

x2000 less memory

DEVNET-1120 55

Page 56: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

wrapup

Page 57: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

TRex models of operation

• L7, DUT terminate TCP/SSL, flow based

• DUT inspect L7. does not change TCP. Flow based

• DUT L2/L3 Switch , packet based

DEVNET-1120 57

Page 58: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco PublicDEVNET-1120 58

Page 59: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Cisco Spark

Questions? Use Cisco Spark to communicate with the speaker after the session

1. Find this session in the Cisco Live Mobile App

2. Click “Join the Discussion”

3. Install Spark or go directly to the space

4. Enter messages/questions in the space

How

cs.co/ciscolivebot#DEVNET-1120

Page 60: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

• Please complete your Online Session Evaluations after each session

• Complete 4 Session Evaluations & the Overall Conference Evaluation (available from Thursday) to receive your Cisco Live T-shirt

• All surveys can be completed via the Cisco Live Mobile App or the Communication Stations

Don’t forget: Cisco Live sessions will be available for viewing on-demand after the event at www.ciscolive.com/global/on-demand-library/.

Complete Your Online Session Evaluation

Page 61: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Continue Your Education

• Stateless manual

• TRex documents Index

• GitHub

• DevNet zone

DEVNET-1120 61

Page 62: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Continue Your Education

• Demos in the Cisco campus

• Walk-in Self-Paced Labs

• Tech Circle

• Meet the Engineer 1:1 meetings

• Related sessions

62DEVNET-1120

Page 63: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Thank you

Page 64: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%
Page 65: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Backup

Page 66: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Stateless –Traffic profile

Page 67: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 67DEVNET-1120

Simple Interleaving streams

Page 68: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 68DEVNET-1120

Simple Interleaving streams -profile

Page 69: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Multi burst

69DEVNET-1120

Page 70: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 70DEVNET-1120

Multi burst profile

Page 71: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Field Engine

71DEVNET-1120

• Flexible engine for changing packet fields

• Examples

– Change TOS 1-20

– Range of client IPv4/IPv6 e.g. 10.0.0.1-10.0.0.254

– Random packet size 64-9k

– Random destination IPv4/IPv6

– Support any tunnel even not valid packet like

QinQ/GRE/MPLS/Ipv6/UDP/Ipv4/HTTP

Page 72: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 72DEVNET-1120

Field Engine, Syn attack

Page 73: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Pcap File Conversion to Streams

DEVNET-1120 73

Page 74: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Per Stream Statistics

DEVNET-1120 74

Page 75: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Per Stream Statistics - TUI

DEVNET-1120 75

Page 76: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

• Base on per stream stats hardware assist

• Software measures latency and jitter resolution is

~usec (not nsec)

Per Stream Latency/Jitter

76DEVNET-1120

Page 77: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public 77DEVNET-1120

Per Stream Statistics - TUI

Page 78: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

Stateless –Service mode

Page 79: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Service Mode

DEVNET-1120 79

Page 80: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Service Mode

• Ping / ARP/DHCP Client

• IPv6 ND /Multicast setup

• Scan6 support

• Traffic Capturing

• Functional test

• New protocols multiplex framework

80DEVNET-1120

Page 81: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%

© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public

Service Mode Capture Monitoring – Wireshark Pipe

81DEVNET-1120

Page 82: TRex Realistic Traffic Generator · What Problem is Being Solved? ... Different IP pool for each template ... TCP stack –Flow Scale issue - RX 10M flows 320GByte 3-50GB for 1%