《计算机网络实验4-http时延估计(共6页).docx》由会员分享,可在线阅读,更多相关《计算机网络实验4-http时延估计(共6页).docx(6页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精选优质文档-倾情为你奉上实验四1、 实验名称:http时延估计2、 实验目的:了解HTTP传输过程中的时延。 三、实验环境:运行Windows 2002/2003 Server/XP,java虚拟机,分组交换java小程序。四:实验记录: 实验开始日期:2011-11-1710:00实验结束时间:2011-11-1712:00实验地点:3603实验人:liu_chun实验条件java小程序。运行Windows 2002/2003 Server/XP。实验步骤1、基本概念:HTTP:超文本传输协议(HTTP,HyperText Transfer Protocol)是互联网上应用最为广泛的一种网
2、络协议。所有的WWW文件都必须遵守这个标准。设计HTTP最初的目的是为了提供一种发布和接收HTML页面的方法。2:熟悉实验环境,实验之前,要设定个项参数,如上图所示:实验 现象注释:Non-PC(Non-Persistent Connections)Non-PCwPC(Non-Persistent Conn w Parallel Conn)PCw/oP (Persistent Connections w/o Pipelining)PCwP(Persistent Connections w Pipelining)见下表: connection type number of parallel co
3、nnectionnumber of objectper-object transmission delay(in Rtts)TOTAL DELAY RttsNon-PC1104Non-PC1206Non-PC1308Non-PC14010Non-PC110.254.5Non-PC110.55Non-PC1116Non-PC1128Non-PC120.256.75Non-PC120.57.5Non-PC1219Non-PC12212Non-PC130.259Non-PC130.510Non-PC13112Non-PC13216Non-PC140.2511.25Non-PC140.512.5Non
4、-PC14115Non-PC14220Non-PCwPC1104Non-PCwPC110.254.5Non-PCwPC110.55Non-PCwPC1116Non-PCwPC1128Non-PCwPC1206Non-PCwPC120.256.75Non-PCwPC120.57.5Non-PCwPC1219Non-PCwPC12212Non-PCwPC1308Non-PCwPC130.259Non-PCwPC130.510Non-PCwPC13112Non-PCwPC13216Non-PCwPC14010Non-PCwPC140.2511.5Non-PCwPC140.512.5Non-PCwPC
5、14115Non-PCwPC14220Non-PCwPC2104Non-PCwPC210.254.5Non-PCwPC210.55Non-PCwPC2116Non-PCwPC2128Non-PCwPC2204Non-PCwPC220.254.5Non-PCwPC220.55Non-PCwPC2216Non-PCwPC2228Non-PCwPC2306Non-PCwPC230.256.75Non-PCwPC230.57.5Non-PCwPC2319Non-PCwPC23212Non-PCwPC2406Non-PCwPC240.256.75Non-PCwPC240.57.5Non-PCwPC241
6、9Non-PCwPC24212Non-PCwPC3104Non-PCwPC310.254.5Non-PCwPC310.55Non-PCwPC3116Non-PCwPC3128Non-PCwPC3204Non-PCwPC320.254.5Non-PCwPC320.55Non-PCwPC3216Non-PCwPC3228Non-PCwPC3304Non-PCwPC330.254.5Non-PCwPC330.55Non-PCwPC3316Non-PCwPC3328Non-PCwPC3406Non-PCwPC340.256.75Non-PCwPC340.57.5Non-PCwPC3419Non-PCw
7、PC34212Non-PCwPC4104Non-PCwPC410.254.5Non-PCwPC410.55Non-PCwPC4116Non-PCwPC4128Non-PCwPC4204Non-PCwPC420.254.5Non-PCwPC420.55Non-PCwPC4216Non-PCwPC4228Non-PCwPC4304Non-PCwPC430.254.5Non-PCwPC430.55Non-PCwPC4316Non-PCwPC4328Non-PCwPC4404Non-PCwPC440.254.5Non-PCwPC440.55Non-PCwPC4416Non-PCwPC4428PCw/o
8、P1103PCw/oP110.253.5PCw/oP110.54PCw/oP1117PCw/oP11210PCw/oP1204PCw/oP120.254.75PCw/oP120.55.5PCw/oP1217PCw/oP12210PCw/oP1305PCw/oP130.256PCw/oP130.57PCw/oP1319PCw/oP13213PCw/oP1406PCw/oP140.257.25PCw/oP140.58.5PCw/oP14111PCw/oP14216PCwP1103PCwP110.253.5PCwP110.54PCwP1115PCwP1127PCwP1203PCwP120.253.5
9、PCwP120.54PCwP1215PCwP1227PCwP1303PCwP130.253.5PCwP130.54PCwP1315PCwP1327PCwP1403PCwP140.253.5PCwP140.54PCwP1415PCwP1427五、实验结果分析1,由Non-PCwPC数据分析可得,当number of parallel connection =number of objects,the results are same.the result are follows:the object transmission delay (in Rtts)00.250.512Total delay(in Rtts)44.55682,由PCw/oP可知,number of objects 越多的同时 the object transmission delay (in Rtts) 越大,其Total delay(in Rtts)就越大,反之越小。3、 HTTP传输有不同的选择。当http连接建立之后,页面包含的对象可以选择独立或并行传输. 专心-专注-专业
限制150内