Top Banner
Copyright © 2007 Juniper Networks, Inc. www.juniper.net 1 Router Scaling Trends John Scudder [email protected] RIPE-54, May 10, 2007
51

Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

May 08, 2020

Download

Documents

dariahiddleston
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: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 1

Router Scaling Trends

John [email protected]

RIPE-54, May 10, 2007

Page 2: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Agenda Problem Statement Router Implementation Approaches Architectural Approaches

2

Page 3: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Problem Statement

3

Page 4: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Problem Statement Fundamental: concern in Internet community

about growth of Internet routing table.• “Up and to the right”• We must have an answer now and in near future!• Focused, immediate concern => router implementation

approach.

3

Page 5: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Problem Statement Fundamental: concern in Internet community

about growth of Internet routing table.• “Up and to the right”• We must have an answer now and in near future!• Focused, immediate concern => router implementation

approach. Details: ongoing dialogue.

• Multihoming• Traffic engineering• Poor deployment practice• Complicated problem space => architectural approach.

3

Page 6: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Notable Scaling Attributes

4

Page 7: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Notable Scaling Attributes Related to Internet routing table size

• FIB size• RIB size• RIB-FIB download speed• Interdomain convergence

4

Page 8: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Notable Scaling Attributes Related to Internet routing table size

• FIB size• RIB size• RIB-FIB download speed• Interdomain convergence

Orthogonal to Internet routing table size• Intradomain convergence• Forwarding speed• Port density• Power/heat

4

Page 9: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Review: What’s a routing table? RIB vs. FIB

5

Page 10: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Review: What’s a routing table? RIB vs. FIB RIB (Routing Information Base)

• Various names – “BGP table”, “Adj-RIB-In”, “Loc-RIB”, etc. In combination, these are the RIB.

• Stores all routes/paths – large storage demands• Control plane only – just on control processor• Modest performance demands (compared to FIB)• Scales like general-purpose computers

5

Page 11: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Review: What’s a routing table? RIB vs. FIB RIB (Routing Information Base)

• Various names – “BGP table”, “Adj-RIB-In”, “Loc-RIB”, etc. In combination, these are the RIB.

• Stores all routes/paths – large storage demands• Control plane only – just on control processor• Modest performance demands (compared to FIB)• Scales like general-purpose computers

FIB (Forwarding Information Base)• Stores only routes selected as “best” from RIB – more

modest storage demands• Forwarding plane – all forwarding hardware must store• High performance demands – performance of FIB limits

packet forwarding rate5

Page 12: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 6

FIB Problem Space

Page 13: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 6

FIB Problem Space FIB must be

• Fast (lookup per packet)• Big (all your routes go there, routing table up-and-right)

Page 14: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 6

FIB Problem Space FIB must be

• Fast (lookup per packet)• Big (all your routes go there, routing table up-and-right)

Different ways to be fast• Just go fast (exceedingly kewl silicon)• Parallelism (go less fast, but in parallel)• Computing industry is choosing parallelism

Page 15: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 6

FIB Problem Space FIB must be

• Fast (lookup per packet)• Big (all your routes go there, routing table up-and-right)

Different ways to be fast• Just go fast (exceedingly kewl silicon)• Parallelism (go less fast, but in parallel)• Computing industry is choosing parallelism

Just one way to be big: lots of memory• SRAM, TCAM is exotic, expensive, and low-density• DRAM (many flavors) is commodity, denser, tends to

follow Moore’s Law

Page 16: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 7

Commodity Memory (xDRAM) for FIBs

Page 17: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 7

Commodity Memory (xDRAM) for FIBs Pros

• Cost• Memory density• Historically, scales like Moore’s Law

Page 18: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 7

Commodity Memory (xDRAM) for FIBs Pros

• Cost• Memory density• Historically, scales like Moore’s Law

Cons• Slower than SRAM

Page 19: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 7

Commodity Memory (xDRAM) for FIBs Pros

• Cost• Memory density• Historically, scales like Moore’s Law

Cons• Slower than SRAM

Speed limitations absorbed using parallelism, cunning search algorithms

Page 20: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Power/Heat

8

Page 21: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Power/Heat FIB memory represents small percentage of total

forwarding budget (~10%)

8

Page 22: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Power/Heat FIB memory represents small percentage of total

forwarding budget (~10%) RLDRAM much more power-efficient than SRAM

8

Page 23: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Power/Heat FIB memory represents small percentage of total

forwarding budget (~10%) RLDRAM much more power-efficient than SRAM Packet rate, features primary power/heat drivers

• Some cause for optimism from recent Intel, IBM process announcements

8

Page 24: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 9

Current State of the Art

Page 25: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 9

Current State of the Art Shipping routers with RLDRAM FIBs

• M120, MX960, other vendors• Millions of entries in FIB (~2M)

Page 26: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 9

Current State of the Art Shipping routers with RLDRAM FIBs

• M120, MX960, other vendors• Millions of entries in FIB (~2M)

Actual number of routes depends on • size of routes (e.g., IPv6 is bigger than IPv4) • other demands on memory (e.g., filtering rules, uRPF,

policers, etc)

Page 27: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 10

FIB Scaling Expectations — Near Future

Page 28: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 10

FIB Scaling Expectations — Near Future xDRAM density continues to increase

• Moore’s Law

Page 29: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 10

FIB Scaling Expectations — Near Future xDRAM density continues to increase

• Moore’s Law Current forwarding ASICs capable of addressing

much larger memories• As larger parts become available

Page 30: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 10

FIB Scaling Expectations — Near Future xDRAM density continues to increase

• Moore’s Law Current forwarding ASICs capable of addressing

much larger memories• As larger parts become available

Reasonable to expect (IPv4) FIBs ~10M within a few years if demand exists• With current shipping architectures – no new R&D

Page 31: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 10

FIB Scaling Expectations — Near Future xDRAM density continues to increase

• Moore’s Law Current forwarding ASICs capable of addressing

much larger memories• As larger parts become available

Reasonable to expect (IPv4) FIBs ~10M within a few years if demand exists• With current shipping architectures – no new R&D

SRAM, TCAMs still useful• But will be increasingly relegated to uses with less

scary scaling properties (e.g., caches)

Page 32: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Other Tricks Available

11

Page 33: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net

Other Tricks Available FIB compression

• Don’t bother installing redundant more-specifics in FIB• Behavior identical to non-compressed FIB• Aligns with arbitrary de-aggregation (as long as

aggregate is also advertised)• Some vendors shipping

11

Page 34: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 12

Other Challenges

Page 35: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 12

Other Challenges Control Plane

• RIB->FIB download rate• RIB size• Intradomain convergence • Interdomain convergence

Page 36: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 12

Other Challenges Control Plane

• RIB->FIB download rate• RIB size• Intradomain convergence • Interdomain convergence

Forwarding Plane• Packet rate• Features (packet inspection, etc)• Port density• Orthogonal to FIB size• Some of these features do use TCAMs, SRAM

Page 37: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 13

Routing/Addressing Approaches

Page 38: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 13

Routing/Addressing Approaches

“Any problem in computer science can be solved with another layer of indirection.” —David Wheeler

Page 39: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 13

Routing/Addressing Approaches

“Any problem in computer science can be solved with another layer of indirection.” —David Wheeler

“But that usually will create another problem.” —rest of the quote

Page 40: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 14

Routing/Addressing Approaches [2]

Page 41: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 14

Routing/Addressing Approaches [2] Wouldn’t it be great if we didn’t have to throw hardware at

FIB?• Sure! But…

Page 42: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 14

Routing/Addressing Approaches [2] Wouldn’t it be great if we didn’t have to throw hardware at

FIB?• Sure! But…

TANSTAAFL (There Ain’t No Such Thing As A Free Lunch)• State in Internet routing table is (mostly) there for a reason =>• State will need to exist in some form in any system that provides

as much functionality as present system!• …unless we are willing to throw away some functionality• If something is too good to be true… it probably isn’t.

Page 43: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 14

Routing/Addressing Approaches [2] Wouldn’t it be great if we didn’t have to throw hardware at

FIB?• Sure! But…

TANSTAAFL (There Ain’t No Such Thing As A Free Lunch)• State in Internet routing table is (mostly) there for a reason =>• State will need to exist in some form in any system that provides

as much functionality as present system!• …unless we are willing to throw away some functionality• If something is too good to be true… it probably isn’t.

Absolutely worth investigating… but don’t bet the farm• Routing/addressing research could bear fruit for something other

than raw scaling, e.g. better operational characteristics• Long-term effort, so good thing we have a hardware solution

medium-term.

Page 44: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 15

Tunnel-Based Approaches

Page 45: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 15

Tunnel-Based Approaches Promising line of research

• EID/RLOC split, etc — various proposals• Some proposals use control processor for small

fraction of traffic• This should worry you. Relying on caches

should too.

Page 46: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 15

Tunnel-Based Approaches Promising line of research

• EID/RLOC split, etc — various proposals• Some proposals use control processor for small

fraction of traffic• This should worry you. Relying on caches

should too. BGP-free core

• Protects core routers from FIB growth• Limits need for big-FIB deployment to edge• No additional load on forwarding or control• Works today

Page 47: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 16

Good News

Page 48: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 16

Good News We can throw hardware at FIB scaling for at least

the next decade or so, with existing technology• Several big-FIB boxes shipping now

Page 49: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 16

Good News We can throw hardware at FIB scaling for at least

the next decade or so, with existing technology• Several big-FIB boxes shipping now

This provides time to research routing/addressing architectures• Really don’t want to build Internet on a R/A architecture

that was hacked up quick under deadline pressure

Page 50: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2007 Juniper Networks, Inc. www.juniper.net 16

Good News We can throw hardware at FIB scaling for at least

the next decade or so, with existing technology• Several big-FIB boxes shipping now

This provides time to research routing/addressing architectures• Really don’t want to build Internet on a R/A architecture

that was hacked up quick under deadline pressure BGP-free core can protect core (“P”) router FIBs

• Works today

Page 51: Router Scaling Trends · Title: Add Title Here Author: John Scudder Created Date: 5/10/2007 5:35:23 AM

Copyright © 2006 Juniper Networks, Inc. Proprietary and Confidential www.juniper.net 11