Lines Matching full:we

15  *   o We do not change the loss detection or recovery mechanisms of
19 * only every-other RTT during slow start, we increase during
22 * we use the rate at which ACKs come back as the "actual"
24 * o To speed convergence to the right rate, we set the cwnd
25 * to achieve the right ("actual") rate when we exit slow start.
26 * o To filter out the noise caused by delayed ACKs, we use the
55 /* There are several situations when we must "re-start" Vegas:
60 * o when we send a packet and there is no outstanding
63 * In these circumstances we cannot do a Vegas calculation at the
64 * end of the first RTT, because any calculation we do is using
68 * Instead we must wait until the completion of an RTT during
69 * which we actually receive ACKs.
76 /* Begin taking Vegas samples next time we send something. */ in vegas_enable()
104 * Basically we:
106 * propagation delay + queuing delay (we are min-filtering to try to
144 * If the connection is idle and we are restarting,
145 * then we don't want to do any Vegas calculations
146 * until we get fresh RTT samples. So when we
147 * restart, we reset our Vegas state to a clean
148 * slate. After we get acks for this flight of
149 * packets, _then_ we can make Vegas calculations
178 /* Save the extent of the current window so we can use this in tcp_vegas_cong_avoid()
183 /* We do the Vegas calculations only if we got enough RTT in tcp_vegas_cong_avoid()
184 * samples that we can be reasonably sure that we got in tcp_vegas_cong_avoid()
186 * If we only had 2 samples total, in tcp_vegas_cong_avoid()
187 * then that means we're getting only 1 ACK per RTT, which in tcp_vegas_cong_avoid()
189 * If we have 3 samples, we should be OK. in tcp_vegas_cong_avoid()
193 /* We don't have enough RTT samples to do the Vegas in tcp_vegas_cong_avoid()
194 * calculation, so we'll behave like Reno. in tcp_vegas_cong_avoid()
201 /* We have enough RTT samples, so, using the Vegas in tcp_vegas_cong_avoid()
202 * algorithm, we determine if we should increase or in tcp_vegas_cong_avoid()
206 /* Pluck out the RTT we are using for the Vegas in tcp_vegas_cong_avoid()
214 /* Calculate the cwnd we should have, if we weren't in tcp_vegas_cong_avoid()
223 /* Calculate the difference between the window we had, in tcp_vegas_cong_avoid()
224 * and the window we would like to have. This quantity in tcp_vegas_cong_avoid()
237 * Then we add 1 because the integer in tcp_vegas_cong_avoid()
251 /* Figure out where we would like cwnd in tcp_vegas_cong_avoid()
256 * we slow down. in tcp_vegas_cong_avoid()
262 /* We don't have enough extra packets in tcp_vegas_cong_avoid()
267 /* Sending just as fast as we in tcp_vegas_cong_avoid()