-
Notifications
You must be signed in to change notification settings - Fork 360
multi--multi 模式下性能下降过多 #45
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
Comments
在 Single - multi - broadcast 模式下 也是存在问题。(使用msg_que 工程测试) |
你好,请问测试环境是windows还是linux,编译器、版本及编译参数是什么? |
系统:Windows |
额,性能测试请尽量不要用 debug 模式吧 |
用Release 测试了一下,也是一样的问题。 |
@mutouyun 这个点有优化打算吗 |
我测了一下,发现 smb 模式在 windows 上,多 r 端性能抖动很厉害。 周末我有整时间了再仔细看看。 |
辛苦了 |
知道原因了。问题不是无锁争用上,毕竟之前做过性能测试,不至于有这么夸张的性能损失。。 原因是大message cache的回收上。 See: issue-45 |
还是有bug,本质上是(大体积)消息消费的资源回收问题。。 |
OK, 我后面持续关注一下,这个issue 我先关了,看你另外open了一个。 |
我新开的那个是另外的bug。 |
@mutouyun 真不错,改动后的 1_s -- n_r 效果很好,1对1 性能好像也提升了 一倍的样子。 |
对了,尽量不要用 unicast 传大于 data_length(默认 64 bytes)的数据,因为现在 unicast 模式的拼包存在bug |
msg_que 示例工程:
对比:
打开多个 s 端,1个r端,速度正常
The text was updated successfully, but these errors were encountered: