Top Banner
DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1
23

DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTERKaustubh Gadkari, Dan Massey and Christos Papadopoulos

1

Page 2: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

2

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 3: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

3

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 4: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

4

Inter-Domain Routing

CSU

129.82/16, 129.82/18 …

Google

74.125/16, …

BGP

Page 5: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

5

BGP Tables

Router Memory

Routing Table(RIB)

Routing Updates Routing Updates

Forwarding Table(FIB)

Line Card Line Card Line Card

(Prefix, Path)

Forwarding Table(FIB)

Forwarding Table(FIB)

(Prefix, Outgoing Interface, Next

Hop)

Page 6: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

6

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 7: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

7

Table Growth

The size of the global routing is growing rapidly.

Increasing routing table size requires more memory on routers.

Operators are forced into faster upgrade cycles.

http://bgp.potaroo.net/as6447/

Page 8: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

8

Implications of Table Growth

RIB size affects FIB size.

FIB scaling is arguably more important. FIBs stored on line card memory, which is

smaller and more expensive than main memory.

Page 9: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

9

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 10: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

10

Motivation

Some current research focuses on scaling the FIB by storing partial forwarding information.

But how to choose prefixes in a reduced FIBs? Prefixes receiving most packets should probably

be in the table. But are there better criteria to define a

dominant set? How does it behave?

Page 11: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

11

Motivation (contd.)

Previous work focused on prefix popularity over days or weeks. Tradeoff that prefers ease of selection.

Optimum prefix selection is a hard problem. Factors: traffic volume, activity patterns and

interplay of traffic dynamics

This work: understand prefix dynamics better.

Page 12: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

12

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 13: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

13

Methodology

Monitor links to two tier-1 provider links (1Gb/s each) at a regional ISP.

Dataset: two simultaneous 24-hour packet traces from these links.

Use outgoing packets only.

Page 14: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

14

Old Metric: Global Rank

Rank prefixes according to number of packets during the full 24-hour trace. This is the prefix’s

global rank.

Plot number of prefixes that account for a given fraction of packets. Results

corroborate previous studies.

Page 15: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

15

Measuring Prefix Dynamics

Split traffic trace into small intervals (5 min).

Rank prefixes in each interval according to number of packets. We call this the prefix’s interval rank.

Page 16: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

16

New Metrics

Duty cycle Fraction of the total number of intervals in

which the prefix receives at least one packet.

Mean rank difference Variation of a prefix’s interval rank from its

global rank.

Page 17: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

17

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 18: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

18

Duty Cycle

Measure of prefix’s activity.High duty

cycle, high

traffic

Low duty

cycle, low

traffic

~200 prefixes

~56,000

prefixes

High duty

cycle, low

traffic

~24,000

prefixes

Low duty cycle, high

traffic

~10 prefixes

Global Prefix Rank

Page 19: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

19

Duty Cycle Observations

Popular prefixes have high duty cycles. Always get packets.

Several popular prefixes have a duty cycle of > 90%.

Page 20: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

20

Mean Rank Difference

Measure of prefix’s “busy-ness”.

Stable Prefixes

Less than 1% of all prefixes,

40% of all packets

Generally Popular Prefixes5% of all prefixes, 55% of

all packets

Generally Unpopular Prefixes

60% of all

prefixes, 5% of all

traffic

Global Prefix Rank

Page 21: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

21

Outline

Introduction – BGP RIB and FIB growth Motivation Methodology Results Conclusions and future work

Page 22: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

22

Conclusions

Understanding dynamic behavior of FIB prefixes is important for reduced-FIB designs.

Proposed two new metrics: Duty cycle and mean rank difference We corroborated previous work showing set of

dominant prefixes is small. New metrics characterize the dominant set better,

which is generally active and busy. Majority of the prefixes have very low activity

opening up caching opportunities. Results encouraging in terms of developing

reduced FIB designs.

Page 23: DYNAMICS OF PREFIX USAGE AT AN EDGE ROUTER Kaustubh Gadkari, Dan Massey and Christos Papadopoulos 1.

23

Future Work

Investigate prefix dynamics at other ISPs.

Investigate prefix dynamics at different intervals.

Develop a design for efficient forwarding using a reduced FIB.