296 views
The round trip delay between A and B is given as 60 ms, and the bottleneck bandwidth of the link between A and B is 512 KBps. What is the optimal window size (in packets) if the packet size is 64 bytes and the channel is full duplex.

### 1 comment

ans should be 480  here given RTT so never add one for frame transsmission time

@LRU

## 1. https://gateoverflow.in/144462/Cn-optimal-windows-size

by

@aaa 1 Why you added 1 to 480 ?

We have to consider the receiver's end as well or not? Like we are fine with only sender's window size. Please elaborate this.

@Isha_99 @Vishal_kumar98

optimal window size is when link utilization is 100% …

To find optimal window size for sender ,

## It is Full duplex channel, so total data send from x to y is

= (2* Tp) * Band Width

= RTT * band width

=( 60 * 10-3) * ( 512 * 103)

= 60 * 512

= 30720 Bytes….

##  packet size = 64 bytes...

### Number of window require = 30720 / 64 = 480 ...

@@@ So optimal window size is N = 1+2a

= 1+480

= 481....

In case optimal window size, we can indirectly say that maximum throughput should be achieved. It means link utilization is 100% in case of optimal window...

And as you said , window size is defined as number of frames sent in 1 RTT--> This is window size in terms of packets ....

we can say , optimal window size is 1 greater than number of frames send in 1 RTT .

See this thread also https://gateoverflow.in/107261/optimal-window-size  …

1
196 views
1 vote