亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rfc2992.txt

?? RFC 的詳細文檔!
?? TXT
?? 第 1 頁 / 共 2 頁
字號:






Network Working Group                                            C. Hopps
Request for Comments: 2992                           NextHop Technologies
Category: Informational                                     November 2000


             Analysis of an Equal-Cost Multi-Path Algorithm

Status of this Memo

   This memo provides information for the Internet community.  It does
   not specify an Internet standard of any kind.  Distribution of this
   memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2000).  All Rights Reserved.

Abstract

   Equal-cost multi-path (ECMP) is a routing technique for routing
   packets along multiple paths of equal cost.  The forwarding engine
   identifies paths by next-hop.  When forwarding a packet the router
   must decide which next-hop (path) to use.  This document gives an
   analysis of one method for making that decision.  The analysis
   includes the performance of the algorithm and the disruption caused
   by changes to the set of next-hops.

1.  Hash-Threshold

   One method for determining which next-hop to use when routing with
   ECMP can be called hash-threshold.  The router first selects a key by
   performing a hash (e.g., CRC16) over the packet header fields that
   identify a flow.  The N next-hops have been assigned unique regions
   in the key space.  The router uses the key to determine which region
   and thus which next-hop to use.

   As an example of hash-threshold, upon receiving a packet the router
   performs a CRC16 on the packet's header fields that define the flow
   (e.g., the source and destination fields of the packet), this is the
   key.  Say for this destination there are 4 next-hops to choose from.
   Each next-hop is assigned a region in 16 bit space (the key space).
   For equal usage the router may have chosen to divide it up evenly so
   each region is 65536/4 or 16k large.  The next-hop is chosen by
   determining which region contains the key (i.e., the CRC result).







Hopps                        Informational                      [Page 1]

RFC 2992               Analysis of ECMP Algorithm          November 2000


2.  Analysis

   There are a few concerns when choosing an algorithm for deciding
   which next-hop to use.  One is performance, the computational
   requirements to run the algorithm.  Another is disruption (i.e., the
   changing of which path a flow uses).  Balancing is a third concern;
   however, since the algorithm's balancing characteristics are directly
   related to the chosen hash function this analysis does not treat this
   concern in depth.

   For this analysis we will assume regions of equal size.  If the
   output of the hash function is uniformly distributed the distribution
   of flows amongst paths will also be uniform, and so the algorithm
   will properly implement ECMP.  One can implement non-equal-cost
   multi-path routing by using regions of unequal size; however, non-
   equal-cost multi-path routing is outside the scope of this document.

2.1.  Performance

   The performance of the hash-threshold algorithm can be broken down
   into three parts: selection of regions for the next-hops, obtaining
   the key and comparing the key to the regions to decide which next-hop
   to use.

   The algorithm doesn't specify the hash function used to obtain the
   key.  Its performance in this area will be exactly the performance of
   the hash function.  It is presumed that if this calculation proves to
   be a concern it can be done in hardware parallel to other operations
   that need to complete before deciding which next-hop to use.

   Since regions are restricted to be of equal size the calculation of
   region boundaries is trivial.  Each boundary is exactly regionsize
   away from the previous boundary starting from 0 for the first region.
   As we will show, for equal sized regions, we don't need to store the
   boundary values.

   To choose the next-hop we must determine which region contains the
   key.  Because the regions are of equal size determining which region
   contains the key is a simple division operation.


                regionsize = keyspace.size / #{nexthops}
                region = key / regionsize;


   Thus the time required to find the next-hop is dependent on the way
   the next-hops are organized in memory.  The obvious use of an array
   indexed by region yields O(1).



Hopps                        Informational                      [Page 2]

RFC 2992               Analysis of ECMP Algorithm          November 2000


2.2.  Disruption

   Protocols such as TCP perform better if the path they flow along does
   not change while the stream is connected.  Disruption is the
   measurement of how many flows have their paths changed due to some
   change in the router.  We measure disruption as the fraction of total
   flows whose path changes in response to some change in the router.
   This can become important if one or more of the paths is flapping.
   For a description of disruption and how it affects protocols such as

   TCP see [1].

   Some algorithms such as round-robin (i.e., upon receiving a packet
   the least recently used next-hop is chosen) are disruptive regardless
   of any change in the router.  Clearly this is not the case with
   hash-threshold.  As long as the region boundaries remain unchanged
   the same next-hop will be chosen for a given flow.

   Because we have required regions to be equal in size the only reason
   for a change in region boundaries is the addition or removal of a
   next-hop.  In this case the regions must all grow or shrink to fill
   the key space.  The analysis begins with some examples of this.

              0123456701234567012345670123456701234567
             +-------+-------+-------+-------+-------+
             |   1   |   2   |   3   |   4   |   5   |
             +-------+-+-----+---+---+-----+-+-------+
             |    1    |    2    |    4    |    5    |
             +---------+---------+---------+---------+
              0123456789012345678901234567890123456789

              Figure 1. Before and after deletion of region 3

   In figure 1. region 3 has been deleted.  The remaining regions grow
   equally and shift to compensate.  In this case 1/4 of region 2 is now
   in region 1, 1/2 (2/4) of region 3 is in region 2, 1/2 of region 3 is
   in region 4 and 1/4 of region 4 is in region 5.  Since each of the
   original regions represent 1/5 of the flows, the total disruption is
   1/5*(1/4 + 1/2 + 1/2 + 1/4) or 3/10.

   Note that the disruption to flows when adding a region is equivalent
   to that of removing a region.  That is, we are considering the
   fraction of total flows that changes regions when moving from N to
   N-1 regions, and that same fraction of flows will change when moving
   from N-1 to N regions.






Hopps                        Informational                      [Page 3]

RFC 2992               Analysis of ECMP Algorithm          November 2000


              0123456701234567012345670123456701234567
             +-------+-------+-------+-------+-------+
             |   1   |   2   |   3   |   4   |   5   |
             +-------+-+-----+---+---+-----+-+-------+
             |    1    |    2    |    3    |    5    |
             +---------+---------+---------+---------+
              0123456789012345678901234567890123456789

              Figure 2. Before and after deletion of region 4

   In figure 2. region 4 has been deleted.  Again the remaining regions
   grow equally and shift to compensate.  1/4 of region 2 is now in
   region 1, 1/2 of region 3 is in region 2, 3/4 of region 4 is in
   region 3 and 1/4 of region 4 is in region 5.  Since each of the
   original regions represent 1/5 of the flows the, total disruption is
   7/20.

   To generalize, upon removing a region K the remaining N-1 regions
   grow to fill the 1/N space.  This growth is evenly divided between
   the N-1 regions and so the change in size for each region is 1/N/(N-
   1) or 1/(N(N-1)).  This change in size causes non-end regions to
   move.  The first region grows and so the second region is shifted
   towards K by the change in size of the first region.  1/(N(N-1)) of
   the flows from region 2 are subsumed by the change in region 1's
   size.  2/(N(N-1)) of the flows in region 3 are subsumed by region 2.
   This is because region 2 has shifted by 1/(N(N-1)) and grown by
   1/(N(N-1)).  This continues from both ends until you reach the
   regions that bordered K.  The calculation for the number of flows
   subsumed from the Kth region into the bordering regions accounts for
   the removal of the Kth region.  Thus we have the following equation.

                           K-1              N
                           ---    i        ---  (i-K)
             disruption =  \     ---    +  \     ---
                           /   (N)(N-1)    /   (N)(N-1)
                           ---             ---
                           i=1            i=K+1

   We can factor 1/((N)(N-1)) out as it is constant.

                                /  K-1         N        \
                          1     |  ---        ---       |
                     =   ---    |  \    i  +  \   (i-K) |
                       (N)(N-1) |  /          /         |
                                \  ---        ---       /
                                     1        i=K+1





Hopps                        Informational                      [Page 4]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
26uuu精品一区二区| 国产精品中文字幕日韩精品| 亚洲国产日日夜夜| 精品一区二区精品| 日本韩国一区二区| 久久久久九九视频| 国产白丝网站精品污在线入口| 99久久免费国产| 欧美裸体bbwbbwbbw| 中文字幕电影一区| 秋霞国产午夜精品免费视频| 色综合久久天天| 国产欧美一区二区精品仙草咪| 亚洲国产精品久久一线不卡| 高清不卡一区二区| 欧美精品一区二区三区在线| 亚洲国产精品久久人人爱蜜臀| 成人视屏免费看| 久久综合中文字幕| 经典三级视频一区| 日韩欧美久久久| 日本欧美一区二区在线观看| 欧美精品乱人伦久久久久久| 一区二区三区中文字幕精品精品| 国产高清不卡二三区| 首页国产欧美日韩丝袜| 久久午夜免费电影| 亚洲成a人片在线不卡一二三区| 国产激情偷乱视频一区二区三区| 精品日产卡一卡二卡麻豆| 日韩不卡一二三区| 7777精品伊人久久久大香线蕉的| 亚洲一区二区在线视频| 色哟哟国产精品免费观看| 亚洲女女做受ⅹxx高潮| 色综合中文综合网| 久久久国产精品麻豆| 青青草原综合久久大伊人精品 | 成人国产精品免费网站| 久久女同性恋中文字幕| 国产伦精品一区二区三区视频青涩 | 久久久久久久久久久电影| 日韩激情在线观看| 884aa四虎影成人精品一区| 日韩av中文字幕一区二区| 欧美日韩美女一区二区| 天堂在线一区二区| 欧美一区二区在线看| 韩日精品视频一区| 国产精品美女久久久久aⅴ| 成人av动漫在线| 一区二区三区欧美亚洲| 欧美日韩美女一区二区| 紧缚捆绑精品一区二区| 中文字幕国产一区二区| 欧美在线免费播放| 秋霞成人午夜伦在线观看| 337p粉嫩大胆噜噜噜噜噜91av| 国产在线不卡一区| 亚洲欧美日韩人成在线播放| 欧美亚洲国产bt| 成人激情小说乱人伦| 国产精品国产a级| 99久久伊人网影院| 亚洲国产精品久久久久婷婷884| 777午夜精品免费视频| 韩国中文字幕2020精品| 亚洲欧美二区三区| 日韩精品一区二区三区中文精品| 成人性生交大片免费看视频在线 | 丝袜美腿高跟呻吟高潮一区| 日韩精品一区二区三区视频播放 | 蜜桃视频在线一区| 国产色产综合色产在线视频| 色8久久人人97超碰香蕉987| 久久精品av麻豆的观看方式| 国产精品久久毛片a| 欧美一级搡bbbb搡bbbb| av资源网一区| 日韩av电影免费观看高清完整版 | 欧美日韩在线播放三区四区| 国产精品99久久久久久似苏梦涵 | 国产精品资源网| 日韩一区欧美二区| 国产精品福利一区二区三区| 69堂亚洲精品首页| 91网页版在线| 国产成人在线视频免费播放| 婷婷国产在线综合| 中文字幕在线不卡一区| 精品国产一区二区精华| 欧美日韩国产高清一区二区三区 | 男女性色大片免费观看一区二区| 亚洲精品一区二区三区在线观看 | www.欧美色图| 久久网站最新地址| 久久综合久久综合久久综合| 欧美日韩一区中文字幕| 日韩三级视频中文字幕| 蜜臀av一区二区在线观看| 3atv在线一区二区三区| 久久国产精品露脸对白| 精品人在线二区三区| 九九国产精品视频| 亚洲国产激情av| 色一区在线观看| 日韩av在线发布| 国产精品成人一区二区三区夜夜夜| 成人av影院在线| 午夜免费欧美电影| 国产精品另类一区| 欧美一区二区三区在线看| 国产激情视频一区二区在线观看 | 在线精品亚洲一区二区不卡| 亚洲a一区二区| 国产精品女上位| 日韩精品中文字幕一区二区三区| 国产在线观看一区二区| 亚洲电影中文字幕在线观看| 洋洋成人永久网站入口| 在线观看三级视频欧美| 久久99久久精品| 亚洲欧美日韩久久| 欧美一区二区福利视频| 久久草av在线| 91久久一区二区| 欧美丝袜自拍制服另类| 91福利视频久久久久| 麻豆专区一区二区三区四区五区| **性色生活片久久毛片| 欧美一区二区三区电影| 欧美日韩国产综合草草| 99国产精品99久久久久久| 亚洲国产一区二区三区| 蜜臂av日日欢夜夜爽一区| 免费成人在线观看| 午夜精品aaa| 国产精品卡一卡二| 韩国中文字幕2020精品| 亚洲视频在线观看三级| 亚洲视频免费看| 国产精品久久毛片| 香蕉乱码成人久久天堂爱免费| 国模大尺度一区二区三区| 色综合网色综合| 中文字幕久久午夜不卡| 奇米精品一区二区三区四区| 色综合久久久久久久| 日韩欧美国产一二三区| 亚洲国产精品一区二区www在线| 国产一区二区美女| 久久久99精品久久| 日韩电影在线观看网站| 欧美性淫爽ww久久久久无| 亚洲精品第1页| 欧洲视频一区二区| 国产一区二区免费在线| 91蜜桃传媒精品久久久一区二区| 欧美一级二级三级蜜桃| 日本成人在线一区| 欧美成人精品1314www| 久热成人在线视频| 欧美激情在线一区二区三区| 国产精品亚洲成人| 国产精品久久久久一区二区三区| 国产精品一区专区| 中文字幕在线观看不卡| 波波电影院一区二区三区| 中文字幕乱码久久午夜不卡| 亚洲精品国久久99热| 成人午夜av在线| 国产精品全国免费观看高清| 丝袜诱惑亚洲看片| 91精品国产综合久久久久久久| 亚洲人成精品久久久久久| 99r精品视频| 天堂久久久久va久久久久| 欧美日韩精品二区第二页| 午夜激情久久久| 91蜜桃网址入口| 亚洲色欲色欲www| 欧美亚洲一区二区在线| 免费成人在线影院| 91精品视频网| 日本韩国一区二区三区| 精品综合久久久久久8888| 亚洲精品一二三| 欧美成人乱码一区二区三区| 91在线国内视频| 日韩精品欧美精品| 在线欧美一区二区| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 91一区二区在线| 综合久久久久综合| 国产高清不卡一区| 天堂一区二区在线免费观看| 中文字幕亚洲在| 久久久国产精品不卡| 欧美mv日韩mv国产| 91国偷自产一区二区三区成为亚洲经典 |