20
Advance Netcom Group Research and Advanced Engineering 09/24/2019 Automotive Ethernet Switch 1 Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios Sravanthi Manthripragada Ford- R&A- Advanced Netcom

Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

  • Upload
    others

  • View
    19

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

1

Measuring the performance of Automotive Ethernet Switch under variety of realistic and

worst case scenarios

Sravanthi Manthripragada Ford- R&A- Advanced Netcom

Page 2: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

2

Technology Overview

Legacy in-vehicle communication protocols Switched Automotive Ethernet

Page 3: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

What is a Network Switch?

3

Device MAC address1 00:01:02:03:04:AA:052 00:01:02:03:04:AA:063 00:01:02:03:04:AA:074 00:01:02:03:04:AA:08

1 2 3 4

Host

Endpoint 1 Endpoint 2 End point 3 Endpoint 4

Layer 2 Ethernet Switch

5

Page 4: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

4

Layer 2 Switch vs Layer 3 Switch?

7. Physical Layer

6. presentation Layer

5. Session Layer

4. Transport Layer

3. Network Layer

2. Data Link Layer

1. Physical Layer

Layer 2 Switch – MAC addresses only – Static Routing

Layer 3 Switch – MAC and IP addresses – Dynamic Routing

Page 5: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

5

Understanding Ethernet Switch and Test Setup

Spirent

Computer

Serial Com

Page 6: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

6

Sample Switch Configuration Topology

Untrusted Domain

Module1

Module 2

Trusted Domain

Gateway

ETH1SW1

4 3 2 1ETH2

Module 3

Module1

Module 2

Module 3

Module 4

ETH4

00:01:02:03:04:AA:05

00:01:02:03:AA:04:05

00:01:02:03:AA:04:05

00:01:02:AA:03:04:05

00:01:02:03:04:BB:05

Page 7: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

7

Test Process

Port Configuration

End pointConfiguration

Routing Traffic

Results

Results

Switch Topology Data1. MAC Configuration Table2. L2 Routing information3. L2 Policing information4. VLAN Table

Evaluate Pass/Fail

Compare

Generate Traffic

Page 8: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

Testing Device Configuration Setup

1. Port Configuration Connect to the testing device chassis by its IP address and Reserve ports Set the Physical Layer parameters such as Speed, Duplex and disable

auto negotiation Select the test ports and save If the ports are configured, Link status should be UP

8

Page 9: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

2. End Point Configuration • Select Protocols, Encapsulation• Configure devices by MAC and IPV4 addresses

9

Port Name

Encapsulation Source MAC Source IP

VLAN ID VLAN Priority

Port 1 EthernetII/VLAN/IPV4 00:01:02:03:04:AA:05 00.0.0.1 100 5

Port 2 EthernetII/IPV4 00:01:02:03:AA:04:05 00.0.0.2 - -

Port 3 EthernetII/IPV4 00:01:02:AA:03:04:05 00.0.0.3 - -

Port 4 EthernetII/IPV4 00:01:0:03:04:BB:05 00.0.0.4 - -

Page 10: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

10

3. Stream Blocks Setup

Loading PREEVision Arxml files into Spirent tool eliminates the need of manual configuration

Name Source Destination Traffic Pattern

Stream Block 1 Device 1 Device 2, Device 3 BackboneStream Block 2 Device 2, Device 3 Device 1 BackboneStream Block 3 Device 1 Device 2 PairStream Block 4 Device 2 Device 3 Pair

Page 11: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

11

Switch Performance Test Basic L2 routing Broadcast L2 routing QOS Bandwidth limitation

RFC 2544 Tests –Benchmark TestsBack to Back Frames TestFrame Loss TestThroughput TestLatency Test

Switch Testing with Spirent Tool

Page 12: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

Switch Performance Test Results

12

a) Basic L2 Routing Test Results

Generated traffic on each device and confirmed that the expected traffic is getting through without frame drop

Port name Total TX Count (Frames)

Total RX Count (Frames)

Port 1 35,013 70,027Port 2 35,013 17,507Port 3 35,013 17,506Port 4 0 0

105,040 105,040

To ensure the Traffic is routed to the correct destination ports

Page 13: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

b) Broadcast L2 Routing Test Results

13

Port name Total Tx Count (Frames)

Total Rx Count(Frames)

Port 1 52,369 0Port 2 0 52,369Port 3 0 52,369Port 4 0 52,369

52,369 157,107

Broadcasted Traffic is routed to all the remaining ports

To generate broadcast traffic and verify the routing pattern

Page 14: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

c) QOS Bandwidth Limit Test Results

14

Bandwidth is limited on the outgoing stream blocks and observed the frames dropped depending on the bandwidth limitation rate

To Limit the incoming traffic based on switch capability

Port name Total Tx Count (Frames)

Total Rx Count(Frames)

Port 1 305,252 0Port 2 0 567Port 3 305,252 0Port 4 0 567

335,778 1,134

Page 15: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

RFC 2544 Tests –Benchmark Test Results

a) Back to Back frames test results

15

To identify the ability of the switch to process back-to-back frames.

The back-to-back value is the number of frames in the longest burst that the switch can handle without the loss of any frames.

Frame Size Burst Size Intended load (%)

Offeredload (%)

Tx Frame Count

Rx Frame count

Frame Loss

1518 24384 10 10.001 24384 24384 01518 48765 20 20 48765 48765 01518 73149 30 30.001 73149 73149 01518 97530 40 40 97530 97530 01518 121914 50 50.001 121914 121914 0

Page 16: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

b) Latency Test Results

16

Intended Load

Offered Load

Tx Frame Count

Rx Frame Count

Minimum Latency

(us)

MaximumLatency

(us)

Average Latency

(us)10 10 297620 297620 11.34 11.54 11.44420 20 595240 595240 11.34 11.54 11.44430 30 892858 892858 11.34 11.56 11.45140 40 1190478 1190478 11.36 11.56 11.45650 50 1488096 1488096 11.34 11.54 11.444

To Measure the time required for a frame to travel from the originating device through the switch to the destination device

Traffic is transmitted at specified loads and durationsDetermined the Minimum, Average, Maximum Transmit delay of the generated traffic.

Page 17: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

c) Frame Loss Test

17

Intended Load (%)

Offered Load(%)

TX Frame Count

Rx Frame Count

Frame Loss

100 100 2,976,192 2,976,192 090 90 2,678,572 2,678,572 080 100 1,689,190 1,689,190 090 90 1,520,272 1,520,272 0

To determine the number of frames the switch routes under steady constant load that are not forwarded due to lack of resources

A specific number of frames are sent at a specific rate and the frames that are transmitted by the Switch are counted.

The test is repeated until there are two successive trials in which no frames are lost

Page 18: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

d) Throughput Test results

18

IntendedLoad

offered Load (%)

Throughput (%)

Result

10 10 10 Passed55 55 55 Passed

77.5 77.5 77.5 Passed88.75 88.75 88.75 Passed94.375 94.375 94.375 Passed97.188 97.188 97.188 Passed98.594 98.594 98.594 Passed99.297 99.297 99.297 Passed

10 10 10 Passed

To determine the maximum number of frames that can be transmitted without any error

Frames are transmitted at a specific rate (or load) each iteration. Determined the maximum rate at which none of the offered frames are dropped by the Switch.

Page 19: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

Conclusion

19

This test process measures the basic performance of an Automotive Ethernet Switch under different test conditions and bandwidth limitations

to verify the basic performance of the switch meets requirements.

This test process enables benchmarking of Automotive Ethernet Switch(es)under variety of realistic and worst case conditions

to observe how the switch performs under different frame size, durations and rate.

Page 20: Measuring the performance of Automotive Ethernet Switch ...€¦ · Measuring the performance of Automotive Ethernet Switch under variety of realistic and worst case scenarios

Advance Netcom GroupResearch and Advanced Engineering

09/24/2019

Automotive Ethernet Switch

20

Thank You