In: Computer Science
How long does it take to send a 15 MiB file from Host A to Host
B over a circuit-switched network, assuming:
- Total link transmission rate = 49.7 Gbps.
- Network is FDM, with 7 permitted users, each with an equal
bandwidth share.
- A link connection requires a setup time of 84.5 ms.
Your answer should be in miliseconds (ms) with one decimal place,
and without the unit (e.g. "140.6" without the quotes)
Answer:
Given values are:
File size = 15MiB
Total link transmission rate = 49.7 Gbps
User = 7
Setup time = 84.5 ms
We know that
1 MiB = 2^20 = 1048576 bytes
1 MiB = 2^20*8= 8388608 bits
15MiB= 8388608x15 = 125829120 bits
So,
Total Number of bits = 125829120 bits
Now
Total link transmission rate = 49.7 Gbps
1 Gbps = 1000000000 bps
49.7 Gbps = 49.7 x 1000000000 =49700000000 bps
For FDM network
Transmission rate for one time slot = 49700000000/7 bits per second
Transmission rate for one time slot = 7100000000 bit per second
Transmission rate for one time slot = 49700000000/(10^3*7) in milliseconds
Transmission rate for one time slot in =7100000 bits per millisecond
Now,
Total time taken to transmit 15 MiB of file = Total number of bits/Transmission rate
Total time taken to transmit 15 MiB of file = 125829120/7100000
=17.72
As setup time is also given So,
Total time = Setup time + Transmission Time
Total time = 84.5+ 17.72
Total time = 102.2 milliseconds
Hence 102.2 ms is the time required to send a 15MiB of file from Host A to Host B.