4-randomization.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
4-randomization

3. Randomization randomization used in many protocols we’ll study examples: Ethernet multiple access protocol avoiding (unwanted) synchronization active queue management BitTorrent load balancing power of two (random) choices: load balancing randomized two-hop routing Ethernet single shared broadcast channel 2+ simultaneous transmissions by nodes: interference only one node can send successfully at a time multiple access protocol: distributed algorithm that determines how nodes share channel, i.e., determine when node can transmit Ethernet: uses CSMA/CD A: sense channel, if idle then { transmit and monitor channel; If detect another transmission then { abort and send jam signal; update # collisions; delay as required by exponential backoff algorithm; goto A } else {done with frame; set collisions to zero} } else {wait until ongoing transmission over, goto A} Ethernet’s CSMA/CD (more) Exponential Backoff: first collision for given packet: choose K randomly from {0,1}; delay is K x 512 bit transmission times after second collision: choose K randomly from {0,1,2,3}… after next collision double K (and keep doubling on collisions until…..) after ten or more collisions, choose K randomly from {0,1,2,3,4,…,1023} Ethernet’s use of randomization resulting behavior: probability of retransmission attempt (equivalently length of randomization interval) adapted to current load simple, load-adaptive, multiple access Ethernet comments upper bounding at 1023 = k limits max size could remember last value of K when we were successful (analogy: TCP remembers last values of congestion window size) Q: why use binary backoff rather than something more sophisticated such as TCP’s AIMD: simplicity note: Ethernet does multiplicative-increase-complete-decrease Analyzing the CSMA/CD Protocol Goal: quantitative understanding of performance of CSMA protocol fixed length pkts pkt transmission time is unit of time throughput S - number of pkts successfully (wit

文档评论(0)

bh10099 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档