xichen01 commented on PR #5388:
URL: https://github.com/apache/ozone/pull/5388#issuecomment-1748501475
@adoroszlai BTW, I found a huge performance difference (approximately 20
times) between three-replica-bucket and one-replica-bucket in my dev ENV (ozone
all in one, starting a cluster by IDE, default configuration)
Is this difference in performance to be expected?
### three-replica
```java
[root@VM-8-3-centos ~]$ ozone freon ommg --operation CREATE_KEY -n 10000000
--bucket bucket-three-replica -t 30 --size 4096 --duration 60s
-- Timers
----------------------------------------------------------------------
CREATE_KEY
count = 2764
mean rate = 45.86 calls/second
1-minute rate = 43.17 calls/second
5-minute rate = 38.98 calls/second
15-minute rate = 37.96 calls/second
min = 26.76 milliseconds
max = 1765.12 milliseconds
mean = 627.56 milliseconds
stddev = 375.49 milliseconds
median = 605.48 milliseconds
75% <= 946.76 milliseconds
95% <= 1210.53 milliseconds
98% <= 1249.12 milliseconds
99% <= 1276.17 milliseconds
99.9% <= 1716.74 milliseconds
Total execution time (sec): 61
Failures: 0
Successful executions: 2764
[root@VM-8-3-centos ~]$
```
**mean rate about 50**
### one-replica
```java
[root@VM-8-3-centos ~]$ ozone sh bucket create vol1/bucket-one-replica
[root@VM-8-3-centos ~]$ ozone sh bucket set-replication-config -r ONE -t
RATIS vol1/bucket-one-replica
[root@VM-8-3-centos ~]$ ozone freon ommg --operation CREATE_KEY -n 10000000
--bucket bucket-one-replica -t 30 --size 4096 --duration 60s
CREATE_KEY
count = 59422
mean rate = 979.06 calls/second
1-minute rate = 757.65 calls/second
5-minute rate = 361.04 calls/second
15-minute rate = 269.30 calls/second
min = 8.23 milliseconds
max = 815.57 milliseconds
mean = 28.67 milliseconds
stddev = 61.64 milliseconds
median = 17.70 milliseconds
75% <= 24.23 milliseconds
95% <= 60.19 milliseconds
98% <= 105.40 milliseconds
99% <= 246.93 milliseconds
99.9% <= 815.57 milliseconds
Total execution time (sec): 61
Failures: 0
Successful executions: 59422
```
**mean rate about 1000**
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]