Question

In: Computer Science

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 now with R2 reduced to 100 kbps.

Solutions

Expert Solution

Solution

a)

Consider givend data:
R1 = 200 kbps
R2 = 2 Mbps
R3 = 1 Mbps

The throughput for the file transfer
=min{R1,R2,R3}
=min{200 kbps, 2 Mbps, 1 Mbps}
=200 kbps

So, the throughput for the file transfer=200 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=200 Kbps
=200000 bps

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

=file size/throughput for the file transfer

=32000000 bits/200000 bps

=160 seconds

c)

Consider the given data:

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

That means
R2 = 100 kbps
R1 = 200 kbps
R3 = 1 Mbps

The throughput for the file transfer
=min{R1,R2,R3}
=min{200 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/throughput for the file transfer

=32000000 bits/100000 bps

=320 seconds

--

all the best

please upvote


Related Solutions

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)
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many...
Host A wants to send 15 frames to Host B using Selective repeat protocol. How many numbers of frames are transmitted by Host A if every 8th packet is lost or corrupted? Also compare the number of number of transmissions of Selective Repeat with Go Back 3.
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 a scenario where Host A and Host B want to send messages to Host C....
Consider a scenario where Host A and Host B want to send messages to Host C. Hosts A and C are connected by a channel that can lose and corrupt (but not reorder) messages. Hosts B and C are connected by another channel (independent of the channel connecting A and C) with the same properties. The transport layer at Host C should alternately deliver M (M>1) consecutive messages received from A to its application layer and N (N>1) consecutive messages...
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...
a. In an IPv4 environment, if a host on a LAN is about to send an...
a. In an IPv4 environment, if a host on a LAN is about to send an IP packet to another host on the same LAN, how does it know the MAC address of the interface card of the destination host? What is the protocol which is used to obtain the MAC address? b. If a host is moved to another LAN, connected to a different router, will its MAC address be the same? Explain why.
Suppose there are 4 routers in sequence between Host A and Host B, all of which...
Suppose there are 4 routers in sequence between Host A and Host B, all of which use store-and-forward routing. What is the total end-to-end delay for a packet originating from Host A with destination Host B, under the following conditions. ◘ Each of the link transmission rates are 9.4 Mbps ◘ The total distance from Host A to Host B along its path of transmission is123.4 km ◘ The speed of propagation through the transmission medium is is 2.5 x...
Suppose there are 5 links between sending host A and receiving host B, where each link...
Suppose there are 5 links between sending host A and receiving host B, where each link has the same transmission rate R. What is the end-to-end delay of sending 10 packets of length L from A to B? (Ignore propagation delay and nodal processing delay). Assume there are no other packets on the network.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT