13
Test on Forwarding Latency v.s Queuing Length Dapeng Liu (Presenter) Yang Shi, Shihui Duan, Lingli Deng draft-shi-dclc-latency-test-00 IETF90@Toronto

Test on Forwarding Latency v.s Queuing Length

  • Upload
    tex

  • View
    28

  • Download
    1

Embed Size (px)

DESCRIPTION

Test on Forwarding Latency v.s Queuing Length. Dapeng Liu (Presenter) Yang Shi, Shihui Duan, Lingli Deng draft-shi-dclc-latency-test-00 IETF90@Toronto. Motivation. In order to figure out: How buffer queuing affects the performance of latency-sensitive apps - PowerPoint PPT Presentation

Citation preview

Page 1: Test on Forwarding Latency v.s Queuing Length

Test on Forwarding Latency v.s Queuing Length

Dapeng Liu (Presenter)Yang Shi, Shihui Duan, Lingli Deng

draft-shi-dclc-latency-test-00IETF90@Toronto

Page 2: Test on Forwarding Latency v.s Queuing Length

Motivation• In order to figure out:

– How buffer queuing affects the performance of latency-sensitive apps

– How queuing feedback/control mechanisms in various layers can help

• We need to understand– How the switch's buffer queuing contributes to the E2E latency

• The test uses commercial products– We use COTS switches instead of simulation

Page 3: Test on Forwarding Latency v.s Queuing Length

Measurement Goals• The E2E latency consists of:

– Propagation latency on the wire– Forwarding latency at the switch– Transceiving latency at both end points

• In physical DCs, forwarding latency dominates the E2E latency

• In virtual DCs, transceiving latency may become another major contributor of E2E latency

• In this draft, we focus on forwarding latency test

Page 4: Test on Forwarding Latency v.s Queuing Length

Test Setup• DUT and test device:

– ToR switch– Spirent TesterCenter

• Test Procedure– 1) Investigate buffer configuration of the switch

• Switch buffer size• How the buffer space is shared

– 2) Switch forwarding delay without packet loss• Enabling a tail drop feature on a queue• Configured consumption ratio (i.e. the buffer(%))• Test no-packet-loss forwarding delay of the switch

Page 5: Test on Forwarding Latency v.s Queuing Length

Test Topology

Port 1

Port 2Port 3

Port A

Port B

Port C

Switch

Spirent TesterCenter C1

Port APort C: RFC 2544 TestSuit Port BPort C : RFC 2544 TestSuit

Traffic load per port : from 49.8% to 50.2%, step 0.1% (5 rounds)

Switch Port configuration: no QoS class, no priority queue, directly discarding packet beyond the buffer(%) threshold

Page 6: Test on Forwarding Latency v.s Queuing Length

Switch buffer size • Goal: Investigate the switch buffer size• Test pattern

– Port APort C: RFC 2544 TestSuit back-to-back frame test, Port BPort C: RFC 2544 TestSuit back-to-back frame test,

– Use 512-byte packets and 1024-byte packets to do the test– Set the buffer threshold to 50% and 100%

• Test Result– 50% buffer: 512-byte 3116 frames, 1024-byte 1502 frames– 100% buffer: 512-byte 6398 frames, 1024-byte 3116 frames

• Observation: buffer (%) configuration is working and packets of different sizes share the same queue

Page 7: Test on Forwarding Latency v.s Queuing Length

Switch Forwarding delay• Goal: Investigate the relation between forwarding delay

and the buffer threshold• Test Setup

– Port APort C: RFC 2544 TestSuit back-to-back latency test, Port BPort C : RFC 2544 TestSuit back-to-back latency test,

– Use 64,128,256,512,1024,1280 and 1518 byte to do tests– Set the buffer threshold to 1%, 5%, 10%, 20%, 30%, 40%, 50%,

60%, 70%, 80%, 90% and 100%

Page 8: Test on Forwarding Latency v.s Queuing Length

Test Result

• The data were analyzed by univariate analysis first, and then by using linear regression model, we did the multivariate analysis.

• In this way, we found out that – when we considered the packet size and the buffer(%) as the indepen

dent variable,– the minimum delay time shown different relations with the variants u

nder observation, – while the maximum delay time and the average delay time share very

similar features.

Page 9: Test on Forwarding Latency v.s Queuing Length

Test Result Analysis:

delay vs packet_size

delay vs buffer(%)

y = 5.2844x + 12.722R² = 0.9992

0

100

200

300

400

500

600

0 50 100 150

time

buffer(%)

Packet size:512

delaymin

delaymax

delayavg

线性 (delayavg)

y = 6.5574x + 15.416R² = 0.9989

0100200300400500600700800

0 50 100 150

time

buffer(%)

Packet size:1518

delaymin

delaymax

delayavg

线性 (delayavg)

Page 10: Test on Forwarding Latency v.s Queuing Length

The Minimum Delay:• Observation 1: when buffer(%) is fixed, the delay increases lin

early with the packet size.

• Observation 2: When packet size is fixed, the buffer(%) seems has no influence on the minimum delay time.

Page 11: Test on Forwarding Latency v.s Queuing Length

The Maximum/Average Delay:

• Observation 1: Both the maximum and average delay have similar tendency and values.

• Observation 2: When buffer(%) is fixed, with increasing packet size, delay will also increase. – the maximum and average delay time have a nonlinear relationship w

ith the packet size.

• Observation 3: When packet size is fixed, maximum and average delay increase linearly with the buffer(%).

Page 12: Test on Forwarding Latency v.s Queuing Length

Future work• Test and analyze on other access switches and

aggregate switches. • Topology with multiple switches.

• Test the RTT for TCP data flow, and analyze the relationshipp between the forwarding delay and TCP RTT.

Page 13: Test on Forwarding Latency v.s Queuing Length

Thanks