QTouch大点数主从站传输效率测试报告.docx
测试环境搭建:文件:1、COmmSerVer文件夹里面的STNetEngine-T1.exe是数据服务端,负责数据的接收和解析2、station_demo是QTouch建的单站工程,里而H带数据主动上传的通信部分(暂以modbusTCP命名)部署服务器端:1、COmmSerVer这个文件夹,F1.带了运行环境,其中project-dir是保存的各个站的工程文件夹,为了记录方便文件夹以站号来命名,每个站相当于对应一个上传的客户端。测试的时候每个工程文件夹里面的RunConfig-XmI中UnitId字段需配置为响应的站号,此部分可以手动修改,也可以用QTouch工程管理其修改。2、CommServer文件夹中的config.ini文件是配置服务器端参数IocaIJp网卡ip地址,IoCa1.POrt监听的端口3、手动运行STNetEngine-T1.exe,即完成服务器端的部署工作。为了保证测试效率,目前只提供了后台打印的功能,日志的部分暂做了屏蔽。部署客户端:1、station_demo创建j'12000点的数据量,SCriPt.exe是负责产生模拟的随机数。2、修改modbusTCP的ip和端口,指向CommServer服务端CXM1.Config.XmI1Pbui1.dingid字段为上传站号,服务器端需与之对应3、以上修改可以在QTouch工程管理器中修改4、运行QTOUCh工程(一)主服务器端:负责依据接收解忆a:Inte1.(R)CeIeron(R)CPU100OM1.80GHz1.80GHz安蓑内存(RAM):4.00GB(2.36GB可用)案搬戈32作索妮单站:负费数据上送台)锄施:清!闲方田等丽,W1.StaM:Intet(R)CoreTM)i5-6400CPU2.70GHZ2.71GHz已安装的内存(RAM):4.00GB案婉荚型:M位里作系统.S=×64次理Ii连接方式:无线,2017-3-2317:R:27.19S4tppndrcvst«tIon01.n2920byter1.<1.at*0*,2017-03-2317:40:27.19SAppendreevstation01.en726752byterea1.d*taM'2017-03-2317Hz27.18persestation-B12ed«tashen9yu-。",20173-2317:40:28.455appendccvstation01.en-2920byt«r。A1.dCta”*21.7-3-2317:40:28.491appendreevstation*B1.en16384byterea1.datav*P*2017-3-2317:40:28.493appendr*ecvstation»W1.n-47856byteea1.data”,r2017-3-2317:40:28.MiAppendih>cvstation-M1.en三1460bytorAIdAtAo*21.7-03-2317:4W:28.S09.appendrecuctation-01.en-3392btora1.datao,*21.7032317:40:28.631parsestation12MWdatah0n9yub”*,20173-23appendreevOtAtion01.en-146bytere1.data,'2017-3-23*17:40:29.638appendreevstation01.en146。byterea1.d«taM*,2017-63-2317X®:29.639Appendreevstation01.en-4390byterec1.dct",r2017-3-2317:40:29.64RAppend*ecvStAtionA-2920byteM“Ideta”*2017-3-2317:40:29.64appendreevStAtion01.en-1168。byterea1.data*2W17-63-2317三40三29.64HAppendreevstationB1.en1460bytere«1.dato,21.7-3-231?:40:29.642appendreevstation01.en-1460bytereaIrfatao*21.7-3-2317:40:29.643Appendr«cvst«tion01.n-5840byte*,2017-03-2317三40:29.64?Appendreevst«tionA1.en-1469byterea1.dct"*201732317:40:29.643appendfcecvstation-01.en-1460byterea1.datao,2017-3-2317:40:29.64appendreevst«tion-01.en-10220byterea1.data'v*2017-3-23117:48:29.645appendreevstation-01.en9652byterea1.d<tav*,2M17-3-237:40:29.6缶Appendreevstation三01.n=2860byterA1.data,2017-41.3-2317:46:29.6e4AppndwcvStAtion-H1.an三ISTfMbytera1.dat*r2ei7-ea-2317:40:30.160parsestation-120data9benyu-0m分析:1、传输的总数据点120002、发送端整个数据的准备时间大概需要Is3、数据传输过程耗时大概在50ms以内4、数据解析的频率大概需要Is5、整个数据发送到接收解析耗时在1.5s(二)主服务器跳;负由数据接收解析处澧an安装内存(RAM):InteI(R)CeIeron(R)CPU100OM1.80GHz1.80GHz4.00GB(2.36GB可用)32位描作球单站:负责数推上送2台>班E*同方fiI1.方MCtnatIZgC<xTM)iS-6400CPU2.70GHz2.71GMx巳我«内承RAM):400GB,MQS*TKf.Vf>64¾3杜理:?内谷(RAM):I11t1.(R)CorTM)i3-500WCPUO2.00GH1.2.00GHz4.00GB(174GBBJJU1.2£:连接方式:无践64B作豕统*21.7-3-23*2017-3-23,20170323*2017-03-2321.7-03-237017-3-232617-03-23*2R17-3-23*2017-83-23*2017-83-23,201783-23*2017-03-237017-3-237tJ17-U3-232。Im-232B17-03-23*2017-03-23ZB17-tJ3-2317<51.7MAppendreevst«tionA1.en2920byterea1.dat*u1743517fMAppendreevstation-f1.1.en-292。byterca1.d<«t«M1743S1.705AppendreevStAtion-1.en-876byterea1.data,174351.705appendreevstation-01.en-5840bytereaIdatate174351.75appendreevstAtion-1.en-2920byteZAIddW174351.796appendr«cvstation-01.»876byterea1.dataa'174351.716appendrcvtttation=01.n=292。bytrea1.dt"174351.7?AppendrcvstationeR1.n730bytr1.dt"1743S1.707Appendrcust«tion01.n4380byter«a1.dataM174351.708Appendreevstation81.en5840bytere«1.dataa'174351.708Appendreevsttion01.en8760byterea1.dataa,174351.709appendreevstation-01.en5840byterea1.datatt*174351.710appendreevstation01.eni1460byter«a1.dataM1743S1.719appendrcvstation=U1.en三146Hbyterea1.datdM174,51.719AppendrcvstationNH1.«472bytZa1.(US"174?Si.721pArs0tAtion-012AOAdatas>wmgyu-H”1743,三r<51.721parseatation.I12B0dataGhCngyU0M«/t.,'Jf.-a-,;CC.tI-C1.11M.1.4.",2017-03-2317*2017-63-2317,2017-63-2317*2017-03-2317*2017-3-2317r2i7-3-23*21.7-03-23,21.703232017-03-232017-3-232(H7TI3-23,2017-63-232A17-03-232017-3-23,2817-03-232tn70323,2017-83-23,2017-03-2321.7-3-23,2017-03-23N017-O3-232017-3-23,2017-03-2317171717171717!717171717171717171717261203-23174J4343434343434343434?4R434JAi4343434343A4J4352.64152.64152.64252.64352.648S2.648AppendrecvappendappendappendappendappendS2.6S0appendS2.6S352.65352.656S2.656appendappendreevrcvrcvrcvrcvrecvroevr©cvAppendreevappendBCUstationstation"statIon-station三8tAtion三station-station-QtAtionDtetionstation-station-1.en1.en1.en1.n1.n1.n1.on1.en1.on1.on1.en16384byterea1.data,-11356byterea1.datao-584。292«8192-7868-2920bytebytebytbyt0byte52.730parsestation1120052.927appendrcv52.927Appendreev52.928S2.928S2.93552.93552.93652.936appendappendAppendAppendappendappend52.937AppendS2.938Append52.938appendrecvroevreevroevrecvreevr«cvrecvreevt*tion»Astation*Bstation-BStAtion-BOtAtionBStAtionBstationBstationBStAtionBstationBatationH-292byte-1460byte-8192byte-250byterea1.tfataMrea1.cUt”ra1.<Ut"Ea1.(UcUEdI(Ut'rea1.d«taMrca1.data*r«A1.dataMr«a1.dataM<1.at<2bcngy-0',1.n»292。byt1.on»14Gbbyte1.en-438byteEA1.dW"re“rcaIdAta*rea1.dataa*1.on1168byterc1.dtaa*1.en23368byterea1.datao1.en-4388byte1.en-4388byte1.enS67byte1.en-292byte1.en3SS6byterea1.datAMre*Ideta*rcaIdataorea1.dat«MS3.242parsestation-0120dataBhCngyU-0m分析:1、传输的总数据点120*22、发送端整个数据的准备时间大概需要Is3、数据传输过程耗时大概在50ms以内4、数据解析的频率大概需要Is5、整个数据发送到接收解析耗时在1.5s6、2个站暂时对性能影响不大()主股务器端:仇贵数据接收解析thsaInteI(R)CeIeron(R)CPU100OM1.80GHz1.80GHxX内存(RAM):4.00GB(2.36G8三Jff1.)Sc32i:323f1.作浜统单站:负责数据上送2)*tsw:s方票如丽Irtd(K)CorM)iS-4400CPU2.70GHz271GHx巳««内存(RAM):4XX)GB1、»ts:MA2*TS,U=rfXtS三!nte1.(R)CcxM)i3-55UCPU20GHZ2.00GHi安内引(RAM):4.00GB(3.74GB可M)2、sa3t«e&:642作«SfwiImd(R)CorTM)iJ-4005UCPU1.70GHI1.70GHjV(RAM):4XX)GB(2.51GB可用)3、32GSPTfeS连接方式;无战"2H17-03-2317:51:44.343appendrecvstation-(2617-83-2317:51:44.347appendrcvstation-I*,2817-03-2317:51:44.347Appendrcvstation-(*2017-B3-2317三51三44.374appendrecvstation-f,2817-3-2317三S1:44.374appendrcvstation-(,t2917-932317:51:44.374appendr。CUstationI*,21.7-03-2317三51三44.376AppendrccvStAtion-21.?32317S1三44.37?appendrcvstation*21.7-3-231?:S1:44.37?appendrecvstation,2017-03-2312:51:44.506appendrecvstation"*2R17-03-2317:51:44.504appendrcvStAtion,*2R117:S1:44.SRSWpRniIrecu>tatinn-'t2H17-3-2317:51:44.S21Xestation-012MM,17-3-23喳产aH-t*>*21.7-03-2317:51:45.413Appendrcvttion三'2R17-03-2317:51:45.425Appendrcvstation-*2Ri7-03-2317:51:45.4264ppndn»cvstation=*2H17-3-2317:51:45.433Appendrcvstation-*,21.7-3-2317:51:45.434Apdrcvstation-,2017-3-2317:51:45.434Appendrcvstation,2817-3-2317:51:4S.-M7appendrcvstation2M7-3-2317:S1:4S.43?appendecustation!:,2H17-B3-2317:b1.:45.4HHAppendrccvstation-"2017-83-2317:51X5.491CPPendrecstAtion“2917-63-23i?:51:45.93Appendr«cvstation-21.7-93-23i?:S»:v.I93aimpendrccustation“2817-0323i?:S1.:45.498Appendrccvstation-,2R17-032317:51:45.498appendrccustation-'2B17-323i7三51.:45.499appendrcvatation-,2A170323i?eSI445.S00appendrecvstation-i1.en8436byterea1.datao8760bytera1.datao91.en-16060byteroA1.data"91.on-5840byterea1.dataoJ-1460byterea1.dataoJ-1468bytere«1.dat«M81.en292byterva1.dAto31.en-2920byterea1.data*9J-7772byteBd1.dCta"I1.en-146bytereaIdatA4tI1.en146Wbyterc1.dt"I1.«n1S72hytnrRA1.dah"Idatash0ng9u00才datah0g9u二0''?1.en三1460byterM*"?1.en三8192byteEa1.datk'21.en三768bytZaIdat*"21.en三8192bytereaIdatao21.en三16384bytera1.data"21.en-14844byteea1.dat"21.en8192byterea1.dat":In6S80bytr1.d6才1.en-2920bytereaIdAtao11.en14600byterea1.(Uta"11.en-16384byterea1.d«taM才-6976byterc1.dt”71.en-16384byterea1.dat«M才Un-9732bytere1.<Ut''1.en438AbytercA1.datA*v11.en636bytereA1.data,'ZJIVZbIJb.53bparsestation-HIZWWWdtS1.wngyu-W-2017-032317:51:45.535iMrsestation212MdatasIiengyu0''* *2017-032317iO45.51.AppendrcvstationI-1460byterea1.datao* *2017-03-2317:51:45.570appendrcvstation11.en1460byterea1.data"* *2017-03-2317:51:4S.570appendrcustation11.en2920byterea1.datao'2017-03-2317:51:45.S71AppendrcustAtion-11.en1460bytera1.datao*21.7-83*2317三S1:45.S7Sappendr«cvstation-1-S84tfbyterca1.datao,2t17-83-2317三51:45.S77appendr«cvotation-11.en-4380byterc1.dtAo,2817-H32317三S1:45.578appendr«cvstation-1-S840bytercaIdatao* *2017-03-2317:51:4S.S88appendrccvstation1-16384byterea1.dat,* *2B17-832317:51:45.588appendrcvstation-119128byterea1.data"* 2B17-03-2317:S1:46.03?parsestation-112MdatasBengyu-0°分析:1、传输的总数据点1200032、发送端整个数据的准备时间大概需要Is3、数据传输过程耗时大概在50ms以内4、数据解析的频率大概需要Is5、整个数据发送到接收解析耗时在1.5s6、3个站暂时对性能影响不大(ff1.)主服务器瑞:负责数据接收解析处理舞InteI(R)CeIeron(R)CPU100OM1.80GHz1.80GHz安装内存(RAM):4.00GB(2.36G8可用)和穗戈32Ofi作亲统单站:负责数据上送<1>制造范:清的方fi同方系列油处理H:InteKR)COre(TM)i5-6400CPUO2.70GHz2.71GHz已安装的内存(RAM):4.00GB系统类型:M位境作系统.STx64次理IB连接方式:有线E:soufce9>oqi>ngw«i>s«vcAComm$cfve<X$TNetEf>9*eTt-exe2017-3-24H9:43:02.716IMrStAtion-M12HWHdatAthngyu=HmrmIm11O17M21It,.,Mt721.?0321.?32i?03t2b1.?B3242A24242tti7-W3-24217Y3-24,21703-24,2817-03-24r2H17-3-24o21.73-242A17A324117W324281703-242ei7-03-242H17-3-242817Tn-2421.703242H17-3-2409:43:03.90309:43:03.90509:43:84.24109:43:05.14S09:43:05.14609:4332S409:43:0.381tf?:43:86.382H9r43.774田43:»7.62209:43:07.62309:43:07.783appendr«cvstationBappendECUstation0PArsestation-012B0BappendPeCUtttion*01.en-2920bytere«1.data"1.en-6992byterea1.data*dtAiengyu*tIVe-43«Hbytereeh1.cj”appendreevstation-01.en-67632byterea1.dAta,IM1.raCstation-0126Bd«tA3hc11vw-8”Appendrcvstation1.>en-2928bytercA1.dta"appendrcvstation-U:69892byterca1.data*paretationU12tMHdatashn9yuW'appendr«cvtCAt1.on三1.n292byter*1.dt”appendrv<vttionHUn-69092byteic1<I<U"parsestation-012M0datajhnjyu,R9:43:H8.863appndreevstationR1.n16384byte1.<Ut"09:43:M.864append>>11-R-55628bytrt*r1.data'tR9:43:A9.31f1.parsesttion-A12AAAdtashengyu-o09:43:16.103AppendreevsttiM1.en-163HiHvtcrea1.dht*09:43:10.103»9:43:10.323»9:43:11.34409:43:11.345appendr«cvstation81.on-55628byteIaOa1.daWparseotationU1208Hdataahngyu-*,AppendZCUstation=H1.en438Wbytra1.data'vAppendrcvstation01.en16384byterea1.d«t«(>09:43:11.347appendr«cvstation-S1248byterea1.data"H9:43:11.84Mjm*Sst«tionM2HHHdatahn9yu”分析:1、传输的总数据点120002、发送端整个数据的准备时间大概需要Is3,数据传输过程耗时大概在2ms以内,传输的速度有明显提升4、数据解析的频率大概需要Is(五)主股务湾端:负货数«5接收解析:制造电:fi5t31.:已安装的内存(RAM):清华同方同方系列由机InteKR)Core(TM)i5-6400CPU2.70GHZ2.71GHz400GBM位凄作系统.ST-x649b三S单站:负责数据上送1f?)ctaa安皴内存(RAM):.2i:Inte1.(R)CeIeron(R)CPU100OM1.80GHz1.80GHx4.00GB(2.36GB可用)32作基统连接方式:有绫CAUserssitc-qtouchDc5ktopCommServerSTNetEngineT1.exe201703-2410:11:12754appendrcvStation=01.ar1.=15072byte耳©a1dataf2017-03-2410:11:18.817parsestation=012000datashengyu=0,"20T03-2410:11:20:appendrecvStation=01.en=5402Obyterea1.data""2017-03-2410:11:20.598appendrecvstation=01.en=17992byterga1.data”T2017-03-2410:11:20.817parsestation=012000datashengyu=07P3r211T7227TaPPendmcvstation二61.eir三"23W3?adata",2017-03-2410:11:22.286;2.017-Q3-2410;11:22,286-appendrecvstation=01.en=29200byterea1.dataappendreystation=01.en=179921.>vterea1.data"2017-03-2410:11:22.317parsestation=012000datashengyu=0'2017-03-2410:11:23.942appendrecvstation=01.en=56940byterea1.data"1.en=15072byterea1.data"datashengyu=_。1.en=52560byterea1.data02017-03-2410:11:23.92appendrec',i',11w2017-03-2410:11:24.317parsestation=0120002017-03-2410:11:25,677',2017-03:>1.1":11:7?2G7-O32410:11:25.817¾I7-03-24-fOHT2734'.J1./'K:>11'':11:27.341-72017-03-2410:11:27.817"20IRK24"2017-03-24,2017-03-242017-03-24z,2017-03-24"2017-03-24“2017-03-24,2017-03-242017-03-242017-03-2410:11:2.OJi10:11:29.03610:11:29.03610:11:29.31810:11:30.78710:11:30.78710:11:30.81810:11:32,41210:11:32.41210:11:32.818appendrecvstation=0appendrecvstation=Q'arsestationg012000appendrecvstation=0appendrecvstation-0parsestation_=012000appendrecvstation=飞appendrecvstation=0appendrecvstation=0parsestation=012000appendrecvstation=0appendrecvstation=0parsestation=012000appendrecvstation=0appendrecvstation=0parsestation=0120001.en=19452.bte,FeaIdata''datashengyug0111.en=554o0byterea1.data"1.en=16532Dyte“rea1.data”datashengyu=0w:,u-14<i'bvt,.re.,1,1t,.1"1.en=23360byterea1.data”1.en=34052byterea1.dataz,datashengyu=0"1.en=14600byterea1.data:1.en=57412byterea1.data"datashengyu=0"1.en=55480byterea1.data"1.en=16532byterea1.data”datashengyu=0"搜狗拼音输入法全:分析:主服务器换一台性能稍好的电脑,发送端电脑性能稍差1、传输的总数据点120002、发送端整个数据的准备时间大概需要1.5s3、数据传输过程耗时大概在2ms以内,传输的速度有明显提4、数据解析的频率大概需要Is5,整个数据发送到接收解析耗时在1.5s主服务器端:负责数据接收解析:就S卷:s处理u:清侈同方同方茶阳MInteRR)COre(TM)i5-64CPU2.70GHz2.71GHz已安装的内存(RAM):400GBM位里作系统.Sr-x64的处理器项站:负货数据上送3台世理H:aS1.内存(RAM):21.:InteI(R)CeIeron(R)CPU100OM1.80GHz4.00GB(2.36GB可用)32Qft作亲统1.80GHzFRGP5JF(RAM):InteI(R)Cor11M)i3-00UCPU2.00GHz4.00GB(3.74GB可用)64<2>fES2.00GHzttSif-安"存<RAM):>S:InteI(R)Corv(TM)i34005UCPUO1.70GHz48G8(2.S1GB可顺32GSkFftR1.TOGHZ2017-03-2410:31:44,509appendrecvstation-11.en'8760byterea1.data2017-03-2410:31:44.509appendrecvstation二11.en:10220byterea1.data:2017-03-2410:31:44.509appendrecvstation=1=10220byterea1.data"2017-03-2410:31:44.509appendrecvstation三11.en=8760byterea1.dataSQ9pcdxecv-station三11.g=9232by¾faiqata”2017032410:31:44.525ParAstation-012000(ktaShenCyU-。”.J)】;!;R24Iftf1.t44,Sggpar-A<m11¾hnpm,Q*rI2017-03-24:10:3I?45.43:appendrecvstation=N!1.en=5840byterea1.data'2017-03-2410:31:45,431appendrecvstationZ?1.WI«18980byterea1.data*2017-03-2410:31:45.431appendrecvstation2I1.en-2920byterea1.data"2017-03-2410:31:45.446appendrecvstationZ?1.en1460byterea1.dataz2017-03-2410:31:45.446appendrecvstationJI1.en»8760byterea1.data"2017-03-2410:31:45.446appendrecvstation三>?1.en=10220bytera1.chta*2017-03-241