版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
2024/4/17交通控制ComputerNetworksChapter12:CongestioninDataNetworks數(shù)據(jù)網(wǎng)絡(luò)中的擁塞WhatIsCongestion?CongestionoccurswhenthenumberofpacketsbeingtransmittedthroughthenetworkapproachesthepackethandlingcapacityofthenetworkCongestioncontrolaimstokeepnumberofpacketsbelowlevelatwhichperformancefallsoffdramaticallyDatanetworkisanetworkofqueuesGenerally80%utilizationiscriticalFinitequeuesmeandatamaybelostQueuesataNode到用戶到用戶到其他節(jié)點到其他節(jié)點EffectsofCongestionPacketsarrivingarestoredatinputbuffersRoutingdecisionmadePacketmovestooutputbufferPacketsqueuedforoutputtransmittedasfastaspossibleStatisticaltimedivisionmultiplexingIfpacketsarrivetoofasttoberouted,ortobeoutput,bufferswillfill1.Candiscardpackets2.CanuseflowcontrolCanpropagatecongestionthroughnetworkInteractionofQueuesIdeal
Performance歸一化負(fù)荷歸一化負(fù)荷歸一化負(fù)荷歸一化吞吐量遲延網(wǎng)絡(luò)能力PracticalPerformanceIdealassumesinfinitebuffersandnooverheadBuffersarefiniteOverheadsoccurinexchangingcongestioncontrolmessagesEffectsof
Congestion-
NoControl吞吐率下降原因資源浪費緩沖區(qū)存貯容量bufferstoragecapacity線路帶寬channelbandwidth緩沖區(qū)存貯容量即使線路有富余,分組也無法通過。BSB’AA’
C=10C=1C=1C=10.81.81.1吞吐率重傳模型損耗模型線路帶寬多路共享信道上常見總線局域網(wǎng)和分組無線網(wǎng)絡(luò)信道負(fù)載很重時:競爭信道的時間多于有效傳輸數(shù)據(jù)的時間,從而造成信道容量的極大浪費。Mechanismsfor
CongestionControl隱式顯式Backpressure:反壓IfnodebecomescongesteditcanslowdownorhaltflowofpacketsfromothernodesMaymeanthatothernodeshavetoapplycontrolonincomingpacketratesPropagatesbacktosourceCanrestricttologicalconnectionsgeneratingmosttrafficUsedinconnectionorientedthatallowhopbyhopcongestioncontrol(e.g.X.25)NotusedinATMnorframerelayOnlyrecentlydevelopedforIPChokePacket:阻流分組ControlpacketGeneratedatcongestednodeSenttosourcenodee.g.ICMPsourcequenchFromrouterordestinationSourcecutsbackuntilnomoresourcequenchmessageSentforeverydiscardedpacket,oranticipatedRathercrudemechanismImplicitCongestionSignaling1.Transmissiondelaymayincreasewithcongestion2.PacketmaybediscardedSourcecandetecttheseasimplicitindicationsofcongestionUsefulonconnectionless(datagram)networkse.g.IPbased(TCPincludescongestionandflowcontrol-seechapter17)UsedinframerelayLAPFExplicitCongestionSignalingNetworkalertsendsystemsofincreasingcongestionEndsystemstakestepstoreduceofferedloadBackwardsCongestionavoidanceinoppositedirectiontopacketrequiredForwardsCongestionavoidanceinsamedirectionaspacketrequiredSOURCENODENODENODEUSERCategoriesofExplicitSignalingBinary—二進(jìn)制AbitsetinapacketindicatescongestionCreditbased—基于信用值的IndicateshowmanypacketssourcemaysendCommonforendtoendflowcontrolRatebased—基于速率Supplyexplicitdataratelimite.g.ATMTrafficManagement:通信量管理Fairness—公平性Qualityofservice—服務(wù)質(zhì)量MaywantdifferenttreatmentfordifferentconnectionsReservations—預(yù)約e.g.ATMTrafficcontractbetweenuserandnetworkCongestionControlinPacketSwitchedNetworksSendcontrolpackettosomeorallsourcenodesRequiresadditionaltrafficduringcongestionRelyonroutinginformationMayreacttooquicklyEndtoendprobepacketsAddstooverheadAddcongestioninfotopacketsastheycrossnodesEitherbackwardsorforwardsLeakyBucketAlgorithm漏桶算法LeakybucketalgorithmLeakybucketalgorithmEachhostisconnectedtothenetworkbyaninterfacecontainingaleakybucketThatisafiniteinternalqueueIfapacketarrivesatthequeuewhenitisfull,thepacketisdiscarded.Asingle-serverqueueingsystemwithconstantservicetimeThiscanbeenforcedbytheinterfacecardorbytheoperatingsystemExampleBucket:C=1MB;ρ=2MB/sHost:ρ=25MB/s;t=40msTokenBucketAlgorithmTheleakybucketalgorithmenforcesarigidoutputpatternattheaveragerate,nomatterhowburstythetrafficis.ThetokenbucketalgorithmallowstheoutputtospeedupsomewhatwhenlargeburstsarriveTheleakybucketholdstokens,generatedbyaclockattherateofonetokenevery?Tsec.Tokenbucketalgorithm死鎖---deadlock同時等待已經(jīng)分配的資源獲得釋放,并且對資源的等待和占用形成環(huán)路條件。網(wǎng)絡(luò)資源:緩沖區(qū)三種死鎖類型:
直接存貯---轉(zhuǎn)發(fā)死鎖
間接存貯---轉(zhuǎn)發(fā)死鎖
重裝配死鎖
直接存貯---轉(zhuǎn)發(fā)死鎖禁止被單方向占用全部緩沖區(qū)NodeANodeB
間接存貯---轉(zhuǎn)發(fā)死鎖NodeBNodeANodeC結(jié)構(gòu)化緩沖池使用規(guī)則:1,2,…K,…N表示分組走過的跳數(shù)高級可以占用低級緩沖區(qū)K類以下緩沖區(qū)用完后,到達(dá)的所有<=K級的分組丟棄N類…K類…2類1類公用緩沖池0類
重裝配死鎖C3C2B4A2B1C1B2B3A1A3A4AFJHKEDCB節(jié)點1節(jié)點2節(jié)點3節(jié)點1節(jié)點2節(jié)點3主機1主機2主機重排序死鎖裝配緩沖區(qū)死鎖交通控制的分級跳步級進(jìn)出口級網(wǎng)絡(luò)訪問級網(wǎng)絡(luò)訪問級會話級ARPANETTraffic--最小分配最大限制總共40個緩沖區(qū)每條鏈路:1輸出2輸入主機端口10個裝配緩沖區(qū)剩余共享區(qū),限制如下:輸出<=8裝配緩沖區(qū)<=20總的存貯轉(zhuǎn)發(fā)緩沖區(qū)數(shù)<=20多于分組丟棄主機共享緩沖池節(jié)點ATMTrafficManagementHighspeed,smallcellsize,limitedoverheadbitsStillevolvingRequirementsMajorityoftrafficnotamenabletoflowcontrolFeedbackslowduetoreducedtransmissiontimecomparedwithpropagationdelayWiderangeofapplicationdemandsDifferenttrafficpatternsDifferentnetworkservicesHighspeedswitchingandtransmissionincreasesvolatilityLatency/SpeedEffectsATM150Mbps~2.8x10-6secondstoinsertsinglecellTimetotraversenetworkdependsonpropagationdelay,switchingdelayAssumepropagationattwo-thirdsspeedoflightIfsourceanddestinationonoppositesidesofUSA,propagationtime~48x10-3secondsGivenimplicitcongestioncontrol,bythetimedroppedcellnotificationhasreachedsource,7.2x106bitshavebeentransmittedSo,thisisnotagoodstrategyforATMCellDelayVariationForATMvoice/video,dataisastreamofcellsDelayacrossnetworkmustbeshortRateofdeliverymustbeconstantTherewillalwaysbesomevariationintransitDelaycelldeliverytoapplicationsothatconstantbitratecanbemaintainedtoapplicationTimeRe-assemblyofCBRCellsNetworkContributionto
CellDelayVariationPacketswitchednetworksQueuingdelaysRoutingdecisiontimeFramerelayAsabovebuttolesserextentATMLessthanframerelayATMprotocoldesignedtominimizeprocessingoverheadsatswitchesATMswitcheshaveveryhighthroughputOnlynoticeabledelayisfromcongestionMustnotacceptloadthatcausescongestionCellDelayVariation
AtTheUNIApplicationproducesdataatfixedrateProcessingatthreelayersofATMcausesdelayInterleavingcellsfromdifferentconnectionsOperationandmaintenancecellinterleavingIfusingsynchronousdigitalhierarchyframes,theseareinsertedatphysicallayerCannotpredictthesedelaysOriginsofCellDelayVariationTrafficandCongestion
ControlFrameworkATMlayertrafficandcongestioncontrolshouldsupportQoSclassesforallforeseeablenetworkservicesShouldnotrelyonAALprotocolsthatarenetworkspecific,norhigherlevelapplicationspecificprotocolsShouldminimizenetworkandendtoendsystemcomplexityTimingsConsideredCellinsertiontimeRoundtrippropagationtimeConnectiondurationLongtermDeterminewhetheragivennewconnectioncanbeaccommodatedAgreeperformanceparameterswithsubscriberTrafficManagementandCongestionControlTechniquesResourcemanagementusingvirtualpathsConnectionadmissioncontrolUsageparametercontrolSelectivecelldiscardTrafficshapingResourceManagementUsingVirtualPathsSeparatetrafficflowaccordingtoservicecharacteristicsUsertouserapplicationUsertonetworkapplicationNetworktonetworkapplicationConcernwith:CelllossratioCelltransferdelayCelldelayvariationConfigurationof
VCCsandVPCsAllocatingVCCswithinVPCAllVCCswithinVPCshouldexperiencesimilarnetworkperformanceOptionsforallocation:AggregatepeakdemandStatisticalmultiplexingConnectionAdmissionControlFirstlineofdefenceUserspecifiestrafficcharacteristicsfornewconnection(VCCorVPC)byselectingaQoSNetworkacceptsconnectiononlyifitcanmeetthedemandTrafficcontractPeakcellrateCelldelayvariationSustainablecellrateBursttoleranceUsageParameterControlMonitorconnectiontoensuretrafficcinformstocontractProtectionofnetworkresourcesfromoverloadbyoneconnectionDoneonVCCandVPCPeakcellrateandcelldelayvariationSustainablecellrateandbursttoleranceDiscardcellsthatdonotconformtotrafficcontractCalledtrafficpolicingTrafficShapingSmoothouttrafficflowandreducecellclumpingTokenbucketTokenBucketATM-ABRTrafficManagementSomeapplications(Web,filetransfer)donothavewelldefinedtrafficcharacteristicsBesteffortsAllowtheseapplicationstoshareunusedcapacityIfcongestionbuilds,cellsaredroppedClosedloopcontrolABRconnectionsshareavailablecapacitySharevariesbetweenminimumcellrate(MCR)andpeakcellrate(PCR)ARBflowlimitedtoavailablecapacitybyfeedbackBuffersabsorbexcesstrafficduringfeedbackdelayLowcelllossFeedbackMechanismsTransmissionratecharacteristics:AllowedcellrateMinimumcellratePeakcellrateInitialcellrateStartwithACR=ICRAdjustACRbasedonfeedbackfromnetworkResourcemanagementcellsCongestionindicationbitNoincreasebitExplicitcellratefieldVariationsinAllowedCell
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025版炊事員健康飲食推廣與營養(yǎng)配餐合同2篇
- 2025版智能家居干股股份合作協(xié)議書范本3篇
- 2024年標(biāo)準(zhǔn)化玉米購銷協(xié)議模板版
- 2024年簽署離婚協(xié)議書后的注意事項3篇
- 課題申報書:大模型訓(xùn)練數(shù)據(jù)的版權(quán)侵權(quán)風(fēng)險應(yīng)對研究
- 2024年高速公路路基樁工程合同3篇
- 二零二五年在線教育平臺會員費支付協(xié)議范本12篇
- 2025年版企業(yè)并購居間代理合同示范文本3篇
- 2024年遠(yuǎn)程監(jiān)控系統(tǒng)安裝工程協(xié)議
- 2025版新能源汽車產(chǎn)業(yè)合理化建議書合同
- 四川省綿陽市2024年七年級上學(xué)期數(shù)學(xué)期末考試試卷【附答案】
- 建筑工程施工合同:游泳館建設(shè)
- DB31-T 1305-2021 未成年人家庭監(jiān)護能力評估指南
- 南京工程學(xué)院《C語言程序設(shè)計》2023-2024學(xué)年第一學(xué)期期末試卷
- 中建中建機械頂管專項方案范本
- 機動車檢測站程序文件(根據(jù)補充要求修訂)
- 精神科患者首次風(fēng)險評估單
- 2024-2025學(xué)年 數(shù)學(xué)二年級上冊冀教版期末測試卷(含答案)
- 防沖撞升降柱安裝合同
- 期末測試卷(試題)-2024-2025學(xué)年四年級上冊數(shù)學(xué)滬教版
- 《光伏電站運行與維護》試題及答案一
評論
0/150
提交評論