hangc0276 opened a new pull request, #4120:
URL: https://github.com/apache/bookkeeper/pull/4120

   ### Motivation
   When deploying Bookie on K8s with limited CPU resources, once the CPU is 
throttled, the journal write latency will increase.
   One case of causing CPU throttle is garbage collection triggered.
   
![image](https://github.com/apache/bookkeeper/assets/5436568/35e4f518-7edf-4a7c-b582-586854c96171)
   
   <img width="1711" alt="image" 
src="https://github.com/apache/bookkeeper/assets/5436568/26bdd6d8-a52d-4e42-a157-9cac3684e9f7";>
   
   
   The journal write latency is sensitive with the journal CPU, especially when 
the CPU is throttled.
   
   ### Modifications
   Increase the JournalThread and ForceWriteThread priority to reduce the 
latency impaction when the CPU is being throttled.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to