EPL324: Tutorials* on Communications and Networks Tutorial 2: Chapter 1 Review Questions

Σχετικά έγγραφα
Καθυστέρηση επεξεργασίας (processing delay) Έλεγχος επικεφαλίδας Καθορισµός εξερχόµενης ζεύξης 3

the total number of electrons passing through the lamp.

How do loss and delay occur?

Άσκηση 1. (σημειώστε πως 1KB = 2 10 bytes, 1Mbps = 10 6 bits/sec).

2 Composition. Invertible Mappings

(C) 2010 Pearson Education, Inc. All rights reserved.

4.6 Autoregressive Moving Average Model ARMA(1,1)

ΕΑΠ/ΠΛΗ22/ΑΘΗ.3. Έκτακτη ΟΣΣ 31/05/2014. Νίκος Δημητρίου.

Χρήση βασικών εργαλείων συλλογής πληροφοριών για τη διαμόρφωση και την κατάσταση λειτουργίας του δικτύου

Internet protocol stack Encapsulation Connection oriented VS connectionless services Circuit Switching Packet Switching Store-and-forward switches

Calculating the propagation delay of coaxial cable

ST5224: Advanced Statistical Theory II

HY-335 : Δίκτυα Υπολογιστών

Special edition of the Technical Chamber of Greece on Video Conference Services on the Internet, 2000 NUTWBCAM

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Εργαστήριο ίκτυα Η/Υ ΙΙΙ

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Οι Διαδικτυακές ανάγκες μιας εταιρείας σε διευθύνσεις IPv4, έχουν ως εξής: Τμήμα Διοίκησης Προσωπικού & Οικονομικών Σύνολο απαιτούμενων διευθύνσεων

Επίπεδο Μεταφοράς. (ανεβαίνουμε προς τα πάνω) Εργαστήριο Δικτύων Υπολογιστών Τμήμα Μηχανικών Η/Υ και Πληροφορικής

Section 7.6 Double and Half Angle Formulas

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

Επίπεδο δικτύου IP Forwading κτλ

Ευρυζωνικά δίκτυα (2) Αγγελική Αλεξίου

Areas and Lengths in Polar Coordinates

If we restrict the domain of y = sin x to [ π, π ], the restrict function. y = sin x, π 2 x π 2

If we restrict the domain of y = sin x to [ π 2, π 2

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Matrices and Determinants

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

Homework 3 Solutions

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Areas and Lengths in Polar Coordinates

ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΗΛΕΚΤΡΟΝΙΚΕΣ ΥΠΗΡΕΣΙΕΣ

CRASH COURSE IN PRECALCULUS

ΕΑΠ/ΠΛΗ22/ΑΘΗ.4. Έκτακτη ΟΣΣ 31/05/2015. Νίκος Δημητρίου.

Δίκτυα Επικοινωνιών ΙΙ: OSPF Configuration

Fractional Colorings and Zykov Products of graphs

ΕΑΠ/ΠΛΗ22/ΑΘΗ.3 4 η ΟΣΣ 15/03/2014 Συμπληρωματικές Διαφάνειες

Solutions to Exercise Sheet 5

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Section 8.3 Trigonometric Equations

Introduction to the TCP IP protocol stack through a role playing game

Δίκτυα Επικοινωνίας Υπολογιστών Ενότητα 3: Εισαγωγή. Μιχαήλ Λογοθέτης Πολυτεχνική Σχολή Τμήμα Ηλεκτρολόγων Μηχανικών και Τεχνολογίας Υπολογιστών

ίκτυα Επικοινωνίας Υπολογιστών

TMA4115 Matematikk 3

ΒΕΣ 04: Συµπίεση και Μετάδοση Πολυµέσων. Βίντεο (Video) Περιεχόµενα. Βιβλιογραφία. Καγιάφας [2000]: Κεφάλαιο 5, [link]

Υπολογιστές και ίκτυα Η/Υ.

Review Test 3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

ιαδικτυακές Εφαρµογές

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Διάρκεια μιας Ομολογίας (Duration) Ανοσοποίηση (Immunization)

EE512: Error Control Coding

Περιεχόμενα. Κεφάλαιο 1 Εισαγωγή σε Έννοιες των Δικτύων Υπολογιστών Κεφάλαιο 2 Αξιοπιστία Κεφάλαιο 3 Αλγόριθμοι Πολλαπλής Πρόσβασης...

ECON 381 SC ASSIGNMENT 2

Srednicki Chapter 55

[1] P Q. Fig. 3.1

Modbus basic setup notes for IO-Link AL1xxx Master Block

CHAPTER 12: PERIMETER, AREA, CIRCUMFERENCE, AND 12.1 INTRODUCTION TO GEOMETRIC 12.2 PERIMETER: SQUARES, RECTANGLES,

derivation of the Laplacian from rectangular to spherical coordinates

The challenges of non-stable predicates

( y) Partial Differential Equations

C.S. 430 Assignment 6, Sample Solutions

ΗΜΥ 360: Δίκτυα Υπολογιστών. Εισαγωγή

The Simply Typed Lambda Calculus

Finite Field Problems: Solutions

Block Ciphers Modes. Ramki Thurimella

Δίκτυα Δακτυλίου. Token Ring - Polling

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Στρατηγικές Ασφάλειας

Written Examination. Antennas and Propagation (AA ) April 26, 2017.

Homework 8 Model Solution Section

Δίκτυα Υπολογιστών. Δίκτυα υπολογιστών και το Διαδίκτυο Επιδόσεις. Κ. Βασιλάκης

MathCity.org Merging man and maths

Assalamu `alaikum wr. wb.

Επίπεδο δικτύου IP διευθυνσιοδότηση

ΗΜΥ 220: ΣΗΜΑΤΑ ΚΑΙ ΣΥΣΤΗΜΑΤΑ Ι Ακαδημαϊκό έτος Εαρινό Εξάμηνο Κατ οίκον εργασία αρ. 2

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Capacitors - Capacitance, Charge and Potential Difference

Χρόνοι Μετάδοσης και Διάδοσης

Math 6 SL Probability Distributions Practice Test Mark Scheme

Καθυστέρηση σε δίκτυα μεταγωγής πακέτων. ΗΥ335 Φροντιστήριο 3

Δίκτυα και Internet στο επιχειρηµατικό περιβάλον

Άσκηση Διάλεξης 5. Router. Δεδομένα: Οι ζεύξεις ειναι τεχνολογίας ενσύρματου Ethernet των 10 Mbps και 100 Mbps αντίστοιχα.

Δίκτυα Υπολογιστών. Δίκτυα υπολογιστών και το Διαδίκτυο Επιδόσεις. Κ. Βασιλάκης

Notes on the Open Economy

D Alembert s Solution to the Wave Equation

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Other Test Constructions: Likelihood Ratio & Bayes Tests

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Inverse trigonometric functions & General Solution of Trigonometric Equations

Volume of a Cuboid. Volume = length x breadth x height. V = l x b x h. The formula for the volume of a cuboid is

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Υλοποίηση Δικτυακών Υποδομών και Υπηρεσιών: OSPF Cost

Κεφάλαιο 2. Υπολογιστές και Τεχνολογία Επικοινωνιών Παρελθόν - Παρόν - Μέλλον

6.003: Signals and Systems. Modulation

Lecture 2. Soundness and completeness of propositional logic

Transcript:

EPL324: Tutorials* on Communications and Networks Tutorial 2: Chapter 1 Review Questions Pavlos Antoniou University of Cyprus Department of Computer Science * The material is taken from J.F. Kurose & K.W. Ross, Computer Networking: A Top-Down Approach Featuring the Internet, 4 th Edition.

Conversion formulas Data rate units (measure of link bandwidth) 1 kbps (kilobit per second) 1,000 bits per second 1 Mbps (megabit per second) 1,000,000 bits per second 1 Gbps (gigabit per second) 1,000,000,000 bits per second Data units (measure of packet length) 1 byte 8 bits 1 kb (kilobyte) 2 10 bytes 1024 bytes 8192 bits 1 MB (megabyte) 2 20 bytes 1048576 bytes 8388608 bits 1 GB (gigabyte) 2 30 bytes 8* 2 30 bits 2

Book Problems P5 (page 70) Two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters, and that the propagation speed is s m/s. Host A is to send a packet of size L bits to host B. Express the propagation delay, d prop, in terms of m and s. Determine the transmission time of the packet, d trans, in terms of L and R. Obtain an expression for the end-to-end delay (ignore queuing and processing delays). Suppose A begins to transmit the packet at time t0. At time td trans, where is the last bit of the packet? Suppose d prop is greater than d trans. At time td trans, where is the first bit of the packet? Suppose dprop is less than d trans. At time td trans, where is the first bit of the packet? Suppose s2.5 10 8 m/s, L100 bits, and R28kbps. Find the distance m so that d prop equals d trans. 3

Book Problems P9 (page 71) Consider two hosts, A and B, separated by three links. These three links are connected by two packet switches. Let di, si, and Ri denote the length, propagation speed, and the transmission rate of link i, for i 1, 2, 3. Each packet switch introduces a constant processing delay of dproc for each packet. Consider sending a packet of length L from A to B. a. Assuming no queueing delays, what is the total end-to-end delay for the packet, in terms of di, si, and Ri (i 1, 2, 3), L and d proc? Suppose now the packet consists of 1500 bytes, the propagation speed on all three links is 2.5 x 10 8 m/s, the transmission rate of all three links are 2 Mbps, the packet switch processing delay is 3 msec, the length of the first link is 5000 km, the length of the second link is 4000 km and the length of the last link is 1000km. For these values, what is the end to end delay? Assume that 1 Mbps 1000 Kbps 1000000 bps. 4

Book Problems P24 (page 74) In modern packet-switched networks, the source host segments long, application-layer messages (for example, an image or a music file) into smaller packets and sends the packets into the network. The receiver then reassembles the packets back into the original message. We refer to this process as message segmentation. Figure 1.24 illustrates the end-to-end transport of a message with and without message segmentation. Consider a message that is 7.510 6 bits long that is to be sent from source to destination in Figure 1.24. Suppose each link in the figure is 1.5Mbps. Ignore propagation, queuing, and processing delays. 5

Book Problems P24 (page 74) Consider sending the message from source to destination without message segmentation. How long does it take to move the message from the source host to the first packet switch? Keeping in mind that each switch uses store-and-forward packet switching, what is the total time to move the message from source host to destination host? Now suppose that the message is segmented into 5,000 packets, with each packet being 1,500 bits long. How long does it take to move the first packet from source host to the first switch? When the first packet is being sent from the first switch to the second switch, the second packet is being sent from the source host to the first switch. At what time will the second packet be fully received at the first switch? How long does it take to move the file from source host to destination host when message segmentation is used/ Compare this result with your answer in part (a) and comment. Discuss the drawbacks of message segmentation. 6

Example 1 Question Πόσο εύρος ζώνης (bandwidth) πρέπει να έχει η ζεύξη μεταξύ ενός κόμβου-πελάτη (client) και ενός εξυπηρετητή (server) για να κατεβάσει ο client εικόνα L5ΜΒ από τον στον server σε 2 δευτερόλεπτα? Η απόσταση μεταξύ των 2 κόμβων είναι D10.000 km. H γραμμή μεταφοράς έχει ταχύτητα διάδοσης s2.5x10 8 m/s. Υποθέστε ότι η καθυστέρηση επεξεργασίας και ουράς (processing, queueing delay) είναι αμελητέες. Solution D L End_to_end delay d + d + 2sec prop 20 L 5 8 2 bits R 21. 4Mbps D 2 0.04 2 s Client Server 5MB transm s R 7

Example 2 Question Client Server Πόσο χρόνο χρειάζεται ο κόμβος-πελάτης (client) για να κατεβάσει από τον εξυπηρετητή video (video server) ασυμπίεστο High Definition Video (HDV) διάρκειας 2 λεπτών? Το video έχει τα εξής χαρακτηριστικά: 30 frames per second, 1920 x 1080 pixels/frame, και 24 bits/pixel. Η απόσταση μεταξύ των 2 κόμβων είναι 5 km. H οπτική ίνα που συνδέει τους 2 κόμβους έχει ταχύτητα διάδοσης 3x10 8 m/s και εύρος ζώνης 50 Gbps. Υποθέστε ότι η καθυστέρηση επεξεργασίας και ουράς (processing, queueing delay) είναι αμελητέες. Αν αντί οπτική ίνα είχαμε καλώδιο ethernet με εύρος ζώνης 100 Mbps και ταχύτητα διάδοσης 2.5x10 8 m/s πως αλλάζει ο χρόνος? 8

Solution 1 frame has 1920 x 1080 pixels 2.073.600 pixels/frame 30 frames per sec x 2.073.600 pixels/frame 62.208.000 pixels per second 24 bits per pixel x 62.208.000 pixels per second 1.492.992.000 bits per second 2 x 60 secs x 1.492.992.000 179.159.040.000 bits 179GBits για 120 δευτερόλεπτα ασυμπίεστου HDV End_to_end delay d prop + d transm D s + L R 9 5000 179 10 + 0.0000166 + 3.58 8 9 3 10 50 10 3.58sec 9

Solution Αν αντί οπτική ίνα είχαμε καλώδιο ethernet με εύρος ζώνης 100 Mbps πως αλλάζει ο χρόνος? d prop + d transm D s + L R 9 5000 179 10 + 0.00002 + 1790 8 6 2.5 10 100 10 30min > η καθυστέρηση διάδοσης είναι αμελητέα 10