Suppose Host A wants to send a large file to Host B - Computer Networking Solution

No comments

Full Problem is:

Suppose Host A wants to send a large file to Host B. The path from Host A to Host B has three links, of rates R1 = 500 kbps, R2 = 2 Mbps, and R3 = 1 Mbps.

a. Assuming no other traffic in the network, what is the throughput for the file transfer?

b. Suppose the file is 4 million bytes. Dividing the file size by the throughput, roughly how long will it take to transfer the file to Host B?

c. Repeat (a) and (b), but now with R2 reduced to 100 kbps.

Solution of problem is:


a. Assuming no other traffic in the network, what is the throughput for the file transfer?
Solution - Since there is no other traffic in the network, that means file transfar throughput will be - 500kbps


b. Suppose the file is 4 million bytes. Dividing the file size by the throughput, roughly how long will it take to transfer the file to Host B?

Solution -
       4 million bytes
          = 4000000 bytes
          = (4000000 * 8) bits
          = 32000000 bits

Now, throughput
         = 500 kbps
         = (500 * 1000) bps
         = 500000 bps

Divide file by throughput
         = (32000000 / 500000) second
         = 64 seconds


c. Repeat (a) and (b), but now with R2 reduced to 100 kbps.

Solution -
       Repeat (a) Since it is now 100 kbps, Ans = 100kbps
       Repeat (b)
         = (32000000 / 100000) second
         = 320 seconds




Tags: Computer Networking solution, Host A to Host B problem solution, large file send to another host, Suppose Host A wants to send a large file to Host B problem solution


No comments :

Post a Comment