jasonk000 commented on pull request #11722:
URL: https://github.com/apache/kafka/pull/11722#issuecomment-1026000556


   This application has a single producer thread, a high `send()` rate. The 
change reduces spinlock CPU cycles from 14.6% to 2.5% of the `send()` path, or 
more clearly a 12.1% improvement in efficiency for the `send()` path by 
reducing the duration of contention events with the network thread.
   
   Before, with `*complete_monitor*` highlighted:
   
![image](https://user-images.githubusercontent.com/3196528/151838273-042e5220-a637-49c8-9772-f4fcfd0bde0f.png)
   
   After, with `*complete_monitor*` highlighted:
   
![image](https://user-images.githubusercontent.com/3196528/151838343-6476e628-4012-40e3-b1e8-504ecadcef01.png)
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to