utopia9527 commented on issue #2796:
URL: https://github.com/apache/brpc/issues/2796#issuecomment-2440611589

   > 
有可能是构造buffer,释放buffer,使用新buffer带来的开销,而不是原子操作带来的开销,可以在切换buffer的时候用perf抓一些symbol,检查下当时的IO和page
 fault,系统中断数,tlb miss等等,要简单验证下可以这样:准备两块buffer来回切换(即下标一直来0、1之间切换),再观察下延迟变化。
   
   ok.  thx!!


-- 
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

Reply via email to