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 2022/02/08 09:21:19 UTC

[GitHub] [rocketmq] areyouok edited a comment on issue #3825: The TCP SO_SNDBUF/SO_RCVBUF is fixed and too small, decrease throughput greatly

areyouok edited a comment on issue #3825:
URL: https://github.com/apache/rocketmq/issues/3825#issuecomment-1032385516


   Cluster produce/consume test
   
   * 6 producer and 6 consumer in 6 machines, linux kernel 3.x
   * 4 SyncMaster and 4 Slave in 2 machines, linux kernel 4.x
   * each broker has 18 queues for test topic
   * each producer has 400 threads
   * network latency: 1.61ms
   
   although the old version has poor performance in single tcp connection, but there is 6*4 tcp connection for produce and consume. So the produce performance of old version is not too bad, but it's consume qps can't keep up with the produce tps.
   
   version | body size | producer tps | consumer qps
   -- | -- | -- | --
   Old | 250 | 180,000*4 | 130,000*4 
   Old | 4,000 | 72,000*4 | 18,000*4 
   Old | 16,000 | 19,000*4 | 4,600*4   
   Old | 100,000 | 3000*4 | 800*4 
   New | 250 | 175,000*4 | 175,000*4   
   New | 4,000 | 68,000*4 | 68,000*4   
   New | 16,000 | 18,000*4 | 180,000*4   
   New | 100,000 | 2800*4 | 2800*4 
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

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