上一页 1 2 3 4 5 6 7 8 ··· 70 下一页
摘要: 还是同样的脚本: // 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 阅读(54) 评论(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 阅读(33) 评论(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 阅读(28) 评论(0) 推荐(0)
摘要: PRR算法(Proportional Rate Reduction)决定在丢包恢复(Loss Recovery)期间,对应于每个ACK报文,可发送的报文数量。目的是:1)快速平稳的从Loss中恢复;2)恢复之后拥塞窗口收敛与ssthresh。主要是为了解决Linux内核之前采用的恢复算法Rate-h 阅读全文
posted @ 2024-12-16 18:59 codestacklinuxer 阅读(157) 评论(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 阅读(7) 评论(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 阅读(48) 评论(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 阅读(74) 评论(0) 推荐(0)
摘要: 之前有涉及到 table 查找https://www.cnblogs.com/codestack/p/15975344.html fib的创建https://www.cnblogs.com/codestack/p/15964568.html https://vincent.bernat.ch/en/ 阅读全文
posted @ 2024-10-16 20:42 codestacklinuxer 阅读(71) 评论(0) 推荐(0)
摘要: 发送tcp报文时: nc 10.10.10.2 80 tcp_v4_connect 1.1 >ip_route_connect static inline struct rtable *ip_route_connect(struct flowi4 *fl4, __be32 dst, __be32 s 阅读全文
posted @ 2024-10-14 21:58 codestacklinuxer 阅读(39) 评论(0) 推荐(0)
摘要: skb结构体中的成员_skb_refdst用于暂时缓存出口/入口路由,避免在skb生存期中反复查找路由 sock结构体中有两个成员缓存路由:sk_rx_dst缓存入口路由,sk_dst_cache缓存出口路由 SKB路由缓存 skb_dst_set需要在调用前增加引用计数(dst_clone);而s 阅读全文
posted @ 2024-10-14 21:58 codestacklinuxer 阅读(144) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 70 下一页