《无线网络教学资料》rr-ch00-wireless-tcp-cuiyong.ppt
《《无线网络教学资料》rr-ch00-wireless-tcp-cuiyong.ppt》由会员分享,可在线阅读,更多相关《《无线网络教学资料》rr-ch00-wireless-tcp-cuiyong.ppt(108页珍藏版)》请在三一办公上搜索。
1、Wireless TCP,CS 80240333 Instructor:CUI Yong,1,1,Outline,Traditional TCPSolutions Split approach based solutionsLink layer solutionsEnd to end solutionsImpact of mobility,2,2,Outline,Traditional TCPSolutions Split approach based solutionsLink layer solutionsEnd to end solutionsImpact of mobility,3,3
2、,Review of TCP/IP,IPPackets may be delivered out-of-orderPackets may be lostPackets may be duplicated,4,4,Nitin H.Vaidya Infocom06,Review of TCP/IP(contd),TCPconnection-orientedReliable deliveryAchieved by means of retransmissions if necessaryCongestion avoidance and controlEnd-to-end semanticsAckno
3、wledgements sent to TCP sender confirm delivery of data received by TCP receiverAck for data sent only after data has reached receiver,5,5,6,Slow start,Congestionavoidance,Slow start threshold,Example assumes that acks are not delayed,Review of TCP/IP(contd),Window based flow controlCongestion windo
4、w size bounds the amount of data that can be sent per round-trip timeThroughput=W/RTTCongestion Avoidance and Control,How does TCP detect a packet loss?,Retransmission timeout(RTO)TCP sender sets retransmission timer for only one packetIf ACK for the timed packet is not received before timer goes of
5、f,the packet is assumed to be lostRTO dynamically calculatedDuplicate acknowledgementsTCP sender assumes that a packet loss has occurred if it receives three dupacks consecutively,7,7,Review of TCP/IP(contd),8,ssthresh=8,ssthresh=10,cwnd=20,After timeout,Congestion Control,Fast RetransmitFast retran
6、smit occurs when multiple(=3)dupacks come backFast recovery follows fast retransmitFast Recoveryssthresh=min(cwnd,receivers advertised window)/2(at least 2 MSS)retransmit the missing segment(fast retransmit)cwnd=ssthresh+number of dupackswhen a new ack comes:cwnd=ssthreshenter congestion avoidance,9
7、,Congestion Control,10,Window size is reduced in half after fast retransmit and fast recovery,Receivers advertised window,After fast recovery,TCP problems in wireless network,TCP assumptionPacket loss is due to congestionNeed to reduce the transmitting rate But in wireless networkPacket loss may be
8、caused byHigh BER,BER of a wireless channel is 10-3-10-5,while that of wired link is 10-8-10-10 or betterUnstable channelUser mobilityNeed fast retransmission,11,11,Impact of transmission errors,Random errors may cause fast retransmitretransmission of lost packetreduction in congestion windowBurst e
9、rrors may cause timeoutsTimeout results in slow start Slow start reduces congestion window to 1 MSS,reducing throughputRandom errors may also cause timeoutMultiple packet losses in a window can result in timeout when using TCP-Reno(and to a lesser extent when using SACK),12,Impact of transmission er
10、rors,TCP cannot distinguish between packet losses due to congestion and transmission errorsReducing congestion window in response to errors is unnecessaryReduction in congestion window reduces the throughput:Throughput=W/RTTIdeally:W=delay*bandwidthWith loss rate p:W(=delay*bandwidth)Throughput suff
11、ers,13,Impact of random errors,14,Exponential error model2 Mbps wireless full duplex linkNo congestion losses,The throughput is inversely proportional to the error rate,Nitin H.Vaidya ASSET99,Hidden and exposed station problems,Hidden station problems,15,Exposed station problems,Instability problem,
12、In some scenarios the throughput may drop down to zero which makes the connection unstable even if there is only one TCP connectionIf station 1 is sending to station 5,the throughput can drop down to zero in some scenarios because of the followingThe hidden and exposed station problems that may prev
13、ent station 2 from receiving RTS or sending CTS to station 1The random backoff timeHigh window size that the TCP usesSolutions for the Instability ProblemDecreasing the maximum window size of the TCP layermaking the interfering range the same as the communication range,16,In-compatibility problem,Tw
14、o simultaneous TCP traffics cannot coexist in the networkOnce one session develops,the other one is shut downThe overturn can happen at any time randomlyThe main cause of this problemThe hidden station problemThe exposed node problem The exponential back-off scheme in the MAC layerSolutions for the
15、In-Compatibility ProblemChanging the back-off policy by penalizing stations that transmit too much data,so the other stations can still use the media Adjusting the interfering and the sensing range,17,One-hop unfairness problem,If there are two simultaneous TCP connections one is a single-hop connec
16、tion and the other is a multi-hop connection,the single-hop connection will be activated even if the multi-hop connection started firstCauses are hidden station problem,the exposed node problem and the exponential back-off scheme Solutions for the Unfairness ProblemActive Neighbor Estimation(ANE)bas
17、ed back-off scheme:used instead of the exponential back-off scheme Receiving beam forming(RBF)antennas:A directional antenna will be used to get rid of the undesired interference from competing stations.,18,Outline,Traditional TCPSolutions Split approach based solutionsLink layer solutionsEnd to end
18、 solutionsImpact of mobility,19,19,Solutions of TCP over Wireless,Snoop TCP,20,TCP over Wireless,Link layer solutions,Split approachbased solutions,End-to-endsolutions,TCP-unaware link layer,I-TCP,Mobile-TCP,ELN,WTCP,TCP SACK,TTCP,Outline,Traditional TCPSolutions Split approach based solutionsLink l
19、ayer solutionsEnd to end solutionsImpact of mobility,21,21,Solutions of TCP over Wireless,Snoop TCP,22,TCP over Wireless,Link layer solutions,Split approachbased solutions,End-to-endsolutions,TCP-unaware link layer,I-TCP,Mobile-TCP,ELN,WTCP,TCP SACK,TTCP,Split approach based solutions,ConsiderationT
20、he wired portion is more reliable than wireless portionWireless link may be a bottleneckSo separate the control A single TCP connection split into two TCP connectionsFH-MH=FH-BS+BS-MH,23,23,Split connection approach,24,Per-TCP connection state,TCP connection,TCP connection,Fixed Host,Base Station,Mo
21、bile Host,ITCP(Indirect-TCP),Consideration Splitting of TCP connection into two distinct connectionsone between the MN and BS one between BS and CN,25,A.Bakre ICDCS95,ITCP(contd),Mobile node send a special I-TCP calls to current AP to establish a connection.The Fixed Host is completely unaware of th
22、e indirection,26,ITCP Socket and State Migration,27,When MN shifts to a new APThe old AP acts as a foreign agent buffering and forwarding the packets to the new AP(foreign agent),ITCP(contd),AdvantagesNo changes in the fixed network necessary,no changes for the hosts(TCP protocol)necessary,all curre
23、nt optimizations to TCP still workTransmission errors on the wireless link do not propagate into the fixed networkSimple to control,wireless TCP is used only for one hop between a foreign agent and mobile hostFast retransmission of packets is possible,28,ITCP(contd),DisadvantagesLoss of end-to-end s
24、emanticsHigher latency in handoff,due to buffering of data within the foreign agent and forwarding to a new foreign agent,29,MTCP(Mobile-TCP),Problem Mobility-Connection between MN and BS is lost for small intervals of time,this leads to Time out at sender;Slow start at senderData buffered by AP may
25、 be too largeMTCP solve this problem with the help of Supervisory Host(SH),30,30,Remains one Ack to FH,Z.Haas ICC97,MTCP(contd),Supervisory host The node in the wired network that controls a number of APsNo caching,no retransmissionRemains one Ack to FHMonitors all packets,if disconnection detecteds
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 无线网络教学资料 无线网络 教学 资料 rr ch00 wireless tcp cuiyong
链接地址:https://www.31ppt.com/p-5898920.html