Question

Let host A send a large file to host B over a pipelined transport protocol with...

Let host A send a large file to host B over a pipelined transport protocol with a fixed sliding window (e.g., GBN or SR). How big does the sender’s window need to be to ensure maximum use of the network path capacity between A and B if the path has the following idealistic characteristics:

(i) the round-trip delay between the end hosts (measured for a very small packet so that it is not affected by the transmission delay) is 10 msec, (ii) traffic traverses 10 routers along the path from A to B and the same 10 routers on the return path from B to A, (iii) the bandwidth of the each link in the path is 1 Megabyte per second (1 Megabyte = 106bytes), (iv) Segment size is 1000 bytes while the acknowledgement size is negligible (i.e., the transmission delay of the ack packets can be assumed to be 0) and (v) there is no interfering traffic and the processing delay at both end hosts and routers is negligible.

Homework Answers

Answer #1

solution:

Here the entire propogation delay is 10msce. Propogation delay at the router is even considered here.

Transmission delay of data packet = packet size/bandwidth

= 1000B/10^6 B = 1 msec

Here we have 10 routers between HostA and HostB. So total transmission delay is going to be 11msec.

Thus total time to send a packet from HostA to HostB = 11+10=21msec.

Now to achieve maximum use of network path, we must send packets untill acknowledgement of first packet is received.

Here acknowledgement of first packet will come after 21msec.

HostA can transmit one packet at 1msec of time. So in 21msec, it will send 21 packets.

Thus there sender window size has to 21.

note:I tried my best to give proper explanation about this question in case of any further explanation do comment.
i will be happy to help you thanks.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
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 = 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?...
Consider sending a file of 1 Mbits over a path of 5 links. Each link transmits...
Consider sending a file of 1 Mbits over a path of 5 links. Each link transmits at 10 Mbps. The network is lightly loaded so that there are no queuing delays. Propagation delay is negligible. When a form of packet switching is used, the file is broken up into 10 packets; each packet with 100 Kbits. Suppose the network is packet-switched virtual-circuit network. Denote the VC setup time by 10 milliseconds. Suppose the sending layer add a total of 100...
Multiple choice questions: Circle the correct answer 1) Suppose two hosts, A and B are separated...
Multiple choice questions: Circle the correct answer 1) Suppose two hosts, A and B are separated by 1500 kilometers and are connected by a link of R = 2 Mbps. Suppose the propagation speed over the link is 3 x 108 meters/s. Considering sending a file of 100,000 bits from Host A to Host B. Suppose the file is sent continuously as one large message. The maximum number of bits that will be in the link at any time is...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT