Question

sender must send a 1 MB file to receiver using TCP. RTTT is 100 ms, if...

sender must send a 1 MB file to receiver using TCP. RTTT is 100 ms, if advertised window of the receiver is 64KB, and each segment is 1 KB, and there is no congestion and loss in the network. How long does it take to transmit the file ?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Step 1 :- Data given is

File size is = 1MB

RTT (Round Trip Time ) = 2Tp = 100ms

Where Tp is Propagation Delay

-> Advertised window of receiver is 64KB = wr

->And segment size is 1KB which is Congestion capacity = Wc

So,sender window will be Ws= min(wc,wr) = min(1kB,64kb) = 1KB

->Total number of segments required to send 1MB file is = 1MB/1KB = 2^10 segments

Step 2 :-

According to TCP congestion algorithm ,

Threshold value will be = Wr/2 = 64kB/2 = 32KB

So firstly sender will send packet in exponential manner upto threshold value then after that in linear manner upto 64KB like this

1MSS,

2MSS,

4MSS,

8MSS,1

6MSS,

32MSS,

33MSS,

34MSS,

35MSS,

36MSS,

37MsS,

38MSS,

39MSS,

40MSS,

41MSS,

42MSS,

43MSS,

44MSS,

45MSS,

46MSS,

47MSS,

48MSS,

49MSS,

50MSS,

51MSS,

52MSS,

53MSS,

54MSS,

4MSS

Total transmissions = 29

Last segment is 4MSS because upto 54MSS we have already sent 1020 segments and remaining 4 segments will be send at last

Where MSS is Maximum Segment Size

Step 3:- Total time required to send 1MB file is = Total number of transmission which is 29 transmission when you will add 1,2,4 like this all will be counted as single transmission = 29*2*Tp = 58*100ms = 5800ms

Add a comment
Know the answer?
Add Answer to:
sender must send a 1 MB file to receiver using TCP. RTTT is 100 ms, if...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 6. (10 points) TCP Suppose a TCP Reno sender (congestion avoidance, fast retransmit, fast recovery) has...

    6. (10 points) TCP Suppose a TCP Reno sender (congestion avoidance, fast retransmit, fast recovery) has an ssthresh 16 and a cwnd - 4. The sender has no outstanding unacknowledged segments and 240 more segments left to transmit. In addition, the receiver currently has an empty socket buffer that can hold up to 32 segments, and will continue to advertise a receiver advertised window that can hold 32 segments. Assume that there is no further loss of any segments or...

  • Assume a TCP sender is continuously sending 1,369-byte segment. If a TCP receiver advertises a window...

    Assume a TCP sender is continuously sending 1,369-byte segment. If a TCP receiver advertises a window size of 7,001 bytes, and with a link transmission rate 34 Mbps an end-to-end propagation delay of 30.7 ms, what is the utilization? Assume no errors, no processing or queueing delay, and ACKs transmit instantly. Also assume the sender will not transmit a non-full segment. Give answer in percentages, rounded to one decimal place, without units (e.g. for an answer of 10.43% you would...

  • TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have...

    TCP at Packet Level In a TCP packet level data transfer, sender and receiver both have a window that can hold 4 packets. Sender has 5 packets to send numbered 0-4. ACK 2 is lost and PKT 3 is lost too. (Remember in TCP the ACK number is one greater than the number of the last packet received in order and that ACKs are cumulative) There are no other errors or losses in either direction. Draw a timeline diagram that...

  • Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or t...

    Consider a simplified actual TCP senderreceiver, described as follows: .Upon a loss (timeout or triple-duplicate ACKs), the sender o transmits the oldest unACKed packet (whose sequence number Base) o restarts the timer Upon receiving an ACK with a Sequence #y > Base. o it considers all packets with sequence numbers s y as ACKed (cumulative ACK) o Sets Base to the sequence number of the packet immediately after the packet whose sequence number is y o Restarts the timer ....

  • 1. For TCP end-to-end flow control, suppose the capacity of the receiver buffer is 10 packets. Su...

    1. For TCP end-to-end flow control, suppose the capacity of the receiver buffer is 10 packets. Suppose the packets that are being queued in the receiver buffer are packets 4, 5, 6, 7, 8, 10, 11. What is the advertised window size the receiver sent to the sender? Suppose packet 12 is the last packet sent by the sender. What’s the effective window size at the sender? Can the sender send out packet 13 at this moment? How about packet...

  • 3. Consider the following plot for TCP window size as a function of time. Some of...

    3. Consider the following plot for TCP window size as a function of time. Some of the data points are indicated by the bullets below. Congestion Window Size (Segments) 45 21 35 S1 1.5 110 Transmission Round 2 4 6 8 10 12 14 16 18 20 22 24 26 (a) Identify the loss events that are detected by TCP. Determine when and how each loss is detected by TCP and mention the next phase after each loss. (b) State...

  • TCP computer networks

    Assume that a station X wants to send 15 packets of data to station Y using TCP Tahoe. Assuming that:1) The size of each packet sent is 1000 Bytes (ignore all the headers from layers below).2) Station X chooses 43 as an initial sequence number.3) Station Y chooses 2 as an initial sequence number.4) The data of the first packet is included in the final packet of the handshake process.5) The sender window size is 5 packets.6) The receiver window...

  • Assume the initial ssthresh value is 64 MSS, the advertised receiver window size in ACKs is...

    Assume the initial ssthresh value is 64 MSS, the advertised receiver window size in ACKs is 135 MSS unless otherwise specified, and each segment is sized one MSS. The cwnd is 5 MSS at present. Assume there is no segment loss unless otherwise specified. Provide the answers to the following questions and separate them with comma. Each question should be considered independent of others. What is the TCP window size after 34 new ACKs have been received in a row?...

  • (1) Assume that a station X wants to send 15 packets of data to station Y...

    (1) Assume that a station X wants to send 15 packets of data to station Y using TCP Tahoe. Assuming that: 1) The size of each packet sent is 1000 Bytes (ignore all the headers from layers below). 2) Station X chooses 43 as an initial sequence number. 3) Station Y chooses 2 as an initial sequence number. 4) The data of the first packet is included in the final packet of the handshake process. 5) The sender window size...

  • (TCO 3) TCP uses __________________ as a congestion-control mechanism. a.stop and wait b.self-clocking c.time-out doubli...

    (TCO 3) TCP uses __________________ as a congestion-control mechanism. a.stop and wait b.self-clocking c.time-out doubling d.a and c only (TCO 3) Consider transferring an enormous file that uses all of the sequence numbers available from Host A to Host B. Use a MSS of 1,400 Bytes with 100 Bytes of header in each datagram. The link is 100 Mbps. With continuous transmission and ignoring flow control and congestion control, how long does it take to send the data? none of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT