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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 19:20
To save energy, the air supply to a 2000 ft office has been shut off overnight and the room temperature has dropped to 40°f. in the morning, the thermostat is reset to 70°f and warm air at 120 f begins to flov in at 200ft'/min. the air is well mixed within the room, and an equal mass flow of air at room temperature (changing with time) is withdrawn through a return duct. the air pressure is nearly 1 atm everywhere. ignoring heat transfer with the surroundings and kinetic and potential energy effects, estimate how long it takes for the room temperature to reach 70°f. plot the room temperature as a function of time.
Answers: 1
question
Engineering, 06.07.2019 02:30
1in2 processor chip can be modelled as an isothermal plane wall of silicon, isothermal on both sides. the power input to the bottom of the plane wall, or the processing power of the chip, often called the thermal design power (tdp), is 100w. assume the periphery is adiabatic. the silicon is 400 microns thick. the temperature at the junction, or in this case on the bottom of the isothermal plane wall, is 85°c. what is the top surface temperature, assuming that the only mode of heat transfer is conduction
Answers: 1
question
Engineering, 06.07.2019 03:10
An electrical kettle is made out of stainless steel,weighs two pounds (when empty) with a heating element that consumes 2 kw of electricity. assuming that the water and the kettle are at the same uniform temperature at any moment of time, calculate the shortest possible time to bring 2 quarts of water from room temperature to the onset of boiling.
Answers: 1
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
question
Mathematics, 12.03.2020 16:53
question
Mathematics, 12.03.2020 16:53
Questions on the website: 13722367