areyouok commented on issue #3315: URL: https://github.com/apache/rocketmq/issues/3315#issuecomment-914021960
You should check if there is bottleneck in client side. I setup a 4.9.1 master/slave pair. 6 client send total 95000 TPS (produce and consume). P99 is 1.0 ms. All configuration is default. ``` # sudo sysctl -w vm.min_free_kbytes=10000000 # modify this carefully sudo sysctl -w vm.overcommit_memory=1 sudo sysctl -w vm.drop_caches=1 sudo sysctl -w vm.zone_reclaim_mode=0 sudo sysctl -w vm.max_map_count=655360 sudo sysctl -w vm.dirty_background_ratio=50 sudo sysctl -w vm.dirty_ratio=50 sudo sysctl -w vm.dirty_writeback_centisecs=360000 sudo sysctl -w vm.page-cluster=3 sudo sysctl -w vm.swappiness=1 ``` -- 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]
