guodongxiaren opened a new pull request, #2018:
URL: https://github.com/apache/incubator-brpc/pull/2018
### What problem does this PR solve?
Issue Number:
Problem Summary:
### What is changed and the side effects?
Changed:
Side effects:
- Performance effe
guodongxiaren closed pull request #2017: all opt
URL: https://github.com/apache/incubator-brpc/pull/2017
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
guodongxiaren opened a new pull request, #2017:
URL: https://github.com/apache/incubator-brpc/pull/2017
### What problem does this PR solve?
Issue Number:
Problem Summary:
### What is changed and the side effects?
Changed:
Side effects:
- Performance effe
wwbmmm commented on issue #2000:
URL:
https://github.com/apache/incubator-brpc/issues/2000#issuecomment-1327211987
>
> 我测试了一下,确实worker少的时候,write的开销也较小。深层原因是什么呢?线程数越少?write落在同一个CPU核上的概率越高,cpu
cache失效的概率越低,性能越好?对吗?
是的
--
This is an automated message from the Apache Git Service.
zhouyanghere commented on issue #2000:
URL:
https://github.com/apache/incubator-brpc/issues/2000#issuecomment-1327196831
补充开销统计:
1个worker ProcessEvent:9us, Write:5us
2个worker ProcessEvent:12us, Write:7us
4个worker ProcessEvent:29us, Write:16us
8个worker ProcessEvent:28us, W
zhouyanghere commented on issue #2000:
URL:
https://github.com/apache/incubator-brpc/issues/2000#issuecomment-1327159647
> 独立的io线程性能不一定会好,因为存在io线程和process线程之间同步的开销 你这里减小pthread
worker的数量(最小是4),应该会好一些
我测试了一下,确实worker少的时候,write的开销也较小。深层原因是什么呢?线程数越少?write落在同一个CPU核上的概率越高,cpu
cache失效的概率越