performance benchmarking of atm devicesjain/talks/ftp/perf_bnr.pdf · 3 the ohio state university...

34
1 Raj Jain The Ohio State University Performance Performance Performance Benchmarking of Benchmarking of Benchmarking of ATM Devices ATM Devices ATM Devices Contact: [email protected] http://www.cis.ohio-State.Edu/~Jain/ Raj Jain Professor of Computer and Information Science The Ohio State University Columbus, OH 43210-1277

Upload: vanmien

Post on 12-Apr-2018

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

1

Raj JainThe Ohio State University

PerformancePerformancePerformanceBenchmarking ofBenchmarking ofBenchmarking of

ATM DevicesATM DevicesATM Devices

Contact: [email protected]

http://www.cis.ohio-State.Edu/~Jain/

Raj Jain

Professor of Computer and Information ScienceThe Ohio State University

Columbus, OH 43210-1277

Raj Jain
Horizontal small
Page 2: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

2

Raj JainThe Ohio State University

Our TeamOur TeamOur Team

q Dr. Gojko Babic

q Dr. Arjan Durresi

q Justin Dolske

q Shabbir Shahpurwala

Page 3: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

3

Raj JainThe Ohio State University

q What is Performance Benchmarking?

q Goals of ATM Forum Performance Testing WG

q Current definitions: Throughput, latency, fairness,frame loss rate, maximum burst size, connectionestablishment latency

q MIMO Frame Latency

q Measurement experiences

Overview

Page 4: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

4

Raj JainThe Ohio State University

Dictionary DefinitionDictionary DefinitionDictionary Definition

q Benchmark v. trans. To subject (a system) to aseries of tests in order to obtain prearranged resultsnot available on competitive systems.

From: The Devil’s DP DictionaryS. Kelly-Bootle

Page 5: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

5

Raj JainThe Ohio State University

Other Networking BenchmarksOther Networking BenchmarksOther Networking Benchmarks

q Benchmarking Methodology Working group(BMWG) formed in January 1990

q RFC 1242 “Benchmarking Methodology forNetwork Interconnection Devices” written in July1991.

q RFC 1944, “Benchmarking Methodology forNetwork Interconnect Devices”, May 17, 1996, 30pp.

q Defined a number of terms that are commonly(mis)used by vendors

Page 6: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

6

Raj JainThe Ohio State University

Why Do This at ATM Forum?Why Do This at ATM Forum?Why Do This at ATM Forum?

q ATM Forum has the most interest of making ATMsuccessful (compared to IETF)

q Confusion caused by differing terminology anddiffering benchmarks will eventually lead tocustomer dis-satisfaction

q Better customer information will contribute to morecustomer satisfaction and more sales and hencesuccess of ATM.

Page 7: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

7

Raj JainThe Ohio State University

Cell Level vs Frame LevelCell Level vs Frame LevelCell Level vs Frame Levelq Performance benchmarking

= Performance seen by the user ≠ Cell level QoSFor example, CLR = 0.1% may mean a frame lossrate of 0.1% in one switch or 0.001% in another.

q Data applications care for frame loss rate and notCLR.

q Video applications care for

q Frame loss rate

q Frame delay variation

q Frame transfer delay

Page 8: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

8

Raj JainThe Ohio State University

SCOPE: GoalsSCOPE: GoalsSCOPE: Goals

q Define metrics that help the customer comparevarious ATM (and possibly non-ATM) equipment.

q The metrics should be independent of switcharchitectures.They should apply to all architectures.

q Develop precise methodologies for measuring thesemetrics.Methodology = Procedure + Configuration + TrafficPattern⇒ Anyone (user or vendor) can conduct it and comeup with the same result.

Page 9: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

9

Raj JainThe Ohio State University

Non-GoalsNon-GoalsNon-Goals

q ATM Forum will not do any measurements.

q Forum will not certify any measurements.

q Will not set any performance thresholds

q Setting thresholds can kill the performance-costtradeoffs

q Example 1: Frame loss rate should be no morethan 1%

q Example 2: Switch delay should be less than 1ms.

Page 10: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

10

Raj JainThe Ohio State University

OSU National ATMOSU National ATMOSU National ATMBenchmarking LabBenchmarking LabBenchmarking Lab

q Performance Benchmarking

q Presentations at NetWorld+Interop Atlanta (Sep1995)

q Presentation at ATM Forum (Oct 1995)

q Defining metrics and measurement methodology

q Benchmarks run in our lab

q The benchmark scripts can be run by anymanufacturer

q Modeled after Harvard benchmarking lab for routers

Page 11: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

11

Raj JainThe Ohio State University

MetricsMetricsMetrics

q Throughput: Lossless, Peak, Full Load

q Latency: MIMO

q Frame Loss Rate

q Throughput Fairness

q Maximum Frame Burst Size

q Connection establishment latency

Page 12: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

12

Raj JainThe Ohio State University

ThroughputThroughputThroughputq Lossless, Peak, Full-load

q Unit = bits/sec

Load (Input)

Throughput(Output) Lossless

Peak

CBX

YXZ Full-Load

Page 13: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

13

Raj JainThe Ohio State University

Connection ConfigurationsConnection ConfigurationsConnection Configurationsfor Foreground Trafficfor Foreground Trafficfor Foreground Traffic

Note: Inputs are shown on the left. Outputs on the right.

b. n-to-(n−1) full cross: n× (n−1)VCCs; n=4

In

In

In

In

Out

Out

Out

Out

In

In

In

In

Out

Out

Out

Out

a. n-to-n straight: n VCCs; n=4

Page 14: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

14

Raj JainThe Ohio State University

Configurations (Cont)Configurations (Cont)Configurations (Cont)

c. n-to-m partial cross: n×m VCCs; n=4, m=2

In

In

In

In

Out

Out

Out

Out

d. k-to-1: k VCCs; k=3

In

In

In

In

Out

Out

Out

Out

Page 15: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

15

Raj JainThe Ohio State University

Configurations (Cont)Configurations (Cont)Configurations (Cont)

e. 1-to-(n-1): one (multicast) VCC

In

In

In

In

Out

Out

Out

Out

Page 16: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

16

Raj JainThe Ohio State University

Scaleable Test ConfigurationsScaleable Test ConfigurationsScaleable Test Configurations

n-to-n Straight

P3Out P3 In

P2 In P2Out

P1Out P1 In

P0 In P0Out

P7 In P7Out

P6Out P6 In

P5 In

P4Out P4 In A In

ATM Monitor

System under Test: ATM Switch

P5Out

A Out

Page 17: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

17

Raj JainThe Ohio State University

Scaleable Test Configurations IIScaleable Test Configurations IIScaleable Test Configurations II

8-to-2 partial cross

P2 Out

P3Out P3 In

P2 In P2Out

P1Out P1 In

P0 In P0 Out

P7 In P7 Out

P6Out P6 In

P5 In

P4Out P4 In A In

ATM Monitor

System under Test: ATMSwitch

P5Out

A Out

Page 18: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

18

Raj JainThe Ohio State University

Latency Measurement: OverviewLatency Measurement: OverviewLatency Measurement: Overview

Single Bit

Single Cell

Input Speed ≠ Output Speed

Output frame not contiguous

Input frame not contiguous

Page 19: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

19

Raj JainThe Ohio State University

Latency: Single BitLatency: Single BitLatency: Single Bit

q Latency = tout - tin

Latency

time

tintout

Page 20: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

20

Raj JainThe Ohio State University

LIFO

Latency: Single CellLatency: Single CellLatency: Single Cell

q FIFO = First-bit in to first-bit out

q LIFO = Last-bit in to last-bit out

q FILO = First-bit in to last-bit out

q LILO = Last-bit in to last-bit out

q FIFO = LILO = FILO - Cell time = LIFO + Cell time

q Assumes input speed = output speed

FILOFIFOLILO

Page 21: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

21

Raj JainThe Ohio State University

Frame LatencyFrame LatencyFrame Latency

q MIMO = Message in Message out latency= min{LILO, FILO-Normalized Frame Output Time}

q NFOT = FILI*Input link rate/output link rate

q Applies even when frames are not contiguous Even when: Input rate <> Output rate

FIFO

FILOLILO

FILI

Page 22: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

22

Raj JainThe Ohio State University

Latency Definition: RequirementsLatency Definition: RequirementsLatency Definition: Requirements

q Host speed should not affect the measured switchperformance

q Delay caused by input/output link speeds should notbe attributed to switch latency.

AALATMPHY

ATMPHY

ATMPHY

AALATMPHY

Measurement points

Page 23: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

23

Raj JainThe Ohio State University

Simple SwitchesSimple SwitchesSimple Switches

q Intelligent FIFO:Knows cell size. Holds first bit to avoid underrun.

q These components have known switching latencies

q Combinations of these ⇒ Known latency switches

(a) Wire: Rin = Rout (b) FIFO: Rin > Rout (c) Intelligent FIFO: Rin < Rout

D

Page 24: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

24

Raj JainThe Ohio State University

Zero-Delay SwitchZero-Delay SwitchZero-Delay SwitchInput Speed = Output SpeedInput Speed = Output SpeedInput Speed = Output Speed

q FIFO is zero ⇒ Correct

q LILO is zero ⇒ Correct

q MIMO = Min{LILO, FILO - Cell input time*Rin/Rout} = 0 ⇒ Correct

Page 25: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

25

Raj JainThe Ohio State University

Zero-Delay SwitchZero-Delay SwitchZero-Delay SwitchInput Speed > Output SpeedInput Speed > Output SpeedInput Speed > Output Speed

q FIFO is zero ⇒ Correct

q LILO is non-zero ⇒ Incorrect

q MIMO = Min{LILO, FILO - Cell input time*Rin/Rout} = 0 ⇒ Correct

Page 26: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

26

Raj JainThe Ohio State University

Zero-Delay SwitchZero-Delay SwitchZero-Delay SwitchInput Speed < Output SpeedInput Speed < Output SpeedInput Speed < Output Speed

q FIFO is non-zero ⇒ Incorrect

q LILO is zero ⇒ Correct

q MIMO = Min{LILO, FILO - Cell input time*Rin/Rout} = 0 ⇒ Correct

Page 27: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

27

Raj JainThe Ohio State University

Non-Zero Delay SwitchesNon-Zero Delay SwitchesNon-Zero Delay Switches

(a) FIFO = LILO = MIMO = D

(b) FIFO = MIMO = D, LILO is incorrect

(c) LILO = MIMO = D, FIFO is incorrect

(a) Rin = Rout

D

(b) Rin > Rout (c) Rin < Rout

Page 28: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

28

Raj JainThe Ohio State University

Summary: Single CellSummary: Single CellSummary: Single Cell

q MIMO is the only metric that applies to all cases.

No. Case FIFO LILO MIMO1 Input speed = output speed √ √ √2 Input speed > output speed √ × √3 Input speed < output speed × √ √

q These results also apply to contiguous frames

Page 29: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

29

Raj JainThe Ohio State University

Discontigous Frames: SummaryDiscontigous Frames: SummaryDiscontigous Frames: Summary

No. Case FIFO LILO MIMO

1aD Input rate = Output rate, no change in gaps √ √ √1bD Input rate = Output rate, expansion of gaps × √ √1cD Input rate = Output rate, compression of gaps × √ √2aD Input rate < Output rate, no change in gaps × √ √2bD Input rate < Output rate, expansion of gaps × √ √2cD Input rate < Output rate, compression of gaps × √ √3aD Input rate > Output rate, no change in gaps √ × √3bD Input rate > Output rate, expansion of gaps × × √3cD Input rate > Output rate, compression of gaps × × √

Page 30: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

30

Raj JainThe Ohio State University

Frame Latency from Cell-level DataFrame Latency from Cell-level DataFrame Latency from Cell-level Dataq If Input rate < Output Rate, MIMO Latency = LILO

⇒ MIMO can computed from last cell’s CTD

q If Input rate > Output RateMIMO Latency = FIFO + Frame output time -Normalized Frame Output Time ⇒ MIMO can be computed from first cell’s CTDand first cell to last cell inter-arrival times

q If Input rate = output rate, either one can be used 1st celldelay

last celldelay

1st cell-lastcell inter-

arrival time

MIMOlatency

[1]

FIFOlatency

FOLOtime

FILOlatency

MIMOlatency

[2]21.5 21.5 541.0 18.2 18.2 543.83 562.03 18.4418.5 21.0 543.5 17.7 15.2 546.33 561.53 17.94

Page 31: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

31

Raj JainThe Ohio State University

Scaleable Test ConfigurationScaleable Test ConfigurationScaleable Test Configuration

7-to-7 Straight background VCsBackground trafficForeground traffic

P5Out P5 In

P4Out P4 In

P1 Out P1 In

P0 Out P0 In

P7 Out P7 In

P6Out P6 In

P3Out

P2Out P2 In

A In AOut

B In

ATM Monitor

System under Test: ATMSwitch

P3 In

B Out

Page 32: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

32

Raj JainThe Ohio State University

Performance MetricsPerformance MetricsPerformance Metrics

1. Throughput: Lossless, peak, full-load

2. Latency = Min{LILO, FILO- NFOT} = MIMO

3. Throughput fairness = (Σxi)2/(nΣxi2)

4. Frame loss rate = (Input Rate - Throughput)/InputRate

5. Maximum frame burst size = # of back to backframes

6. Call establishment latency= MIMO latency of Setup + MIMO latency ofConnect

Page 33: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

33

Raj JainThe Ohio State University

SummarySummarySummary

q Performance benchmarking is important to avoidcustomer confusion

q Frame-level not cell-level metrics

q Test configurations: n-to-1, n-to-n, n-to-k partialcross, n-to-(n-1) full cross, ...

q Scalable test configurations require only one or twogenerator and monitor regardless of number ofports.

q MIMO latency can be measured even with currentcell-level monitors.

Page 34: Performance Benchmarking of ATM Devicesjain/talks/ftp/perf_bnr.pdf · 3 The Ohio State University Raj Jain q What is Performance Benchmarking? q Goals of ATM Forum Performance Testing

34

Raj JainThe Ohio State University

ReferencesReferencesReferences

q See http://www.cis.ohio-state.edu/~jain/

q Raj Jain and Gojko Babic, “Performance TestingEffort at the ATM Forum: An Overview,” To appearin IEEE Communications Magazine, Version April10, 1997, 11 pp., http://www.cis.ohio-state.edu/~jain/papers/perf_com.ps