Cicizz opened a new issue #601: Why use spinlocks by default?
URL: https://github.com/apache/rocketmq/issues/601
 
 
   Hello.
   When I upgrade rocketmq version 3.2.6 to 4.31,I found some configuration 
defaults changed
   `useReentrantLockWhenPutMessage=false`
   `sendMessageThreadPoolNums=1`
   `sendThreadPoolQueueCapacity=10000`
   but when I was doing a send message performance test,I found the TPS is very 
low and cpu is high.so I changed the configuration:
   `useReentrantLockWhenPutMessage=true`
   `sendMessageThreadPoolNums=32`
   `sendThreadPoolQueueCapacity=100000`
   I wonder why use this default configuration?
   
   ** The machine configuration **
   8cpu and 16g memory and 300g disk

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to