Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBR估算出的结果不太准确 #5

Open
ghost0906 opened this issue Oct 26, 2023 · 0 comments
Open

BBR估算出的结果不太准确 #5

ghost0906 opened this issue Oct 26, 2023 · 0 comments

Comments

@ghost0906
Copy link

按照代码中的算法进行带宽评估,
info->inflight_size = trace_stats.pktFlightSize * 188 * 7; info->bandwidth = trace_stats.mbpsSendRate * 1024 * 1024; info->rtt = trace_stats.msRTT; double estimateMaxBandwidth = (maxBandwidth * minRtt) / 1000; int64_t curState = 1.3 * estimateMaxBandwidth - inFlightSize * 8;
以下是一部份查询结果:
getNetStatus bw:1626885 inflight:53956 rtt:48 maxBw:1958695 minRtt:48
getNetStatus bw:1814032 inflight:151340 rtt:49 maxBw:1941641 minRtt:48
计算出来的final_state如下:
getNetStatus curState:-337631 final:-3633828
getNetStatus curState:-1117522 final:-3935372
一直判断为带宽不足,是哪里查询的数据有问题吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant