I have done the sysbench test on CockroachDB v1.1.2. And I did the test 2 times. Firstly, I used only one machine to do the test.Secondly, I use two machines of the cluster do the same test. Then I found that there maybe a problem about the result of my test. The indicator query per second is always around 11000. The first time is 10926, and the second on two machines totally (5544 add 5693) is 11237. I have checked the use of disks, networks, memory and cpu during the test, all of these did not reach the bottleneck. So I want to know the reason why the indicator queries per second can not improve. Which limits the performance of the indicator?
Now I will give the detail information of the test.
testing environment
OS | CentOS 7 |
---|---|
CPU | 64 vCPUs, Intel® Xeon® CPU E7-4820 v2 @ 2.00GHz |
RAM | 256G |
DISK | 275G SSD |
node start command:
/usr/local/bin/cockroach start --insecure --host=172.16.50.103 --store=/ssd2/cockroach-data --join=172.16.50.101:26257,172.16.50.102:26257,172.16.50.103:26257 --cache=25% --max-sql-memory=25% --http-port=2333 &
The first test
Cluster Monitoring

disk and cpu useage
result:
the secnod test:
Cluster Monitoring
disk and cpu useage
-------the machine 172.16.50.101:
--------the machine 172.16.50.102:
the result:
the machine 172.16.50.101
the machine 172.16.50.102