Home
last modified time | relevance | path

Searched full:rtt (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/
Datmel,at91sam9260-rtt.yaml5 $id: http://devicetree.org/schemas/rtc/atmel,at91sam9260-rtt.yaml#
8 title: Atmel AT91 RTT
20 - const: atmel,at91sam9260-rtt
22 - const: microchip,sam9x60-rtt
23 - const: atmel,at91sam9260-rtt
25 - const: microchip,sama7g5-rtt
26 - const: microchip,sam9x60-rtt
27 - const: atmel,at91sam9260-rtt
38 atmel,rtt-rtc-time-reg:
46 RTT is used as an RTC. The first cell should point to the GPBR node
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/
Datmel,at91sam9-rtc.txt5 - "atmel,at91sam9260-rtt"
6 - "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt"
7 - reg: should encode the memory region of the RTT controller
8 - interrupts: rtt alarm/event interrupt
9 - clocks: should contain the 32 KHz slow clk that will drive the RTT block.
10 - atmel,rtt-rtc-time-reg: should encode the GPBR register used to store
11 the time base when the RTT is used as an RTC.
19 rtt@fffffd20 {
20 compatible = "atmel,at91sam9260-rtt";
24 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
/kernel/linux/linux-6.6/net/ipv4/
Dtcp_vegas.c19 * only every-other RTT during slow start, we increase during
20 * every RTT during slow start, just like Reno.
27 * minimum RTT sample observed during the last RTT to calculate
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
103 /* Do RTT sampling needed for Vegas.
105 * o min-filter RTT samples from within an RTT to get the current
108 * o min-filter RTT samples from a much longer window (forever for now)
119 /* Never allow zero rtt or baseRTT */ in tcp_vegas_pkts_acked()
126 /* Find the min RTT during the last RTT to find in tcp_vegas_pkts_acked()
[all …]
Dtcp_yeah.c20 #define TCP_YEAH_GAMMA 1 /* fraction of queue to be removed per rtt */
24 #define TCP_YEAH_RHO 16 /* minimum number of consecutive rtt to consider competition on los…
84 * of snd_una and snd_nxt at the beginning of the current RTT. More in tcp_yeah_cong_avoid()
85 * precisely, they represent the amount of data sent during the RTT. in tcp_yeah_cong_avoid()
86 * At the end of the RTT, when we receive an ACK for v_beg_snd_nxt, in tcp_yeah_cong_avoid()
88 * bytes of data have been ACKed during the course of the RTT, giving in tcp_yeah_cong_avoid()
91 * (v_beg_snd_nxt - v_vegas.beg_snd_una) / (rtt duration) in tcp_yeah_cong_avoid()
99 * of bytes we send in an RTT is often less than our cwnd will allow. in tcp_yeah_cong_avoid()
104 /* We do the Vegas calculations only if we got enough RTT in tcp_yeah_cong_avoid()
106 * at least one RTT sample that wasn't from a delayed ACK. in tcp_yeah_cong_avoid()
[all …]
Dtcp_veno.c28 u8 doing_veno_now; /* if true, do veno for this rtt */
29 u16 cntrtt; /* # of rtts measured within last rtt */
30 u32 minrtt; /* min of rtts measured within last rtt (in usec) */
31 u32 basertt; /* the min of all Veno rtt measurements seen (in usec) */
72 /* Do rtt sampling needed for Veno. */
82 /* Never allow zero rtt or baseRTT */ in tcp_veno_pkts_acked()
89 /* Find the min rtt during the last rtt to find in tcp_veno_pkts_acked()
107 * until we get fresh rtt samples. So when we
133 /* We do the Veno calculations only if we got enough rtt samples */ in tcp_veno_cong_avoid()
135 /* We don't have enough rtt samples to do the Veno in tcp_veno_cong_avoid()
[all …]
Dtcp_vegas.h10 u32 beg_snd_nxt; /* right edge during last RTT */
11 u32 beg_snd_una; /* left edge during last RTT */
13 u8 doing_vegas_now;/* if true, do vegas for this RTT */
14 u16 cntRTT; /* # of RTTs measured within last RTT */
15 u32 minRTT; /* min of RTTs measured within last RTT (in usec) */
16 u32 baseRTT; /* the min of all Vegas RTT measurements seen (in usec) */
Dtcp_westwood.c40 u32 rtt; member
41 u32 rtt_min; /* minimum observed RTT */
43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/
59 * RTT period of the connection lifetime.
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
109 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked()
114 * It updates RTT evaluation window if it is the right moment to do
132 * See if a RTT-window has passed. in westwood_update_window()
133 * Be careful since if RTT is less than in westwood_update_window()
140 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { in westwood_update_window()
[all …]
Dtcp_nv.c21 * due to the increased noise in RTT values. In particular, we have
41 * nv_rtt_factor RTT averaging factor
43 * nv_dec_eval_min_calls Wait this many RTT measurements before dec cwnd
44 * nv_inc_eval_min_calls Wait this many RTT measurements before inc cwnd
45 * nv_ssthresh_eval_min_calls Wait this many RTT measurements before stopping
53 * rate < 1 pkt/RTT (after losses). The other (nv_cwnd_growth_rate_pos)
86 * < 0 => less than 1 packet/RTT */
101 u32 nv_last_rtt; /* last rtt */
102 u32 nv_min_rtt; /* active min rtt. Used to determine slope */
103 u32 nv_min_rtt_new; /* min rtt for future use */
[all …]
Dtcp_illinois.c41 MODULE_PARM_DESC(theta, "# of fast RTT's before full growth");
45 u64 sum_rtt; /* sum of rtt's measured within last rtt */
46 u16 cnt_rtt; /* # of rtts measured within last rtt */
47 u32 base_rtt; /* min of all rtt in usec */
48 u32 max_rtt; /* max of all rtt in usec */
49 u32 end_seq; /* right edge of current RTT */
53 u8 rtt_above; /* average rtt has gone above threshold */
85 /* Measure RTT for each ack. */
93 /* dup ack, no rtt sample */ in tcp_illinois_acked()
101 /* keep track of minimum RTT seen so far */ in tcp_illinois_acked()
[all …]
Dtcp_cdg.c80 struct cdg_minmax rtt; member
145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update()
178 if (ca->rtt.min > thresh) { in tcp_cdg_hystart_update()
192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad()
193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad()
272 if (after(ack, ca->rtt_seq) && ca->rtt.v64) { in tcp_cdg_cong_avoid()
278 ca->rtt_prev = ca->rtt; in tcp_cdg_cong_avoid()
279 ca->rtt.v64 = 0; in tcp_cdg_cong_avoid()
316 ca->rtt.min = min(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
324 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_vegas.c19 * only every-other RTT during slow start, we increase during
20 * every RTT during slow start, just like Reno.
27 * minimum RTT sample observed during the last RTT to calculate
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
103 /* Do RTT sampling needed for Vegas.
105 * o min-filter RTT samples from within an RTT to get the current
108 * o min-filter RTT samples from a much longer window (forever for now)
119 /* Never allow zero rtt or baseRTT */ in tcp_vegas_pkts_acked()
126 /* Find the min RTT during the last RTT to find in tcp_vegas_pkts_acked()
[all …]
Dtcp_yeah.c20 #define TCP_YEAH_GAMMA 1 /* fraction of queue to be removed per rtt */
24 #define TCP_YEAH_RHO 16 /* minimum number of consecutive rtt to consider competition on los…
84 * of snd_una and snd_nxt at the beginning of the current RTT. More in tcp_yeah_cong_avoid()
85 * precisely, they represent the amount of data sent during the RTT. in tcp_yeah_cong_avoid()
86 * At the end of the RTT, when we receive an ACK for v_beg_snd_nxt, in tcp_yeah_cong_avoid()
88 * bytes of data have been ACKed during the course of the RTT, giving in tcp_yeah_cong_avoid()
91 * (v_beg_snd_nxt - v_vegas.beg_snd_una) / (rtt duration) in tcp_yeah_cong_avoid()
99 * of bytes we send in an RTT is often less than our cwnd will allow. in tcp_yeah_cong_avoid()
104 /* We do the Vegas calculations only if we got enough RTT in tcp_yeah_cong_avoid()
106 * at least one RTT sample that wasn't from a delayed ACK. in tcp_yeah_cong_avoid()
[all …]
Dtcp_veno.c28 u8 doing_veno_now; /* if true, do veno for this rtt */
29 u16 cntrtt; /* # of rtts measured within last rtt */
30 u32 minrtt; /* min of rtts measured within last rtt (in usec) */
31 u32 basertt; /* the min of all Veno rtt measurements seen (in usec) */
72 /* Do rtt sampling needed for Veno. */
82 /* Never allow zero rtt or baseRTT */ in tcp_veno_pkts_acked()
89 /* Find the min rtt during the last rtt to find in tcp_veno_pkts_acked()
107 * until we get fresh rtt samples. So when we
133 /* We do the Veno calculations only if we got enough rtt samples */ in tcp_veno_cong_avoid()
135 /* We don't have enough rtt samples to do the Veno in tcp_veno_cong_avoid()
[all …]
Dtcp_vegas.h10 u32 beg_snd_nxt; /* right edge during last RTT */
11 u32 beg_snd_una; /* left edge during last RTT */
13 u8 doing_vegas_now;/* if true, do vegas for this RTT */
14 u16 cntRTT; /* # of RTTs measured within last RTT */
15 u32 minRTT; /* min of RTTs measured within last RTT (in usec) */
16 u32 baseRTT; /* the min of all Vegas RTT measurements seen (in usec) */
Dtcp_westwood.c40 u32 rtt; member
41 u32 rtt_min; /* minimum observed RTT */
43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/
59 * RTT period of the connection lifetime.
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
109 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked()
114 * It updates RTT evaluation window if it is the right moment to do
132 * See if a RTT-window has passed. in westwood_update_window()
133 * Be careful since if RTT is less than in westwood_update_window()
140 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { in westwood_update_window()
[all …]
Dtcp_nv.c21 * due to the increased noise in RTT values. In particular, we have
42 * nv_rtt_factor RTT averaging factor
44 * nv_dec_eval_min_calls Wait this many RTT measurements before dec cwnd
45 * nv_inc_eval_min_calls Wait this many RTT measurements before inc cwnd
46 * nv_ssthresh_eval_min_calls Wait this many RTT measurements before stopping
54 * rate < 1 pkt/RTT (after losses). The other (nv_cwnd_growth_rate_pos)
87 * < 0 => less than 1 packet/RTT */
102 u32 nv_last_rtt; /* last rtt */
103 u32 nv_min_rtt; /* active min rtt. Used to determine slope */
104 u32 nv_min_rtt_new; /* min rtt for future use */
[all …]
Dtcp_illinois.c41 MODULE_PARM_DESC(theta, "# of fast RTT's before full growth");
45 u64 sum_rtt; /* sum of rtt's measured within last rtt */
46 u16 cnt_rtt; /* # of rtts measured within last rtt */
47 u32 base_rtt; /* min of all rtt in usec */
48 u32 max_rtt; /* max of all rtt in usec */
49 u32 end_seq; /* right edge of current RTT */
53 u8 rtt_above; /* average rtt has gone above threshold */
85 /* Measure RTT for each ack. */
93 /* dup ack, no rtt sample */ in tcp_illinois_acked()
101 /* keep track of minimum RTT seen so far */ in tcp_illinois_acked()
[all …]
Dtcp_cdg.c80 struct cdg_minmax rtt; member
145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update()
178 if (ca->rtt.min > thresh) { in tcp_cdg_hystart_update()
192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad()
193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad()
272 if (after(ack, ca->rtt_seq) && ca->rtt.v64) { in tcp_cdg_cong_avoid()
278 ca->rtt_prev = ca->rtt; in tcp_cdg_cong_avoid()
279 ca->rtt.v64 = 0; in tcp_cdg_cong_avoid()
316 ca->rtt.min = min(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
324 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked()
[all …]
/kernel/linux/linux-5.10/net/rxrpc/
Drtt.c2 /* RTT/RTO calculation.
34 * Called to compute a smoothed rtt estimate. The data fed to this
45 long m = sample_rtt_us; /* RTT */ in rxrpc_rtt_estimator()
49 * article in SIGCOMM '88. Note that rtt and mdev in rxrpc_rtt_estimator()
50 * are scaled versions of rtt and mean deviation. in rxrpc_rtt_estimator()
55 * RTO = rtt + 4 * mdev in rxrpc_rtt_estimator()
65 m -= (srtt >> 3); /* m is now error in rtt est */ in rxrpc_rtt_estimator()
66 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in rxrpc_rtt_estimator()
71 * Eifel blocks mdev updates when rtt decreases. in rxrpc_rtt_estimator()
92 srtt = m << 3; /* take the measured time to be rtt */ in rxrpc_rtt_estimator()
[all …]
/kernel/linux/linux-6.6/net/rxrpc/
Drtt.c2 /* RTT/RTO calculation.
34 * Called to compute a smoothed rtt estimate. The data fed to this
45 long m = sample_rtt_us; /* RTT */ in rxrpc_rtt_estimator()
49 * article in SIGCOMM '88. Note that rtt and mdev in rxrpc_rtt_estimator()
50 * are scaled versions of rtt and mean deviation. in rxrpc_rtt_estimator()
55 * RTO = rtt + 4 * mdev in rxrpc_rtt_estimator()
65 m -= (srtt >> 3); /* m is now error in rtt est */ in rxrpc_rtt_estimator()
66 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in rxrpc_rtt_estimator()
71 * Eifel blocks mdev updates when rtt decreases. in rxrpc_rtt_estimator()
92 srtt = m << 3; /* take the measured time to be rtt */ in rxrpc_rtt_estimator()
[all …]
/kernel/uniproton/demos/helloworld/bsp/
Drtt_viewer.c23 * 描述: rtt viewer加锁
40 * 描述: rtt viewer释放锁
52 * 描述: rtt viewer初始化
64 /* rtt viewer写缓冲区资源申请 */ in RttViewerInit()
71 /* rtt viewer写缓冲区初始化 */ in RttViewerInit()
81 /* rtt viewer读缓冲区资源申请 */ in RttViewerInit()
88 /* rtt viewer读缓冲区初始化 */ in RttViewerInit()
103 strcpy((char *)&g_rttViewerCb.acID[7], "RTT"); in RttViewerInit()
110 * 描述: rtt viewer写模式配置
230 * 描述: rtt viewer写数据
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dcake.json18 …th unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
41 …dwidth 1Kbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
64 …rate-ingress diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
73 "name": "Create CAKE with rtt time",
84 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root cake rtt 200",
87 …th unlimited diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 200us raw overhead",
110 …h unlimited besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
133 …th unlimited diffserv8 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
156 …th unlimited diffserv4 triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
179 …ndwidth unlimited diffserv3 flowblind nonat nowash no-ack-filter split-gso rtt 100ms raw overhead",
[all …]
/kernel/linux/linux-5.10/fs/afs/
Dvl_probe.c21 server->rtt = UINT_MAX; in afs_finished_vl_probe()
119 if (rtt_us < server->probe.rtt) { in afs_vlserver_probe_result()
120 server->probe.rtt = rtt_us; in afs_vlserver_probe_result()
121 server->rtt = rtt_us; in afs_vlserver_probe_result()
125 smp_wmb(); /* Set rtt before responded. */ in afs_vlserver_probe_result()
133 _debug("probe [%u][%u] %pISpc rtt=%u ret=%d", in afs_vlserver_probe_result()
164 server->probe.rtt = UINT_MAX; in afs_do_probe_vlserver()
215 unsigned int rtt = UINT_MAX, rtt_s; in afs_wait_for_vl_probes() local
271 rtt_s = READ_ONCE(server->rtt); in afs_wait_for_vl_probes()
273 rtt_s < rtt) { in afs_wait_for_vl_probes()
[all …]
/kernel/linux/linux-6.6/fs/afs/
Dvl_probe.c21 server->rtt = UINT_MAX; in afs_finished_vl_probe()
119 if (rtt_us < server->probe.rtt) { in afs_vlserver_probe_result()
120 server->probe.rtt = rtt_us; in afs_vlserver_probe_result()
121 server->rtt = rtt_us; in afs_vlserver_probe_result()
125 smp_wmb(); /* Set rtt before responded. */ in afs_vlserver_probe_result()
133 _debug("probe [%u][%u] %pISpc rtt=%u ret=%d", in afs_vlserver_probe_result()
164 server->probe.rtt = UINT_MAX; in afs_do_probe_vlserver()
215 unsigned int rtt = UINT_MAX, rtt_s; in afs_wait_for_vl_probes() local
271 rtt_s = READ_ONCE(server->rtt); in afs_wait_for_vl_probes()
273 rtt_s < rtt) { in afs_wait_for_vl_probes()
[all …]
/kernel/linux/linux-6.6/net/sunrpc/
Dtimer.c12 * This RTT estimator is used only for RPC over datagram protocols.
30 * rpc_init_rtt - Initialize an RPC RTT estimator context
53 * rpc_update_rtt - Update an RPC RTT estimator context
56 * @m: recent actual RTT, in jiffies
58 * NB: When computing the smoothed RTT and standard deviation,
98 * the mean and mean deviation of RTT for the appropriate type of RPC

12345678910>>...14