final project routing n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Final Project-Routing PowerPoint Presentation
Download Presentation
Final Project-Routing

Loading in 2 Seconds...

play fullscreen
1 / 15

Final Project-Routing - PowerPoint PPT Presentation


  • 131 Views
  • Uploaded on

Final Project-Routing. 698430033 張宜鴦. 3 type routing policy. Static Routing Session Routing Dynamic Routing. 利用記錄檔寫程式分析 throughput 、 packet delay 、 jitter 、 packet loss rate ,並比較三種 routing policy 的值. Want to do. Scenario. At 0.1s 0->4 At 0.3s 1->4 At 0.5s 0->4 down At 0.9s 0->1 down

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Final Project-Routing' - zephania-benson


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
final project routing

Final Project-Routing

698430033

張宜鴦

3 type routing policy
3 type routing policy
  • Static Routing
  • Session Routing
  • Dynamic Routing
want to do
利用記錄檔寫程式分析throughput、packet delay、jitter、packet loss rate,並比較三種routing policy的值Want to do
scenario
Scenario
  • At 0.1s 0->4
  • At 0.3s 1->4
  • At 0.5s 0->4 down
  • At 0.9s 0->1 down
  • At 1s 0->4 up
awk end to end delay
Awk程式(End-to-End delay)
  • 記錄封包的傳送時間->記錄flow_id的接收時間->

當資料列全部讀取完後,開始計算有效封包的點到端點延遲時間

    • start = start_time[packet_id];
    • end = end_time[packet_id];
    • packet_duration = end - start
awk jitter
Awk程式(jitter)
  • Packet_duration的部份與 End-to-end delay相同
  • ->只把接收時間大於傳送時間的記錄列出來

得到了delay值(packet_duration)後計算jitter

seqno_diff = pkt_seqno[packet_id] - last_seqno;

delay_diff = packet_duration - last_delay;

if (seqno_diff == 0) {

jitter =0;

} else {

jitter = delay_diff/seqno_diff;

}

awk throughput
Awk程式(throughput)
  • if(action=="r" && to==4 && flow_id==0) {

pkt_byte_sum[i+1]=pkt_byte_sum[i]+ pktsize;

. . .}

th = pkt_byte_sum[j] / (end_time[j]-start_time)*8/1000;

printf("%.2f\t%.2f\n", end_time[j], th);