d t Thus, L R ECS 152A Computer Networks Fall 2002 HW 7 Solutions



Similar documents
Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Performance Evaluation of Multiple IEEE b WLAN Stations in the Presence of Bluetooth Radio Interference

Performance of Multiple TFRC in Heterogeneous Wireless Networks

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

EXAMPLES AND PROBLEMS. Competence Based Education Internet Protocols

Control of Wireless Networks with Flow Level Dynamics under Constant Time Scheduling

RTT 60.5 msec receiver window size: 32 KB

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

MECH Statics & Dynamics

Internet Packets. Forwarding Datagrams

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Performance Evaluation and Delay Modelling of VoIP Traffic over Wireless Mesh Network

Senior Thesis. Horse Play. Optimal Wagers and the Kelly Criterion. Author: Courtney Kempton. Supervisor: Professor Jim Morrow

DISTRIBUTED DATA PARALLEL TECHNIQUES FOR CONTENT-MATCHING INTRUSION DETECTION SYSTEMS. G. Chapman J. Cleese E. Idle

Final for ECE374 05/06/13 Solution!!

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

New protocol concept for wireless MIDI connections via Bluetooth

Network Layer: Network Layer and IP Protocol

Introduction to Ethernet

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

DISTRIBUTED DATA PARALLEL TECHNIQUES FOR CONTENT-MATCHING INTRUSION DETECTION SYSTEMS

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

MSc Financial Economics: International Finance. Bubbles in the Foreign Exchange Market. Anne Sibert. Revised Spring Contents

Ohm s Law. Ohmic relationship V=IR. Electric Power. Non Ohmic devises. Schematic representation. Electric Power

Solutions to the Sample Questions on Introduction

Mobile Network Configuration for Large-scale Multimedia Delivery on a Single WLAN

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

Tutorial.

a. CSMA/CD is a random-access protocol. b. Polling is a controlled-access protocol. c. TDMA is a channelization protocol.

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

Architecture and Performance of the Internet

CSE3214 Computer Network Protocols and Applications. Chapter 1 Examples and Homework Problems

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

CS640: Introduction to Computer Networks. Applications FTP: The File Transfer Protocol

Distributed Monitoring and Aggregation in Wireless Sensor Networks

Demystifying Wireless for Real-World Measurement Applications

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Answer: that dprop equals dtrans. seconds. a) d prop. b) d trans

Controlled Random Access Methods

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

First Midterm for ECE374 03/24/11 Solution!!

Apigee Edge: Apigee Cloud vs. Private Cloud. Evaluating deployment models for API management

AE64 TELECOMMUNICATION SWITCHING SYSTEMS

CS268 Exam Solutions. 1) End-to-End (20 pts)

Router Architectures

v = x t = x 2 x 1 t 2 t 1 The average speed of the particle is absolute value of the average velocity and is given Distance travelled t

First Midterm for ECE374 03/09/12 Solution!!

ECE 358: Computer Networks. Homework #3. Chapter 5 and 6 Review Questions 1

Chapter 30: Magnetic Fields Due to Currents

Operating Systems and Networks Sample Solution 1

Network Performance Optimisation and Load Balancing. Wulf Thannhaeuser

D-Link DES-1024D 24-Port 10/100Mbps Ethernet Switch. Manual

Question: 3 When using Application Intelligence, Server Time may be defined as.

Based on Computer Networking, 4 th Edition by Kurose and Ross

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Mobile Communications Exercise: Satellite Systems and Wireless LANs. Georg von Zengen, IBR, TU Braunschweig,

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

RouteBricks: A Fast, Software- Based, Distributed IP Router

11/22/

OpenFlow Switching: Data Plane Performance

Physics 111. Exam #1. January 24, 2014

Section 2.2 Arc Length and Sector Area. Arc Length. Definition. Note:

Computer Networks CS321

RAID Performance Analysis

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Network Categories. Network Types for the Local Range. Ethernet

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

ECE/CS 372 introduction to computer networks. Lecture 2. Midterm scheduled for Tuesday, May 7 th

RARP: Reverse Address Resolution Protocol

σ m using Equation 8.1 given that σ

The OSI Model and the TCP/IP Protocol Suite

Exam 1 Review Questions

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Virtual LANs. or Raj Jain

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

Assessment of Traffic Prioritization in Switched Local Area Networks Carrying Multimedia Traffic

MLPPP Deployment Using the PA-MC-T3-EC and PA-MC-2T3-EC

Computer Networks Homework 1

12.4 Problems. Excerpt from "Introduction to Geometry" 2014 AoPS Inc. Copyrighted Material CHAPTER 12. CIRCLES AND ANGLES

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

Ethernet, VLAN, Ethernet Carrier Grade

Performance Analysis of Switches in High Speed LAN

Performance of STAR-System

Video Streaming with Network Coding

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Transcription:

ECS 52A Computer Network Fall 2002 HW 7 Solution. (5 pt) Conider four tation that are attached to two different bu cable. The tation exchange fixed-ize packet of length ec. Time i divided into lot of ec. When a tation ha a packet to tranmit, the tation chooe either bu with equal probability and tranmit at the beginning of the next lot with probability p. Find the value of p that imize the rate at which packet are uccefully tranmitted. To imize the ucceful tranmiion rate i to imize the probability of ucceful tranmiion. Pr{Succe} (# tation) x Pr{one tation tranmit on one bu and at the next lot} x Pr{no other tation tranmit on the ame bu and at the next lot} 4 (½ p) (- ½ p) 3 2p ( - ½ p) 3 Take the derivative with repect to p and et it to 0: d/dp 2 ( - ½ p) 3 - (3p)( - ½ p) 2 0 p ½ 2. (20 pt.) M terminal are attached by a dedicated pair of line to a hub in a tar topology. The ditance from each terminal to the hub i d meter, the peed of the tranmiion line i bit/econd, all packet are of length 2500 byte, and the ignal propagate on the line at a peed of 2.5x0 meter/econd. For the four combination of the following parameter (d 25 meter or d 2500 meter; 0 Mbit/ or 0 Gbit/), compare the imum network throughput achievable when the hub i implementing: Slotted AOHA; CSMA/CD. 2500byte *2500bit 00,000bit d t prop 2.5x0 meter / Thu, x] time to tranfer packet 00,000bit (Continued on next page )

2 cont.) Slotted Aloha: We know that the imum throughput i imply /e (0.37) percent of the idealized throughput (ee p.35), the actual value can be found by: bit / / e * z packet / bit / packet Note that thee value below are percentage of the ideal throughput. Ditance ate 25 meter 2500 meter 0 Mbit/ 0.37 0.37 0 Gbit/ 0.37 0.37 CSMA/CD: From the derivation (p. 34) we know that the imum throughput for CSMA/CD i: t prop d / v d D ; where a + + ) a ]/ v ] v ] + + ) d / v ] 5 + + ) d /(2.5x0 m / *0 bit / ) Note that thee value below are percentage of the ideal throughput. Ditance ate 25 meter 2500 meter 0 Mbit/ 0.999935 0.99305 0 Gbit/ 0.939527 0.3447

3. (20 pt.) Conider the tar-topology network in #2 when the -ring protocol i ued for medium acce control. Aume ingle-packet operation, eight-bit latency at each tation, M 25 tation. Aume a free i three byte long. (a) Find the effective packet tranmiion time for the four combination of d and. Given: M b v packet 25 bit 2. 5x0 3 byte 24bit 5 2, 500 byte 0 bit m / The ditance from each terminal to the hub i d meter, aume the ditance traveled inide the hub i 0. The total ditance around the ring i then M*2*d. X eff tranmiion time + packet tranmiion time + ring latency packet M 2d Mb packet 2d b + + + + + M + v v (b)aume that each tation can tranmit up to a imum of k packet per. Find the imum network throughput for the four cae of d and. The imum throughput occur when all tation tranmit k packet per. After completing the tranmiion of k packet, each tation then tranmit a free into the ring. On pg 375 we re given for ingle packet per ecall that X] ]/. M * M ( + τ ') + τ ' MB ; τ ' τ + ; + a' ( + / M ) a' τ ' However, in thi cenario, we re trying to end k packet per. Thi can be thought of a ending a ingle packet of ize: k*]. Thu: for k packet per M * k * ; M ( k * + X + τ ') + τ ' 2d τ ' M + v b

3 cont.) i) d 25m; 0Mbit/ 0x0 bit/ M 25; X] * 2500bit/ 0x0 bit/ 0.0 X *3bit /0x0 bit / 2.4x0 2* 25m bit τ ' 25* + 0.00025 25 µ 2.5x0 m / 0x0 bit / 25* k * 0.0 25* ( k *0.0 + 2.4µ + 25µ ) + 25µ + 0.0003 + 0.525 + 25µ + 0.05 9% Similarly, we can find for the other value of d and : ii) d 25m, 0Gbit/ 0x0 9 bit/ 2% iii) d 2500m, 0Mbit/ 0x0 bit/ 79% iv) d 2500m, 0Gbit/ 0x0 9 bit/ 0.40% 4. (5 pt.) Suppoe that a group of 32 tation i erviced by a -ring AN. Suppoe packet i 000 bit long. The data rate of the link i 0 Mbp. There i a 2.5-bit latency per adapter. Each tation i 50 meter apart. Calculate the time it take to tranfer a packet uing the three reinertion trategie: after completion of tranmiion, after return of, and after return of packet. M 32 v 2 x 0 m/ ize of packet 000 bit b latency per adapter 2.5 bit-time einertion after completion of tranmiion: 2.4µ Aume the tranmiion time i mall and can be ignored. The one-hop walk time i for paing the to the next tation. X eff packet tranmiion time + one hop walk time / + (d/v +b/) 00.5 µec

einertion after return of : X eff {packet tranmiion time, ring latency} + one hop walk time {/, τ } + (d/v + b/) X eff 0 µec τ M(d/v + b/) einertion after return of packet: X eff packet tranmiion time + ring latency + one hop walk time (/) + M(d/v + b/) + (d/v + b/) 7 µec 5. (30 pt.) A meage of ize m i to be tranmitted over an -hop path in a tore-and-forward packet network a a erie of N conecutive packet, each containing k data bit and h header bit. Aume that m >> k + h. The bit rate of each link i bit/econd. Propagation delay and queuing delay are negligible. (a) (5) What i the total number of bit that mut be tranmitted? Total number of bit ent all data bit + all header bit N (k + h) (b) (5) What i the total delay experienced by the meage (i.e. the time between the firt tranmitted bit at the ender and the lat received bit at the receiver)? Uing pipelining, when the t packet arrive, there are N- packet left to be ent. The 2 nd packet will be at the next to lat router. The 3 rd packet will be at the router before where the 2 nd packet i at, and o on. The 2 nd packet take more hop to arrive at the detination, and everything after the 2 nd packet advance more hop, and o on. Total time (time to end packet via hop) + (time to end N- packet through hop) [()(k+h)/] + [(N-)(k+h)/] (c) (0) What value of k minimize the total delay? From part (b), we have delay D [()(k+h)/] + [(N-)(k+h)/] We know N m/k, o D [()(k+h)/] + [(m/k - )(k+h)/] Take the derivative of D with repect to k, then et it to 0. And then olve for k. The k that minimize the delay would be: Mh k