You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/12/13 01:16:06 UTC
[GitHub] Cicizz opened a new issue #601: Why use spinlocks by default?
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:
users@infra.apache.org
With regards,
Apache Git Services