zhengJade opened a new pull request, #2819: URL: https://github.com/apache/brpc/pull/2819
### What problem does this PR solve? 对 brpc 先有性能做了提升 Problem Summary: 目前的 brpc 网络事件存在两个问题 1. epoll 线程和其他 bthread 具有相同优先级,导致 epoll 线程可能被一小段时间在队列中无响应,引起 worker queue 任务数量分布不均匀,多对一的 steal。 2. 网络事件无差别 signal,增加了系统调用。 ### What is changed and the side effects? epoll 线程不在 queue 中,独立出来 Side effects: - Performance effects(性能影响): 性能平均提升 20%-25% - Breaking backward compatibility(向后兼容性): 兼容 ### 压测结果 - worker num:9 - core: 64 - arch: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz - 工具 rpc_press - proto: echo #### 优化前 - 1w  - 5w  - 10w  #### 优化后 1w  - 5w  - 10w  --- ### Check List: - Please make sure your changes are compilable(请确保你的更改可以通过编译). - When providing us with a new feature, it is best to add related tests(如果你向我们增加一个新的功能, 请添加相关测试). - Please follow [Contributor Covenant Code of Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md).(请遵循贡献者准则). -- 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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org