Evgeny e709a115ba congestion: заменить AIMD на BBR v3 (per-link), добавить юнит-тесты BBR
- Новые файлы: src/etcp_bbr.h/c — полный порт BBR v3 из BBR/bbr_v3.c (референс сохранён)
- struct ETCP_LINK: удалены AIMD-поля (rtt_history, rtt_swm, stat_win, stats_timer, inflight_phase...), добавлены bbr*, delivered_bytes, bbr_pacing_rate
- struct INFLIGHT_PACKET: +3 поля для rate_sample (delivered_at_send, inflight_at_send, is_app_limited)
- etcp_ack_recv: вызов bbr_main() с rate_sample, обновление inflight_lim_bytes и pacing
- etcp_request_pkt: заполнение BBR rate_sample полей при отправке
- Шейпер: bandwidth обновляется из bbr_pacing_rate
- Конфиг: inflight_min/max заменены на bbr_max_cwnd
- Дамп: BBR поля (mode, cycle, pacing, min_rtt_us, bw_hi/lo, inflight_hi/lo)
- Time injection: bbr->now_tb для детерминированных тестов
- tests/test_etcp_bbr.c: 8 юнит-тестов (init, startup, full_bw/drain, loss, cwnd cap, loss cut, fast_path, probe_rtt)
- Отключены test_etcp_congestion и test_etcp_reinit_inflight (старый congestion control)
- 40/40 тестов пройдено
2026-06-01 12:58:31 +03:00
2026-04-25 18:42:20 +03:00
ag
2026-05-31 13:44:55 +03:00
1
2026-04-21 16:14:03 +00:00
1
2026-02-28 16:25:01 +03:00
1
2026-03-08 18:52:53 +03:00
1
2026-02-28 16:25:01 +03:00
…
1
2026-03-08 19:59:42 +03:00
2026-03-06 15:55:16 +03:00
S
Description
No description provided
GPL-3.0
468 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 63.5%
C++ 17.3%
Kotlin 9.4%
HTML 6.6%
Python 1.2%
Other 1.7%