《QTouch大点数主从站传输效率测试报告.docx》由会员分享,可在线阅读,更多相关《QTouch大点数主从站传输效率测试报告.docx(11页珍藏版)》请在课桌文档上搜索。
1、测试环境搭建:文件:1、COmmSerVer文件夹里面的STNetEngine-T1.exe是数据服务端,负责数据的接收和解析2、station_demo是QTouch建的单站工程,里而H带数据主动上传的通信部分(暂以modbusTCP命名)部署服务器端:1、COmmSerVer这个文件夹,F1.带了运行环境,其中project-dir是保存的各个站的工程文件夹,为了记录方便文件夹以站号来命名,每个站相当于对应一个上传的客户端。测试的时候每个工程文件夹里面的RunConfig-XmI中UnitId字段需配置为响应的站号,此部分可以手动修改,也可以用QTouch工程管理其修改。2、CommSer
2、ver文件夹中的config.ini文件是配置服务器端参数IocaIJp网卡ip地址,IoCa1.POrt监听的端口3、手动运行STNetEngine-T1.exe,即完成服务器端的部署工作。为了保证测试效率,目前只提供了后台打印的功能,日志的部分暂做了屏蔽。部署客户端:1、station_demo创建j12000点的数据量,SCriPt.exe是负责产生模拟的随机数。2、修改modbusTCP的ip和端口,指向CommServer服务端CXM1.Config.XmI1Pbui1.dingid字段为上传站号,服务器端需与之对应3、以上修改可以在QTouch工程管理器中修改4、运行QTOUCh工
3、程(一)主服务器端:负责依据接收解忆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.19S4tppndrcvsttIon01.n2920byter1.cvstation-M1.en三1460bytorAIdAtAo*21.7-03
4、-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.dtaM*,2017-63-2317X:29.639Appendreevstation01.en-4390byterec1.dct,r2017-3-2317:40:29.64R
5、Append*ecvStAtionA-2920byteM“Ideta”*2017-3-2317:40:29.64appendreevStAtion01.en-1168。byterea1.data*2W17-63-2317三40三29.64HAppendreevstationB1.en1460bytere1.dato,21.7-3-231?:40:29.642appendreevstation01.en-1460bytereaIrfatao*21.7-3-2317:40:29.643Appendrcvsttion01.n-5840byte*,2017-03-2317三40:29.64?Appen
6、dreevsttionA1.en-1469byterea1.dct*201732317:40:29.643appendfcecvstation-01.en-1460byterea1.datao,2017-3-2317:40:29.64appendreevsttion-01.en-10220byterea1.datav*2017-3-23117:48:29.645appendreevstation-01.en9652byterea1.d班E*同方fiI1.方MCtnatIZgC643杜理:?内谷(RAM):I11t1.(R)CorTM)i3-500WCPUO2.00GH1.2.00GHz4.00
7、GB(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-231751.7MAppendreevsttionA1.en2920byterea1.dat*u1743517fMAppendreevstation-f1.1.en-292。byter
8、ca1.dwmgyu-H”1743,三r51.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-23N
9、017-O3-232017-3-23,2017-03-2317171717171717!717171717171717171717261203-23174J4343434343434343434?4R434JAi4343434343A4J4352.64152.64152.64252.64352.648S2.648AppendrecvappendappendappendappendappendS2.6S0appendS2.6S352.65352.656S2.656appendappendreevrcvrcvrcvrcvrecvroevrcvAppendreevappendBCUstationst
10、ationstatIon-station三8tAtion三station-station-QtAtionDtetionstation-station-1.en1.en1.en1.n1.n1.n1.on1.en1.on1.on1.en16384byterea1.data,-11356byterea1.datao-584。2928192-7868-2920bytebytebytbyt0byte52.730parsestation1120052.927appendrcv52.927Appendreev52.928S2.928S2.93552.93552.93652.936appendappendAp
11、pendAppendappendappend52.937AppendS2.938Append52.938appendrecvroevreevroevrecvreevrcvrecvreevt*tionAstation*Bstation-BStAtion-BOtAtionBStAtionBstationBstationBStAtionBstationBatationH-292byte-1460byte-8192byte-250byterea1.tfataMrea1.cUt”ra1.UtEa1.(UcUEdI(Utrea1.dtaMrca1.data*rA1.dataMra1.dataM1.atta
12、tinn-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.4264ppndncvstation=*2H17-3-2317:51:45.433Appendrcvstation-*,21.7-3-2317:51:45.434Apdrcvstation-,2017-3-2317:51:45.434Appendrcvstation,2817-3-2317:5
13、1:4S.-M7appendrcvstation2M7-3-2317:S1:4S.43?appendecustation!:,2H17-B3-2317:b1.:45.4HHAppendrccvstation-2017-83-2317:51X5.491CPPendrecstAtion“2917-63-23i?:51:45.93Appendrcvstation-21.7-93-23i?:S:v.I93aimpendrccustation“2817-0323i?:S1.:45.498Appendrccvstation-,2R17-032317:51:45.498appendrccustation-2
14、B17-323i7三51.:45.499appendrcvatation-,2A170323i?eSI445.S00appendrecvstation-i1.en8436byterea1.datao8760bytera1.datao91.en-16060byteroA1.data91.on-5840byterea1.dataoJ-1460byterea1.dataoJ-1468bytere1.datM81.en292byterva1.dAto31.en-2920byterea1.data*9J-7772byteBd1.dCtaI1.en-146bytereaIdatA4tI1.en146Wby
15、terc1.dtI1.n1S72hytnrRA1.dahIdatash0ng9u00才datah0g9u二0?1.en三1460byterM*?1.en三8192byteEa1.datk21.en三768bytZaIdat*21.en三8192bytereaIdatao21.en三16384bytera1.data21.en-14844byteea1.dat21.en8192byterea1.dat:In6S80bytr1.d6才1.en-2920bytereaIdAtao11.en14600byterea1.(Uta11.en-16384byterea1.dtaM才-6976byterc1.
16、dt”71.en-16384byterea1.datM才Un-9732bytere1.Ut1.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.en1460byterea
17、1.data* *2017-03-2317:51:4S.570appendrcustation11.en2920byterea1.datao2017-03-2317:51:45.S71AppendrcustAtion-11.en1460bytera1.datao*21.7-83*2317三S1:45.S7Sappendrcvstation-1-S84tfbyterca1.datao,2t17-83-2317三51:45.S77appendrcvotation-11.en-4380byterc1.dtAo,2817-H32317三S1:45.578appendrcvstation-1-S840b
18、ytercaIdatao* *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.)
19、主服务器瑞:负责数据接收解析处理舞InteI(R)CeIeron(R)CPU100OM1.80GHz1.80GHz安装内存(RAM):4.00GB(2.36G8可用)和穗戈32Ofi作亲统单站:负责数据上送制造范:清的方fi同方系列油处理H:InteKR)COre(TM)i5-6400CPUO2.70GHz2.71GHz已安装的内存(RAM):4.00GB系统类型:M位境作系统.STx64次理IB连接方式:有线E:soufce9oqingwisvcAComm$cfve9*eTt-exe2017-3-24H9:43:02.716IMrStAtion-M12HWHdatAthngyu=HmrmIm
20、11O17M21It,.,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
21、:43:07.783appendrcvstationBappendECUstation0PArsestation-012B0BappendPeCUtttion*01.en-2920bytere1.data1.en-6992byterea1.data*dtAiengyu*tIVe-43Hbytereeh1.cj”appendreevstation-01.en-67632byterea1.dAta,IM1.raCstation-0126BdtA3hc11vw-8”Appendrcvstation1.en-2928bytercA1.dtaappendrcvstation-U:69892byterca
22、1.data*paretationU12tMHdatashn9yuWappendrcvtCAt1.on三1.n292byter*1.dt”appendrvvttionHUn-69092byteic1IUparsestation-012M0datajhnjyu,R9:43:H8.863appndreevstationR1.n16384byte1.11-R-55628bytrt*r1.datatR9:43:A9.31f1.parsesttion-A12AAAdtashengyu-o09:43:16.103AppendreevsttiM1.en-163HiHvtcrea1.dht*09:43:10.
23、1039:43:10.3239:43:11.34409:43:11.345appendrcvstation81.on-55628byteIaOa1.daWparseotationU1208Hdataahngyu-*,AppendZCUstation=H1.en438Wbytra1.datavAppendrcvstation01.en16384byterea1.dt(09:43:11.347appendrcvstation-S1248byterea1.dataH9:43:11.84Mjm*SsttionM2HHHdatahn9yu”分析:1、传输的总数据点120002、发送端整个数据的准备时间大
24、概需要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-qtouchDc5ktopCommServerSTN
25、etEngineT1.exe201703-2410:11:12754appendrcvStation=01.ar1.=15072byte耳a1dataf2017-03-2410:11:18.817parsestation=012000datashengyu=0,20T03-2410:11:20:appendrecvStation=01.en=5402Obyterea1.data2017-03-2410:11:20.598appendrecvstation=01.en=17992byterga1.data”T2017-03-2410:11:20.817parsestation=012000dat
26、ashengyu=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.data2017-03-2410:11:22.317parsestation=012000datashengyu=02017-03-2410:11:23.942appendrecvstation=01.en=56940bytere
27、a1.data1.en=15072byterea1.datadatashengyu=_。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.817I7-03-24-fOHT2734.J1./K:11:11:27.341-72017-03-2410:11:27.81720IRK242017-03-24,2017-03-242017-03
28、-24z,2017-03-242017-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=Qarsestationg012000appendrecvstation=0appendrecvstation-0parsestation_=012000
29、appendrecvstation=飞appendrecvstation=0appendrecvstation=0parsestation=012000appendrecvstation=0appendrecvstation=0parsestation=012000appendrecvstation=0appendrecvstation=0parsestation=0120001.en=19452.bte,FeaIdatadatashengyug0111.en=554o0byterea1.data1.en=16532Dyte“rea1.data”datashengyu=0w:,u-14ibvt
30、,.re.,1,1t,.11.en=23360byterea1.data”1.en=34052byterea1.dataz,datashengyu=01.en=14600byterea1.data:1.en=57412byterea1.datadatashengyu=01.en=55480byterea1.data1.en=16532byterea1.data”datashengyu=0搜狗拼音输入法全:分析:主服务器换一台性能稍好的电脑,发送端电脑性能稍差1、传输的总数据点120002、发送端整个数据的准备时间大概需要1.5s3、数据传输过程耗时大概在2ms以内,传输的速度有明显提4、数据解
31、析的频率大概需要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可用)64fES2.00GH
32、zttSif-安存S:InteI(R)Corv(TM)i34005UCPUO1.70GHz48G8(2.S1GB可顺32GSkFftR1.TOGHZ2017-03-2410:31:44,509appendrecvstation-11.en8760byterea1.data2017-03-2410:31:44.509appendrecvstation二11.en:10220byterea1.data:2017-03-2410:31:44.509appendrecvstation=1=10220byterea1.data2017-03-2410:31:44.509appendrecvstation三11.en=8760byterea1.dataSQ9pcdxecv-station三11.g=9232byfaiqata”2017032410:31:44.525ParAstation-012000(ktaShenCyU-。”.J)】;!;R24Iftf1.t44,Sggpar-A?1.en=10220bytera1.chta*2017-03-241