ltagliamonte-dd commented on PR #2764:
URL: https://github.com/apache/kvrocks/pull/2764#issuecomment-2631137498

   > @ltagliamonte-dd Could you please elaborate on the change? I see that we 
can set max_background_compactions and max_background_flushes. It's not enough? 
Or it's something different?
   
   Hello @torwig, I'm very new to rocksdb, I may be wrong, but:
   max_background_jobs/max_background_compactions/max_background_flushes are 
higher-level setting that controls the total number of concurrent background 
operations that RocksDB will perform.
   
   SetBackgroundThreads controls the size of the thread pools separately for 
HIGH priority (typically compactions) and LOW priority (typically flushes) 
operations.
   
   this is my understanding reading this 
[doc](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#parallelism-options)
   
   so for optimal perfomances you should configure both.


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