Simple kernel timers are implemented using the timer wheel.
简单内核计时器使用计时器轮(timer wheel)实现。
Cancel the retransmission timer (remove the timer from the timer wheel).
删除重新传输计时器(从计时器轮中删除该计时器)。
You stop the retransmission timer by removing the timer from the timer wheel.
通过将计时器从计时器轮中删除,您可以停止重新传输计时器。
Retransmission timer expires for a connection that is using the timer wheel algorithm.
一个使用计时器轮算法的连接的重新传输计时器计时到期。
The slot interval (si) of the timer wheel implementation is configurable using the no option with timer_wheel_tick.
该计时器轮实现的槽位时间间隔(si)可以使用no选项和timer_wheel_tick来进行配置。
This article explains an alternative method for implementing TCP's retransmission timer based on a timer wheel algorithm.
本文说明了基于计时器轮算法实现TCP的重新传输计时器的一种备选方法。
The timer wheel is a collection of buckets in which each bucket represents a chunk of time in the future for timer expiration.
时间轮是一个buckets集合,其中每个bucker 表示将来计时器过期的一个时间块。
When a new timer with a timer interval, such as ti (time interval), is to be added to this wheel, the slot for the new timer, ts (timer slot), is calculated, as follows.
在将具有某个计时间隔的新的计时器,如ti(时间间隔),添加到这个计时器轮时,将计算出这个新计时器的槽位ts(计时器槽位),具体如下所示。
When a new timer with a timer interval, such as ti (time interval), is to be added to this wheel, the slot for the new timer, ts (timer slot), is calculated, as follows.
在将具有某个计时间隔的新的计时器,如ti(时间间隔),添加到这个计时器轮时,将计算出这个新计时器的槽位ts(计时器槽位),具体如下所示。
应用推荐