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

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

?? rfc2992.txt

?? <VC++網絡游戲建摸與實現>源代碼
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
Network Working Group                                            C. HoppsRequest for Comments: 2992                           NextHop TechnologiesCategory: Informational                                     November 2000             Analysis of an Equal-Cost Multi-Path AlgorithmStatus 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 20002.  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 20002.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+1Hopps                        Informational                      [Page 4]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人蜜臀av电影| 97久久精品人人做人人爽50路| 亚洲免费大片在线观看| 国产人成一区二区三区影院| 久久免费国产精品| 国产欧美日韩麻豆91| 国产欧美日韩不卡免费| 国产精品久久久久影院| 亚洲情趣在线观看| 亚洲成精国产精品女| 午夜av电影一区| 麻豆高清免费国产一区| 韩国精品在线观看| 粉嫩av一区二区三区| 国产999精品久久久久久绿帽| 丁香天五香天堂综合| 91猫先生在线| 日韩一区二区影院| 精品日韩欧美一区二区| 精品国产凹凸成av人导航| 欧美国产在线观看| 成人免费一区二区三区视频| 一区二区欧美视频| 免费观看久久久4p| 成人免费毛片a| 欧美日韩精品欧美日韩精品一综合 | 日韩亚洲欧美高清| 久久精品一区二区三区不卡| 中文字幕一区二区三区av| 亚洲成在线观看| 国产大陆精品国产| 欧美亚洲综合色| 久久综合色婷婷| 亚洲精品视频在线观看网站| 午夜精品一区二区三区免费视频 | 蜜臀av一区二区在线观看| 国内外精品视频| 欧美在线综合视频| 亚洲精品一区二区三区99| 亚洲品质自拍视频网站| 老司机免费视频一区二区| 成人app软件下载大全免费| 欧美乱妇20p| 亚洲欧美中日韩| 九色综合狠狠综合久久| 色天天综合久久久久综合片| 精品播放一区二区| 亚洲成人动漫av| 91无套直看片红桃| 久久人人超碰精品| 日韩电影在线观看电影| 91老师国产黑色丝袜在线| 精品久久久久久久久久久院品网| 综合在线观看色| 国产成人综合网| 精品国产乱码久久久久久免费| 一区二区三区在线观看网站| 国产精品1024| 精品久久久久久最新网址| 午夜激情综合网| 欧美艳星brazzers| 樱花草国产18久久久久| 99热这里都是精品| 欧美韩国一区二区| 国产精品18久久久久久久网站| 日韩视频免费直播| 石原莉奈在线亚洲二区| 欧美视频中文字幕| 有坂深雪av一区二区精品| av网站免费线看精品| 国产欧美日韩卡一| 国产精品一区二区久激情瑜伽| 日韩三级av在线播放| 日韩国产欧美三级| 日韩视频永久免费| 精品在线免费视频| 久久久精品日韩欧美| 国产精品一区二区三区四区| 久久久精品综合| 成人黄页在线观看| 亚洲三级免费观看| 色哟哟亚洲精品| 亚洲综合色噜噜狠狠| 欧美日本乱大交xxxxx| 偷窥少妇高潮呻吟av久久免费| 欧美亚洲日本国产| 秋霞午夜av一区二区三区 | 久久精品国产99国产| 日韩一区二区免费高清| 精品一区二区久久久| 国产日韩一级二级三级| 99久久99久久精品免费看蜜桃 | 97se亚洲国产综合自在线不卡| 国产精品久久久久久久久久久免费看| 成人黄色软件下载| 亚洲免费观看高清完整版在线观看熊| 欧洲精品视频在线观看| 日韩精品乱码av一区二区| 精品久久一区二区三区| 成人高清视频在线观看| 亚洲三级在线观看| 日韩视频在线永久播放| 成人性生交大片免费看在线播放| 中文字幕在线不卡一区| 制服丝袜激情欧洲亚洲| 国产高清无密码一区二区三区| 国产精品日韩精品欧美在线| 欧美日韩久久久一区| 国产成人亚洲精品青草天美| 一区二区欧美精品| 日韩欧美不卡在线观看视频| 成人av午夜影院| 日本欧美一区二区三区乱码 | 色诱视频网站一区| 看电视剧不卡顿的网站| 亚洲欧洲99久久| 欧美一区二区播放| 91美女在线看| 国产精品亚洲人在线观看| 午夜影视日本亚洲欧洲精品| 中文乱码免费一区二区| 日韩一级精品视频在线观看| 不卡免费追剧大全电视剧网站| 视频一区二区三区中文字幕| |精品福利一区二区三区| 欧美一级专区免费大片| 欧美专区亚洲专区| 99在线精品免费| 国产99久久久国产精品免费看| 日韩vs国产vs欧美| 亚洲成av人影院| 樱花影视一区二区| 中文字幕在线一区免费| 久久尤物电影视频在线观看| 欧美视频一区在线| 在线影视一区二区三区| 成人精品视频一区二区三区| 韩国成人在线视频| 蜜臀a∨国产成人精品| 亚洲成国产人片在线观看| 亚洲精品视频观看| 国产精品欧美一级免费| 国产校园另类小说区| 欧美精品一区二区三区视频| 日韩一区二区三区在线| 91精品国产综合久久香蕉的特点 | 欧美日韩精品三区| 在线观看亚洲专区| 日本高清不卡视频| 日本韩国欧美一区二区三区| 92国产精品观看| 99精品热视频| 色综合天天做天天爱| 91丝袜呻吟高潮美腿白嫩在线观看| 国产一区三区三区| 成人深夜在线观看| 99久久伊人网影院| 色婷婷av一区| 欧美精品亚洲一区二区在线播放| 欧美自拍丝袜亚洲| 欧美丰满嫩嫩电影| 欧美mv和日韩mv的网站| 国产日产欧产精品推荐色| 国产亚洲欧美激情| 中文一区二区在线观看| 日本一区二区三区在线观看| 日韩毛片精品高清免费| 又紧又大又爽精品一区二区| 性欧美大战久久久久久久久| 日韩和欧美的一区| 国产精品夜夜嗨| 色狠狠色狠狠综合| 91麻豆精品国产无毒不卡在线观看| 欧美一区二区三区视频在线观看| 日韩午夜激情免费电影| 国产精品每日更新| 亚洲国产日韩综合久久精品| 日韩和欧美一区二区三区| 国产福利不卡视频| 日本高清无吗v一区| 欧美一级高清大全免费观看| 久久美女艺术照精彩视频福利播放| 国产精品午夜电影| 午夜av一区二区| 懂色av噜噜一区二区三区av| 色国产综合视频| 精品久久久久一区| 亚洲一区二区在线播放相泽| 九九**精品视频免费播放| www.亚洲激情.com| 欧美不卡一区二区三区| 亚洲欧美一区二区三区国产精品 | 亚洲成人先锋电影| 福利视频网站一区二区三区| 91黄色免费网站| 国产午夜三级一区二区三| 五月婷婷综合在线| 成人蜜臀av电影| 精品免费99久久| 午夜亚洲福利老司机|