中央大学对外连线状况.ppt

上传人:牧羊曲112 文档编号:5166422 上传时间:2023-06-10 格式:PPT 页数:35 大小:1.53MB
返回 下载 相关 举报
中央大学对外连线状况.ppt_第1页
第1页 / 共35页
中央大学对外连线状况.ppt_第2页
第2页 / 共35页
中央大学对外连线状况.ppt_第3页
第3页 / 共35页
中央大学对外连线状况.ppt_第4页
第4页 / 共35页
中央大学对外连线状况.ppt_第5页
第5页 / 共35页
点击查看更多>>
资源描述

《中央大学对外连线状况.ppt》由会员分享,可在线阅读,更多相关《中央大学对外连线状况.ppt(35页珍藏版)》请在三一办公上搜索。

1、1,中央大學對外連線狀況,Nov 2007,2,中央大學對外連線,目的建設足夠的網路頻寬提升中央大學連接國內/國外網路效能能與國內學術網路快速連線能與國內商業網路快速連線能與國外學術團體快速連線能與國外商業網路快速連線包括 IEEE 論文查詢,論文資料庫連線,3,中央大學對外連線(cont.),目前對外連線概況TANET 連線連接國內大專院校,高中職,國中小學.連接國外線路(2.5 G bps,呈嚴重壅塞)TWAREN連線連接國內大專院校,研究單位共用國外 Ineternet 2 連線(學術單位)台聯大互連與國外線路中央,交通,清華,陽明4 校互連網路國外專線(1.6G bps,提供良好研究資

2、料下載與交流)Hinet 互連快速連接國內商業網路,4,5,中央大學對外連線(cont.),6,中央大學對外連線(cont.),國外連線延遲中央大學 台聯大出國O(104)mini-seconds桃園區網 TANET出國共用線路O(106)mini-seconds,NCU Campus-台聯大 出國專線 1001Tue=11942,=844,=11351002Tue=12320,=901,=1153TYC Campus-桃園區網-TANET 出國專線 1001Mon=1850397,=1569,=17311002Tue=2481171,=1555,=2347,7,桃園區網路技術研討會台聯大出國

3、線路效能評估,中央大學電算中心 楊素秋2007年 11月 23日,8,報告大綱,1.研究動機2.主要連外 Trunk 流量的變化3.國外網站檔案擷取延遲的變化4.子程式功能 5.結語,9,1.研究動機,台聯大出國線路Cost 2 million per yearPerformanceTrunk Traffic Statistics(MRTG圖)Ping(RTT値)部分 firewall 不允許 ping trafficUser Sensitive Traffic StatisticsDelay for fetching png or pdf fileCisco,hp,3com,ubuntu*,

4、10,2.主要連外 Trunk 流量,校園core router7609接台聯大出國線路流量中央大學到桃園區網流量桃園區網到TANET骨幹流量,11,校園core router接台聯大線路流量,12,中央大學到桃園區網流量,13,桃園區網到TANET骨幹流量,14,2.主要連外 Trunk 流量(cont.),TANET出國流量變化台聯大出國流量變化,15,TANET出國流量變化,16,台聯大出國流量變化,17,3.國外網站檔案擷取延遲,效能比較網頁:http:/NCU_Llink CollectorTYC_Link 163.25.254.7,18,3.國外網站檔案擷取延遲(cont.),20

5、07-Aug&2007-Sep8/178/31,9/19/302007-Oct10/3(NCTU_DORM斷線)10/9(NCTU_DORM復線)10/15(TWGATE 修正routing path)10/16 10/31,19,20,21,22,23,24,4.子程式功能,delay2.javaget()main()wget_stat.shcrontabCall delay2 routinely,25,public void get(String theUrl,String filename)throws IOException theUrl_name=theUrl;try URL got

6、oUrl=new URL(theUrl);InputStreamReader isr=new InputStreamReader(gotoUrl.openStream();BufferedReader in=new BufferedReader(isr);StringBuffer sb=new StringBuffer();String inputLine;boolean isFirst=true;/grab the contents at the URL while(inputLine=in.readLine()!=null)sb.append(inputLine+rn);/write it

7、 locally createAFile(filename,sb.toString();catch(MalformedURLException mue)mue.printStackTrace();catch(IOException ioe)throw ioe;,26,public static void main(String args)Date date=new Date();SimpleDateFormat day=new SimpleDateFormat(MMdd);SimpleDateFormat df=new SimpleDateFormat(MMddHH);/System.out.

8、println(df.format(date);String day_file=day.format(date);String cur_hour=df.format(date);String filename=/home/Ncu_Link/+day_file;try BufferedWriter out=new BufferedWriter(new FileWriter(filename,true);out.write(n Hour+cur_hour);long elapsedtime=System.currentTimeMillis();out.write(n From+elapsedtim

9、e+msec.|);delay2 httpGetter=new delay2();httpGetter.get(args0,args1);out.write(n To+elapsedtime+msec.|);elapsedtime=System.currentTimeMillis()-elapsedtime;out.write(n It takes+elapsedtime+msec.+theUrl_name+n);out.close();catch(Exception ex)ex.printStackTrace();,27,#!/bin/csh-fsetenv CLASSPATH.set ba

10、tch_homeset flist=/bin/ls$batch_home/lib/*.jarforeach name($flist)setenv CLASSPATH$CLASSPATH:$nameendcd$batch_homejava delay2 http:/ba_partnerLocato_blue.jpg cisco.jpgprimary_smb_msg_730.jpg hp.jpg-001.pdf 3com.pdfg ubuntu.png,28,Date 111900 It takes 922 _partnerLocato_blue.jpgimary_smb_msg_730.jpg0

11、01.pdfDate 111904 It takes 1079 _partnerLocato_blue.jpgmary_smb_msg_730.jpg,29,4.子程式功能(cont.),LinkPerf.javaExtract the data recorded per 4 hours periodAggregate the mean delay(msec)Output to another file,30,1101Thu=774,=13443,=800,=11151102Fri=847,=12825,=815,=10251103Sat=1074,=13578,=853,=12251104S

12、un=672,=15053,=821,=10711105Mon=824,=13240,=837,=1065,31,4.子程式功能(cont.),Browse.jspOffer user to monitoring the aggregate data recordsTimes_01.jspDraw the time-series graph according to the aggregate data recordsCall jfreechart libraries,32,33,5.結語,Tyc_Link/Ncu_Link國外連線效能分析 使用 JAVA/JSP 語言(1)進度緩慢,卻能初體驗JAVA population&resources的強大.(2)雖然JAVA,JSP都K 過,但沒有太多概念.步步驗證使用 Socket,File,regex(pattern,match,scanner)實做小小的功能,很有趣.,34,5.結語(cont.),使用 Jfreechart Time seriese chartBar chartPie chart能動態地,圖型化地呈現量測數據,35,Thank You!,

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号