完成端口在视频会议服务器性能测试中的应用

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

342007JOURNALOFBEIJINGUNIVERSITYOFCHEMICALTECHNOLOGYVol.34,Sup.2007(,110004):,Windows,,,,:;;;:TP393:2007205217:(60273078);(5547016023):,1983,E2mail:towerness@gmail.com,,,,[1],,,,,,,,Windows(IOCP),1,MecuryInteractiveLoadRunner,RationalTeamtest,CompuwareQALoadEmpirixe2Load[223]NetPerf[4]NetPerfTCPUDP,,[5],web,,,[6],,,,Windows(IOCP)Windows,[7]11Fig.1PrincipleofIOCP,,,,,(FIFO),,CPU,(LI2FO),,,,,,,,,,222Fig.2Architectureoftestingsystem,V1,V2,V3Vn-1,Vn,P0,P1,P2Pn-2,Pn-1n,TCPSocket,UDPSocket,,TCPSocketUDPSocket,,,,IOCP,,Socket2,5,324(1),CClientTestStartI2OCP,StartIOCPCIOCPRunIOCP;3Fig.3Classdiagramoftestingsystem4Fig.4Sequencediagramoftestingsystem(2)CIOCPCreateIOPortm-IOCP;(3)CIOCPCreateWorkerThread;(4),Socket,CVirtualClientCreateSocks;(5)AttachToIOCP,Socket;(6)COperationC++VC610,,,3311C:I/O(Capacity),,,/(packets/s)S:(Session),,{P0,P1PN-1},Pii,N,842007I:,,(s)O:(Overhead),,,(s)5,,P0,P1PN-1N,I,N[8]5Fig.5Modelofvirtualclientoperation,,,,[8]I/OCx,5,L(x)nL(x),L(x)T(x)3nL(x)=x(1)T(x)=nL(x)(1/C+O)=x(1/C+O)(2)fSLA(S)=N-1i=0fSLA(Pi),fSLA(Pi)PiL(x)T(x)x(1/C+O),,O,T(x)x/C,x,P0,P1PN-1N,NT(x)(ServiceLevelAgree2ment,SLA),fSLA(S),(4)Nx/C=fSLA(S)(4),NC,fSLA(S)SLAx,,312(1)Pentium(R)4CPU1170GHZ,512M,(2)6,,,,[7](FIFO),6Fig.6Comparisionofclient2sidestarvation7Fig.7Comparisionofthenumberofcontextswitchespersecond77,,94:,,,,,4,,,,,,,,:[1],,,.[J].,2004,30(14):133-135.[2]HAVELUNDK,STOLLERSD,SHMUEL.Bench2markandFrameworkforEncouragingResearchonMulti2ThreadedTestingTools.IEEECNF2003[C]//ParallelandDistributedProcessingSymposium,ProceedingsIn2ternational,2003;22-26.[3]AMIRK.MercuryInteractiveCorporation.UseofaSingleThreadtoSupportMultipleNetworkConnectionsforServerLoadTesting[P].US,6754791.June2004.[4],.[J].,2004,21(8):10-13.[5]TRETMANSJ,BRINKSMAE,TORX.AutomatedModelBasedTesting[C]1stEuropeanConferenceonModel2DrivenSoftwareEngineering.Nurnberg,Ger2many,December2003.[6]CHENYK,LOCKARDEN,DURASOFFMD,etal.Method,System,andProductforAssessingaServerAp2plicationPerformance[P].US,5812780.September1998.[7]JIMB,POBERTW.Win32[M].,.:,2002:149-190.[8]KIMG.Amethodofgeneratingmassivevirtualclientsandmodel2basedperformancetest,qualitysoftware[C]FifthInternationalConference,2005:250-254.ApplicationofIOCPmechanisminperformancetestingofvideoconferenceserverTANGGuoJunWANGCuiRongZHAOYuHuiZHANGYanFeng(CollegeofInformationScienceandEngineering,NortheasternUniversity,ShenyangLiaoning110004,China)Abstract:PerformancetestingofaVideoConferenceServerneedsmassivevirtualclientsandrealistictraffic.ThispaperproposesamethodtogeneratemassivevirtualclientsandrealistictrafficforperformancetestingofVideoConferenceServer.TheapproachexploitstheWindowsI/OCompletionPort(IOCP).Itsdesigningandimplementationdetailsaredescribedinthispaper.Analysisandexperimentalresultsprovethatthisapproachisaccurateandcost2effectiveintestingperformanceofVideoConferenceServer.Keywords:videoconference;server;performancetest;IOCP052007

1 / 4
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功