- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Address Lookup and Classification.ppt
Address Lookup and Classification Pankaj Gupta Principal Architect and Member of Technical Staff, Netlogic Microsystems pankaj@ /~pankaj Generic Router Architecture (Review from EE384x) Lookups Must be Fast Memory Technology (2006) Lookup Mechanism is Protocol Dependent Outline Routing Lookups Overview Exact matching Direct lookup Associative lookup Hashing Trees and tries Longest prefix matching Why LPM? Tries and compressed tries Binary search on prefix intervals References Packet Classification Exact Matches in ATM/MPLS Exact Matches in Ethernet Switches Layer-2 addresses are usually 48-bits long, The address is global, not just local to the link, The range/size of the address is not “negotiable” (like it is with ATM/MPLS) 248 1012, therefore cannot hold all addresses in table and use direct lookup. Exact Matches in Ethernet Switches (Associative Lookup) Associative memory (aka Content Addressable Memory, CAM) compares all entries in parallel against incoming data. Exact MatchesHashing Use a pseudo-random hash function (relatively insensitive to actual function) Bucket linearly searched (or could be binary search, etc.) Leads to unpredictable number of memory references Exact Matches Using HashingNumber of memory references Exact Matches in Ethernet SwitchesPerfect Hashing Exact Matches in Ethernet SwitchesHashing Advantages: Simple to implement Expected lookup time is small Updates are fast (except with perfect hash functions) Disadvantages Relatively inefficient use of memory Non-deterministic lookup time (in rare cases) ? Attractive for software-based switches. However, hardware platforms are moving to other techniques (but they can do well with a more sophisticated form of hashing) Exact Matches in Ethernet Switches Trees and Tries Exact Matches in Ethernet Switches Multiway tries Exact Matches in Ethernet Switches Multiway tries Exact Matches in Ethernet Switches Trees and Tries Advantages: Fixed lookup time Simple to implement and update Disadvan
您可能关注的文档
- 5.9 实验:验证机械能守恒定律.ppt
- 5401-01-第一节 概述.PPT
- 5、蔬菜营养丰富.ppt
- 5语序调整-A Course of Translation from Chinese into English.ppt
- 5)对折二十次有几层? .ppt
- 6. 机械可靠性设计.ppt
- 6.2 施密特触发器 (Schmitt Trigger).ppt
- 6.2 狭义相对论的基本原理.ppt
- 6.2.2 LCD显示器驱动方式.ppt
- 7.1 异核相关谱.ppt
- Address Resolution Protocol(ARP).ppt
- Address Space Layout Permutation.ppt
- Address Spoofing and Denial of Service.ppt
- Administrators and Program Managers.ppt
- ADOLESCENT HEALTHSTRATEGIC PLAN.ppt
- ADS的使用.ppt
- Advanced Internet and Web Systems.ppt
- Advanced Topics on Classification.ppt
- Advantech Server-grade IPCs Roadmap.ppt
- AEO Program of China Customs.ppt
最近下载
- 《高手教师》读书分享ppt.pptx
- 2023年秋季新学期高一英语开学第一课课件.ppt VIP
- 《创业小白实操指南》教案.docx VIP
- 3福州儿童医院儿童保健科-检查室护士-岗位说明书.docx VIP
- 地热水塑料大棚南美白对虾工厂化养殖技术.pdf VIP
- 快速康复外科理念与围手术期护理.pptx VIP
- 2025甘肃天水市武山县选聘大学生村文书41人笔试备考题库及答案解析.docx VIP
- 2025下半年新疆维吾尔自治区招聘事业单位工作人员分类考试笔试模拟试题及答案解析.docx VIP
- DB32T-南美白对虾小型温棚健康养殖技术规范.pdf VIP
- 公路沥青路面设计规范JTGD50-2017..pdf VIP
文档评论(0)