2.3k views
In optimal window size for sender or for finding the maximum window size of sender N, do we consider N=1+2a or N=a.
Where a=(propagation time/Transmission time)?

For max efficiency: n*Tt should be equal to Tt+2Tp.

ie n=1+2a. But in some places it is just n=2a.

edited | 2.3k views

Yes,

In optimal window size for sender or for finding the maximum window size of sender N, we consider N=1+2a

optimal window size is when link utilization is 100% .

(N/1+2a ) = 1  where N is window size in terms of packets

In case optimal window size, we can indirectly say that maximum throughput should be achieved. It means link utilization is 100% .
by Veteran
0
Sir while calculating optimal window size are we suppose to floor or ceil of the function 1+2a?
0
We are taking maximum window size -1+2a, ceil has to be used for tht
+1
In case of Maximum - Floor.

In case of Minimum - Ceil

In this case we can use at max of 1+2a and we cant go beyond this value. so, we will go for floor.
it varies according to the question if u r talking about effficiency they are many formulas according to the situation

generly tt/(tt+2*pt)

for stop and wait it is as above only it can also be written as 1/1+2a

for sliding window protocol it is n/1+2a

for go back n also it is same

for csma/cd

1/1+5.44a

for throughput

it is efficiency * bandwidth
by Active
0
@Vishal Goyal

i think for csma/cd the efficiency is 1/1+6.44a. correct me if i am wrong.
for maxium no of window size (it means maximum utilization of channel)so for maximum utillization the sender must send frames untill ack comes back or it can be said like this the frames must be sent untill RTT and then divide it by frame size u will get the max no of frames
by Active

+1 vote