subject
Engineering, 15.11.2019 05:31 amy20021

Anetwork engineer needs to make a decision as of where to do error handling, in the data link layer at frame level or in the tcp layer at packet level. in most of the error handling protocols, when there is an error, it has to re-transmit the frame or the packet respectively. in general there are multiple frames in a packet and it costs more to re-transmit a packet than a frame. on the other hand, the overhead cost for initiating error checking is higher for multiple frames than the cost of a single packet, since there is more than one frame within a packet. given a physical link with certain quality measurement, p < 1, as the probability of error for a frame, by common sense concerns, in what case you would like to do error handling at the data link layer or at the tcp layer? (you need to justify your decision in best (case where almost p=0) and worst case (where almost p=1) scenarios with respect to the quality of physical layer. 2. given the following error handling protocol configuration and specification as a case#1 study example: p = 0.1 error rate of a frame (probability of frame error) cf = 10¢ cost of transmitting a frame (without error checking) ef = 1.2¢ cost of error checking for a frame at data layer. packet size 10 frames/packet cp = 100¢ cost of transmitting a packet (without error checking) ep = 10¢ cost of error checking for a packet at tcp layer. to simplify the problem, we assume (1) each frame can fail with probability of frame error, p, independently from each other. (2) all frame have the same probability of frame error, p. answer the question below using quantitative analysis with supporting data (must show your processes how you derive these data). a. what is the average cost of sending a packet if it does error checking at the data link layer? b. what is the average cost of sending a packet if it does error checking at the tcp layer? c. in this case, where do you think the error checking should be done? 3. re-examine the case#2 with the following data, p = 0.001 error rate of a frame (probability of frame error) cf = 10¢ cost of transmitting a frame (without error checking) ef = 1.2¢ cost of error checking for a frame at data layer. packet size 10 frames/packet cp = 100¢ cost of transmitting a packet (without error checking) ep = 10¢ cost of error checking for a packet at tcp layer. answer the same question below with supporting data (mush show your processes how you derive these data). a. what is the average cost of sending a packet if it does error checking at the data link layer? b. what is the average cost of sending a packet if it does error checking at the network layer? c. in this case, where do you think the error checking should be done? problem b write a computer program to simulate the cases in problem a.2 and a.3 (using the same data set in a.2 and a.3). your program should simulate sending 100 packets and produce the following simulation data for problem a.2 and program a.3. 1. the average cost of sending a packet if error handling is done at data layer. 2. the average cost of sending a packet if error handling is done at tcp layer. you should compare you simulation results with your answers for both problem a.2 and problem a.3 and try to explain the differences if there are any. does your simulation data support your decisions made previously in part a? hits: • you can use any program language as you wish. • you can use a random number generator to generate a random number x in [0, 1] to simulate the outcome of sending a frame (failure or success). if x < = p (the probability of frame error) then it is a failure, otherwise it is a success. • to get the average cost of sending a packet for error handling at data layer, you need to track the average cost of sending a frame then multiply it by 10. then you need to get the average cost of sending a packet over 100 packets. • to get the average cost of sending a packet for error handling at the tcp layer, you need to track the average number of send/resend a packet (remember if one or more fame failed, the packet failed and the packet needs to be resent). data sets for the project project deliverables • simulation program design and program source code. • simulation data set. • project report (a ms word document) shows you analysis about problem a and supporting data, simulation data analysis in problem b, and comparison analysis about the results you get for problem a and problem b. you can use tables and charts to show your analysis results.

ansver
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, Fahaddie
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
image
Engineering, 04.07.2019 18:10, ayoismeisjjjjuan
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
image
Engineering, 04.07.2019 18:10, demarcuswiseman
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
image
Engineering, 04.07.2019 18:10, tobyhollingsworth178
Which from the following instrument is commonly used to detect the high pitch butzing sound in bearings? [clo4] a)-digital ultrasonic meter b)-infrared camera c)-spectroscopic d)-vibrometer
Answers: 2
You know the right answer?
Anetwork engineer needs to make a decision as of where to do error handling, in the data link layer...

Questions in other subjects:

Konu
Mathematics, 05.05.2020 09:28