Question

In: Computer Science

Two nodes A and B are connected via switch S. *About packet switching Latency bandwidth :...

Two nodes A and B are connected via switch S.

*About packet switching Latency

bandwidth : 4Mbps

number of packets : 10^3

Propagation time : 2msec

size of a packet: 8000 bit (there for there are 8M bit data, 8000 * 10 * 3)

switching time : 1msec

Queuing time : 0

If a header must be added to the data size (8000 bits), I wonder what is the length condition of the header that will take less time than 2024 msec.

I think it will be solved by pipelining, but I cannot solve. Can you help me?

Solutions

Expert Solution

Total delay = Propagation delay + Transmission delay + processing delay + queuing delay

Propagation delay is the time taken to cover physical distance from A to B.

Propagation delay = 2ms

Queuing delay is the time that the packet has to wait in the queue.

Queuing delay = 0ms

Processing delay is the time taken to process packets.

processing delay = switching time = 1ms

Transmission delay is the time taken to put all the packets in the wire between A to B.

Transmission delay = Packet size * Number of packets / bandwidth

Let the size of header that can be added as x. So, now size of packet will be 8000 + x

Transmission delay = (8000 + x) * 1000 / 4000 ms = (8000 + x)/4 ms

Total delay = Propagation delay + Transmission delay + processing delay + queuing delay

= 2ms + 0ms + 1ms + (8000+x)/4

Total delay should be less than 2024ms. So,

2ms + 0ms + 1ms + (8000 + x)/4 <2024

3 + (8000 +x)/4 < 2024

3 + 2000 + x/4 < 2024

x/4 + 2003 < 2024

x/4 <21

x < 84

Hence, length of header should be less than 84 bits to take less than 2024 ms.


Related Solutions

a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario...
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario example. [5 Marks] b. Illustrate the Session Initiation Protocol (SIP) for VoIP in your own words with appropriate diagram. [5 Marks] c. Explain the procedure and significance of the presence service elements with an appropriate usage case. [5 Marks]
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario...
a. Critique on the switching techniques a) circuit switching and b) packet switching with a scenario example. b. Illustrate the Session Initiation Protocol (SIP) for VoIP in your own words with appropriate diagram. c. Explain the procedure and significance of the presence service elements with an appropriate usage case.
Two zones A and B are to be connected via a direct high speed route as...
Two zones A and B are to be connected via a direct high speed route as daily traffic movement between the residents of 02 zones are causing congestion to existing network. Suggest and justify the type of survey needed to be conducted between 02 zones. If all the movement is considered to be inter-zonal only i.e. from A to B & B to A only. What kind of traffic volume measuring technique is suitable? Reason your answer. Design a household...
Two identical containers are open at the top and are connected at the bottom via a...
Two identical containers are open at the top and are connected at the bottom via a tube of negligible volume and a valve that is closed. Both containers are filled initially to the same height of 1.00 m, one with water, the other with mercury, as the drawing indicates. The valve is then opened. Water and mercury are immiscible. Determine the fluid level in the left container when equilibrium is reestablished.
Question 4 A connection between two or more computers on the same network connected via a...
Question 4 A connection between two or more computers on the same network connected via a cable and two computers in different parts of the world differs. Identify explain how the two connections types differ. Suppose that you are required to create a document to explain the different sections of DTE and DCE, by indicating the purpose of NIU and NID. Where would a wireless base station connect to a cellular network?
Two identical metal spheres A and B are connected by a plastic rod.
Two identical metal spheres A and B are connected by a plastic rod. Both are initially neutral. 4.0×1012 electrons are added to sphere A, then the connecting rod is removed. a)Afterward, what is the charge of A? b)Afterward, what is the charge of B?  
Chemco produces two chemicals A and B. These chemicals are produced via two manufacturing processes. Process...
Chemco produces two chemicals A and B. These chemicals are produced via two manufacturing processes. Process 1 requires 2 hours of labor and 1 lb of raw materials to produce 2 oz of A and 1 oz of B. Process 2 requires 3 hours of labor and 2 lbs of raw material to produce 3 oz of A and 2 oz of B. Sixty hours of labor and 40 lbs of raw material are available. Demand for Chemical A is...
Chemco produces two chemicals A and B. These chemicals are produced via two manufacturing processes. Process...
Chemco produces two chemicals A and B. These chemicals are produced via two manufacturing processes. Process 1 requires 2 hours of labor and 1 lb of raw materials to produce 2 oz of A and 1 oz of B. Process 2 requires 3 hours of labor and 2 lbs of raw material to produce 3 oz of A and 2 oz of B. Sixty hours of labor and 40 lbs of raw material are available. Demand for Chemical A is...
Rigid tank A and tank B (containing water) are connected to a piston cylinder with two...
Rigid tank A and tank B (containing water) are connected to a piston cylinder with two valves as shown below. The piston cylinder assembly is initially (state 1) empty when the valves are closed. The pressure required to float the piston is 800kPa, the piston is constantly loaded and is free to move. Now the valves are opened and the fluid reaches a uniform state at 250C within the system (state 2). Determine: (a) The final volume (5 points) (b)...
An electrical circuit contains two switches, labeled ―A‖ and ―B,‖ which are connected in parallel; i.e.,...
An electrical circuit contains two switches, labeled ―A‖ and ―B,‖ which are connected in parallel; i.e., the circuit functions if either (or both) of the two switches functions. The probability that switch A functions is 3/4. However, the switches do not operate independently. If switch A functions, then switch B functions with probability 8/9. If switch B functions, then switch A functions with probability 4/5. (a) What is the probability that both switches function? (b) What is the probability that...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT