GitHub user xiaobiaozhao added a comment to the discussion: Change RocksDB to 
7.х?

## kvrocks with rocksdb_v6 vs rocksdv_v7 report
### Build
build current kvrocks and use rocksdb-v7 kvrocks  pr is  
https://github.com/xiaobiaozhao/incubator-kvrocks/pull/4

### Test steps
Test deploy

![image](https://user-images.githubusercontent.com/52393536/198837849-6ed79fb7-e00f-468f-b4b7-ebde8d24a9db.png)

stress script
```
docker run -d --rm redislabs/memtier_benchmark:latest  -t 2 -c 20 -s 
172.27.255.230 -p 6666 --distinct-client-seed  --key-minimum=100000000 
--key-maximum=10000000000 --random-data  --data-size=10000 -n 10000000000 
--command "set __key__ __data__"
```

kvrocks hardware settings
```
Cores:4C
RAM:32GB
Disk: nvme SSD 890GB
```

### monitor

> 172.27.255.230 -> kvrocks-v7
>
> 172.27.255.229 -> kvrocks-v6

kvrocks-v7 vs  kvrocks-v6 full compact monitor
```
127.0.0.1:6666> COMPACT
OK
```
![image](https://user-images.githubusercontent.com/52393536/198836052-fde65b46-47b2-4165-9a8d-deb3a706ce62.png)

172.27.255.229 disk monitor

![image](https://user-images.githubusercontent.com/52393536/198836721-f5a34ef1-aa81-4cbe-8261-0a98e6e6cd6a.png)

172.27.255.230 disk monitor

![image](https://user-images.githubusercontent.com/52393536/198836763-7bc44f8c-e82f-4487-bc6f-17b8ee07aff3.png)

Other monitoring measures were consistent

### When kvrocks compacting
|         | kvrocks(v6)                                     | kvrocks(v7)       
|
| ------- | ----------------------------------------------- | ----------------- 
|
| cpu     | to lower                                        | normal            
|
| mem     | to lower then to higher                         | normal            
|
| disk    | reads doubled and limited 500MB(kvrocks.conf) | a little big high |
| ops     | to almost zero                                  | normal            
|
| latency | to higher                                       | normal            
|

### Conclusion
1. I think the v7 version has more consistent performance than v6 in compact
2. I think kvrocks worth upgrading to rocksdb v7

GitHub link: 
https://github.com/apache/incubator-kvrocks/discussions/1013#discussioncomment-4005680

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to