上一页 1 2 3 4 5 6 7 ··· 70 下一页
摘要: tcp_notsent_lowat控制发送缓存队列中的未发送数据量。低于此值可发送 也就是对外是epoll_out 内核函数tcp_poll,通过函数sk_stream_is_writeable的结果判定,可通知用户层发送数据的时机。当发送缓存队列的数据流小于notsent_lowat值的时候,由P 阅读全文
posted @ 2024-12-21 00:24 codestacklinuxer 阅读(44) 评论(0) 推荐(0)
摘要: 收到ACK时,tcp_slow_start_after_idle ==1;报文都已经被ack,也就是inflight==0 则 检查是否应该tcp_cwnd_restart static int tcp_ack_update_window(struct sock *sk, const struct 阅读全文
posted @ 2024-12-19 14:51 codestacklinuxer 阅读(19) 评论(0) 推荐(0)
摘要: // Test of slow start when not application-limited, so that // the cwnd continues to grow. // In this variant, the receiver sends one ACK per 4 packet 阅读全文
posted @ 2024-12-18 02:02 codestacklinuxer 阅读(21) 评论(0) 推荐(0)
摘要: 还是同样的脚本: // Test shifting of newly-SACKed ranges onto the previous already-SACKed skb. // This variant tests non-FACK SACK with SACKs coming in the or 阅读全文
posted @ 2024-12-18 01:32 codestacklinuxer 阅读(45) 评论(0) 推荐(0)
摘要: // Test shifting of newly-SACKed ranges onto the previous already-SACKed skb.// This variant tests non-FACK SACK with SACKs coming in the order// 2 6 阅读全文
posted @ 2024-12-17 19:57 codestacklinuxer 阅读(25) 评论(0) 推荐(0)
摘要: // Test PRR-slowstart implementation. // In this variant we verify that the sender uses SACK info on an ACK // below snd_una. // Set up config. `../co 阅读全文
posted @ 2024-12-16 23:35 codestacklinuxer 阅读(21) 评论(0) 推荐(0)
摘要: PRR算法(Proportional Rate Reduction)决定在丢包恢复(Loss Recovery)期间,对应于每个ACK报文,可发送的报文数量。目的是:1)快速平稳的从Loss中恢复;2)恢复之后拥塞窗口收敛与ssthresh。主要是为了解决Linux内核之前采用的恢复算法Rate-h 阅读全文
posted @ 2024-12-16 18:59 codestacklinuxer 阅读(128) 评论(0) 推荐(0)
摘要: 可以看出cache 适用了3GB; Cached (3.4 GB) 这就是 free 里显示的 buff/cache ≈ 3G 的主要部分。 它表示文件内容被缓存到内存里(page cache)。 举例:你 cat 或 less 一个大文件,下次再读的时候就会从这里命中,不用去磁盘。 [root@l 阅读全文
posted @ 2024-12-16 17:18 codestacklinuxer 阅读(4) 评论(0) 推荐(0)
摘要: tcp的struct 解释https://www.cnblogs.com/codestack/p/15578849.html 1、tcp_sock 成员 tp->undo_retrans ;//标记是否发生过真正的重传。如果此标记为 0,则表示没有实际的重传。 在进入 disorder或者recov 阅读全文
posted @ 2024-10-29 17:27 codestacklinuxer 阅读(38) 评论(0) 推荐(0)
摘要: https://beta.computer-networking.info/syllabus/default/exercises/tcp-2.html 转载:https://blog.csdn.net/m0_38068229/article/details/80417503 一次拥塞中丢失多个报文时 阅读全文
posted @ 2024-10-28 19:27 codestacklinuxer 阅读(60) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 70 下一页