In: Computer Science
Given a 2 Gbps link with TCP applications A, B, and C.
According to TCP "fairness", during times when all connections are transmitting, how much bandwidth should Application C have? (Give answer in Mbps, rounded to one decimal place, without units. So for an answer of 1234,567,890 bps you would enter "1234.6" without the quotes.)
Solution:
Given,
=>Bandwidth = 2 Gbps
=>Application A has connections = 32 connections
=>Application B has connections = 4 connections
=>Application C has connections = 15 connections.
=>TCP does fairness.
Explanation:
Calculating total number of connections:
=>Total number of TCP connections = 32 + 4 + 15
=>Total number of TCP connections = 51 connections
Calculating bandwidth of one TCP connection:
=>Bandwidth of one TCP connection = Total bandwidth/total number of connections
=>Bandwidth of one TCP connection = 2 Gbps/51
=>Assuming 1 Gbps = 1000 Mbps
=>Bandwidth of one TCP connection = 2*1000 Mbps/51
=>Bandwidth of one TCP connection = 39.215 Mbps
Calculating bandwidth for application C:
=>Bandwidth for application C = number of TCP connection for application C*bandwidth of one connection.
=>Bandwidth for application C = 15*39.215 Mbps
=>Bandwidth for application C = 588.235 Mbps
=>Rounding off to one decimal place, bandwidth for application C = 588.2 Mbps
=>Hence answer will be 588.2
I have explained each and every part with the help of statements attached to it.