![外文翻譯--網(wǎng)絡(luò)性能的測量.doc_第1頁](http://file.renrendoc.com/FileRoot1/2013-11/17/fcf73198-5b92-477a-8c93-2c57110d9c18/fcf73198-5b92-477a-8c93-2c57110d9c181.gif)
![外文翻譯--網(wǎng)絡(luò)性能的測量.doc_第2頁](http://file.renrendoc.com/FileRoot1/2013-11/17/fcf73198-5b92-477a-8c93-2c57110d9c18/fcf73198-5b92-477a-8c93-2c57110d9c182.gif)
![外文翻譯--網(wǎng)絡(luò)性能的測量.doc_第3頁](http://file.renrendoc.com/FileRoot1/2013-11/17/fcf73198-5b92-477a-8c93-2c57110d9c18/fcf73198-5b92-477a-8c93-2c57110d9c183.gif)
![外文翻譯--網(wǎng)絡(luò)性能的測量.doc_第4頁](http://file.renrendoc.com/FileRoot1/2013-11/17/fcf73198-5b92-477a-8c93-2c57110d9c18/fcf73198-5b92-477a-8c93-2c57110d9c184.gif)
![外文翻譯--網(wǎng)絡(luò)性能的測量.doc_第5頁](http://file.renrendoc.com/FileRoot1/2013-11/17/fcf73198-5b92-477a-8c93-2c57110d9c18/fcf73198-5b92-477a-8c93-2c57110d9c185.gif)
已閱讀5頁,還剩1頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1英文翻譯:本文出自ComputerNetwork第四版AndrewS.Tanenbaum著NetworkPerformanceMeasurementWhenanetworkperformspoorly,itsusersoftencomplaintothefolksrunningit,demandingimprovements.Toimprovetheperformance,theoperatorsmustfirstdetermineexactlywhatisgoingon.Tofindoutwhatisreallyhappening,theoperatorsmustmakemeasurements.Inthissectionwewilllookatnetworkperformancemeasurements.ThediscussionbelowisbasedontheworkofMogul(1993).Thebasicloopusedtoimprovenetworkperformancecontainsthefollowingsteps:1.Measuretherelevantnetworkparametersandperformance.2.Trytounderstandwhatisgoingon.3.Changeoneparameter.Thesestepsarerepeateduntiltheperformanceisgoodenoughoritisclearthatthelastdropofimprovementhasbeensqueezedout.Measurementscanbemadeinmanywaysandatmanylocations(bothphysicallyandintheprotocolstack).Themostbasickindofmeasurementistostartatimerwhenbeginningsomeactivityandseehowlongthatactivitytakes.Forexample,knowinghowlongittakesforaTPDUtobeacknowledgedisakeymeasurement.Othermeasurementsaremadewithcountersthatrecordhowoftensomeeventhashappened(e.g.,numberoflostTPDUS).Finally,oneisofteninterestedinknowingtheamountofsomething,suchasthenumberofbytesprocessedinacertaintimeinterval.Measuringnetworkperformanceandparametershasmanypotentialpitfalls.Belowwelistafewofthem.Anysystematicattempttomeasurenetworkperformanceshouldbecarefultoavoidthese.MakeSureThattheSampleSizeIsLargeEnoughDonotmeasurethetimetosendoneTPDU,butrepeatthemeasurement,say,onemilliontimesandtaketheaverage.Havingalargesamplewillreducetheuncertaintyinthemeasuredmeanandstandarddeviation.Thisuncertaintycanbecomputedusingstandardstatisticalformulas.MakeSureThattheSamplesAreRepresentative2Ideally,thewholesequenceofonemillionmeasurementsshouldberepeatedatdifferenttimesofthedayandtheweektoseetheeffectofdifferentsystemloadsonthemeasuredquantity.Measurementsofcongestion,forexample,areoflittleuseiftheyaremadeatamomentwhenthereisnocongestion.Sometimestheresultsmaybecounterintuitiveatfirst,suchasheavycongestionat10,11,1,and2oclock,butnocongestionatnoon(whenalltheusersareawayatlunch).BeCarefulWhenUsingaCoarse-GrainedClockComputerclocksworkbyincrementingsomecounteratregularintervals.Forexample,amillisecondtimeradds1toacounterevery1msec.Usingsuchatimertomeasureaneventthattakeslessthan1msecispossible,butrequiressomecare.(Somecomputershavemoreaccurateclocks,ofcourse.)TomeasurethetimetosendaTPDU,forexample,thesystemclock(say,inmilliseconds)shouldbereadoutwhenthetransportlayercodeisenteredandagainwhenitisexited.IfthetrueTPDUsendtimeis300sec,thedifferencebetweenthetworeadingswillbeeither0or1,bothwrong.However,ifthemeasurementisrepeatedonemilliontimesandthetotalofallmeasurementsaddedupanddividedbyonemillion,themeantimewillbeaccuratetobetterthan1sec.BeSureThatNothingUnexpectedIsGoingOnduringYourTestsMakingmeasurementsonauniversitysystemthedaysomemajorlabprojecthastobeturnedinmaygivedifferentresultsthanifmadethenextday.Likewise,ifsomeresearcherhasdecidedtorunavideoconferenceoveryournetworkduringyourtests,youmaygetabiasedresult.Itisbesttoruntestsonanidlesystemandcreatetheentireworkloadyourself.Eventhisapproachhaspitfallsthough.Whileyoumightthinknobodywillbeusingthenetworkat3A.M.,thatmightbepreciselywhentheautomaticbackupprogrambeginscopyingallthediskstotape.Furthermore,theremightbeheavytrafficforyourwonderfulWorldWideWebpagesfromdistanttimezones.CachingCanWreakHavocwithMeasurementsTheobviouswaytomeasurefiletransfertimesistoopenalargefile,readthewholething,closeit,andseehowlongittakes.Thenrepeatthemeasurementmanymoretimestogetagoodaverage.Thetroubleis,thesystemmaycachethefile,soonlythefirstmeasurementactuallyinvolvesnetworktraffic.Therestarejustreadsfromthe3localcache.Theresultsfromsuchameasurementareessentiallyworthless(unlessyouwanttomeasurecacheperformance).Oftenyoucangetaroundcachingbysimplyoverflowingthecache.Forexample,ifthecacheis10MB,thetestloopcouldopen,read,andclosetwo10-MBfilesoneachpass,inanattempttoforcethecachehitrateto0.Still,cautionisadvisedunlessyouareabsolutelysureyouunderstandthecachingalgorithm.Bufferingcanhaveasimilareffect.OnepopularTCP/IPperformanceutilityprogramhasbeenknowntoreportthatUDPcanachieveaperformancesubstantiallyhigherthanthephysicallineallows.Howdoesthisoccur?AcalltoUDPnormallyreturnscontrolassoonasthemessagehasbeenacceptedbythekernelandaddedtothetransmissionqueue.Ifthereissufficientbufferspace,timing1000UDPcallsdoesnotmeanthatallthedatahavebeensent.Mostofthemmaystillbeinthekernel,buttheperformanceutilitythinkstheyhaveallbeentransmitted.UnderstandWhatYouAreMeasuringWhenyoumeasurethetimetoreadaremotefile,yourmeasurementsdependonthenetwork,theoperatingsystemsonboththeclientandserver,theparticularhardwareinterfaceboardsused,theirdrivers,andotherfactors.Ifthemeasurementsaredonecarefully,youwillultimatelydiscoverthefiletransfertimefortheconfigurationyouareusing.Ifyourgoalistotunethisparticularconfiguration,thesemeasurementsarefine.However,ifyouaremakingsimilarmeasurementsonthreedifferentsystemsinordertochoosewhichnetworkinterfaceboardtobuy,yourresultscouldbethrownoffcompletelybythefactthatoneofthenetworkdriversistrulyawfulandisonlygetting10percentoftheperformanceoftheboard.4網(wǎng)絡(luò)性能的測量當(dāng)一個網(wǎng)絡(luò)的運行效果很差的時候,它的用戶通常會向網(wǎng)絡(luò)運行商抱怨并要求提高網(wǎng)絡(luò)的質(zhì)量。為了改善網(wǎng)絡(luò)的性能,網(wǎng)絡(luò)操作人員首先必須確定發(fā)生了什么問題。為了找出真正的問題所在,操作人員必須進行測量工作。在這一小節(jié)中,我們來看一看網(wǎng)絡(luò)性能的測量問題。下面的討論以Mogul(1993)的工作為基礎(chǔ)。用來改善網(wǎng)絡(luò)性能的基本循環(huán)過程包括以下步驟:(1)測量有關(guān)的網(wǎng)絡(luò)參數(shù)和性能。(2)試圖理解當(dāng)前的網(wǎng)絡(luò)狀況。(3)改變一個參數(shù)。這些步驟不斷重復(fù),直到網(wǎng)絡(luò)的性能已經(jīng)足夠好,或者改善性能的全部空間都已經(jīng)被發(fā)掘出來了。測量工作可以有許多做法,也可以在許多地點或場所進行(既指物理位置,也指協(xié)議棧中的位置)。最基本的一種測量手段是:在開始某一個動作的時候啟動一個定時器,然后確定該需要多長時間。例如,知道一個TPDU需要多長時間才被確認是一個很關(guān)鍵的測量指標。其他有一些測量指標可以通過計數(shù)器來完成,即記錄某種事件發(fā)生的次數(shù),比如丟失的TPDU的數(shù)量。最后,人們通常對于某些事物的數(shù)量比較感興趣,比如在特定的時間間隔內(nèi)所處理的字節(jié)數(shù)。測量網(wǎng)絡(luò)的性能和參數(shù)有許多潛在的陷阱。以下我們列出其中一部分。任何一種系統(tǒng)化的網(wǎng)絡(luò)性能測量
溫馨提示
- 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)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 現(xiàn)代農(nóng)技在醫(yī)療保健領(lǐng)域的創(chuàng)新應(yīng)用以煙草種植為例
- 匯報在項目管理中的重要作用
- 現(xiàn)代市場營銷中的網(wǎng)絡(luò)直播工具選擇與應(yīng)用
- 現(xiàn)代商業(yè)項目中的綠色建筑策略
- Unit 3 Transportation Period 1(說課稿)-2024-2025學(xué)年人教新起點版英語四年級上冊
- 2024-2025學(xué)年高中地理上學(xué)期第十三周 中國地理分區(qū) 第一節(jié) 北方地區(qū)說課稿
- 2024年三年級品社下冊《這周我當(dāng)家》說課稿 遼師大版
- 5 數(shù)學(xué)廣角 - 鴿巢問題(說課稿)-2023-2024學(xué)年六年級下冊數(shù)學(xué)人教版
- 16 表里的生物(說課稿)-2023-2024學(xué)年統(tǒng)編版語文六年級下冊
- 2023九年級數(shù)學(xué)下冊 第24章 圓24.4 直線與圓的位置關(guān)系第2課時 切線的判定定理說課稿 (新版)滬科版
- 我國糖尿病視網(wǎng)膜病變臨床診療指南2022解讀
- 鋰離子電池健康評估及剩余使用壽命預(yù)測方法研究
- c30混凝土路面施工方案
- 頸椎骨折的護理常規(guī)課件
- 電商運營銷售計劃Excel模版
- 2022-2023學(xué)年上海市楊浦區(qū)上海同濟大附屬存志學(xué)校七年級數(shù)學(xué)第二學(xué)期期中綜合測試模擬試題含解析
- 稿件修改說明(模板)
- GB/T 33107-2016工業(yè)用碳酸二甲酯
- GB/T 16604-2017滌綸工業(yè)長絲
- 勞動合同法經(jīng)典講義
- 工時定額編制標準(焊接)
評論
0/150
提交評論