Question

In: Computer Science

1. A file of size 500 MB is to be transferred from host H1 to host...

1. A file of size 500 MB is to be transferred from host H1 to host H2 through routers R1, R2 and
R3. See Figure 1 below.

h1=2mbs=>R1==8mbs=>R2==10mbs==>R3=1mbs==>h2
(a) If the file is transmitted is one entity, without dividing it into smaller chunks, estimate
how long it would take for the file to arrive at the receiver. [4 marks]
(b) If the file is first divided into smaller chunks, and each chunk is transmitted and then
combined, estimate how long it would take for the whole file to arrive at the receiver.
(Hint: if a file is divided into smaller chunks, transfer time is estimated based on the
bottleneck link).

Solutions

Expert Solution

a)

Consider givend data:R1 = 500 kbps, R2 = 2 Mbps, and R3 = 1 Mbps

The throughput for the file transfer=min{R1,R2,R3}

=min{500 kbps, 2 Mbps, 1 Mbps}

   =500 kbps

So, the throughput for the file transfer=500 kbps

b)

Consider given data:

The file size= 4 million bytes

Convert million bytes to bits

=32000000 bits.

From (a), Throughput for the file transfer=500 Kbps

=500000 bps

Dividing the file size by the throughput,roughly how long will it take to transfer the file to Host B:

=file size/hroughput for the file transfer

=32000000 bits/500000 bps

=64 seconds

c)

Consider the given data:

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

That means R2=100 kbps , R1 = 500 kbps, and R3 = 1 Mbps

The throughput for the file transfer=min{R1,R2,R3}

=min{500 kbps, 100 kbps, 1 Mbps}

   =100 kbps

So, the throughput for the file transfer=100 kbps

Dividing the file size by the throughput,roughly how long will it take to transfer the file to Host B:

=file size/hroughput for the file transfer

=32000000 bits/100000 bps

=320 seconds


Related Solutions

Suppose Host A wants to send a large file to Host B. The path from Host...
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 = 200 kbps, R2 = 2 Mbps, and R3 = 1 Mbps. Assuming no other traffic in the network, what is the average throughput for the file transfer? Suppose the file is 4 million bytes, on average, how long will it take to transfer the file to Host B? Repeat (a) and (b), but...
We are sending a MP3 file of 300,000 bits from Host A to Host B. Host...
We are sending a MP3 file of 300,000 bits from Host A to Host B. Host A and B are each connected to a switch S via 100 Mbps links. Assume that each link introduces a propagation delay of 10 µs (microsecond). Calculate the total transfer time of the entire file (from first bit sent to last bit received) for the following: Suppose the MP3 file is sent as one message. S is a store-and-forward device; it begins retransmitting immediately...
Consider sending a large file of F bits from Host A to Host B. There are...
Consider sending a large file of F bits from Host A to Host B. There are three links (and two switches) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 80 bits of header to each segment, forming packets of L=80+ S bits. Each link has a transmission rate of R bps. Find the value of S that minimizes the delay of...
Consider sending a large file of F bits from Host A to Host B. There are...
Consider sending a large file of F bits from Host A to Host B. There are three links (and two switches) between A and B, and the links are uncongested (that is, no queuing delays). Host A segments the file into segments of S bits each and adds 80 bits of header to each segment, forming packets of L=80+ S bits. Each link has a transmission rate of R bps. The link propagation delay, let's call it d, was not...
How long does it take to send a 15 MiB file from Host A to Host...
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)
We are sending a MP3 file of 1,000,000 bits from a source host to a destination...
We are sending a MP3 file of 1,000,000 bits from a source host to a destination host. All links in the path between source and destination have a bandwidth of 10 Mbps. Assume that the propagation speed is 2.5 * 10 8 meters/sec, and the distance between source and destination is 10,000 km. 1. Now suppose there are two links between source and destination, with one switch connecting the two links. Each link is 5,000 km long. Again suppose the...
Suppose heat is transferred at a rate of 500 W into 1 L of water. The...
Suppose heat is transferred at a rate of 500 W into 1 L of water. The water starts at 20˚C. a) How much heat is required to raise the water temperature to 100 ˚C? How long does this take? b) How much heat is required to boil off half the water? How long does this take? Comment on the value compared to part a. c) Plot temperature vs Q for this heating process. You should only need 3 points for...
Create a batch file that gathers network information from a remote host. Use your VMs for...
Create a batch file that gathers network information from a remote host. Use your VMs for this
For the following style rules, what is the font size of the h1 heading in pixels?...
For the following style rules, what is the font size of the h1 heading in pixels? body {font-size: 16px;} body > article {font-size: 0.75em;} body > article > h1 {font-size: 1.5em;} 16px; 12px; 18px; 18.25px;
To test H0: mu=60 versus H1: mu<60, a random sample size n=25 is obtained from a...
To test H0: mu=60 versus H1: mu<60, a random sample size n=25 is obtained from a population that is known to be normally distributed. Complete parts a through d below. a) if x bar= 57.4 and s= 14.1, compute the test statistic. b)If the researcher decides to test this hypothesis at the confidence variable= .1 level of significance, determine the critical value(s). c)draw the t-distribution that depicts the critical region. d)will the researcher reject the null hypothesis?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT