Open MaksymZavershynskyi opened 4 years ago
Some resources: rocksdb turning guide: https://github.com/facebook/rocksdb/wiki/Setup-Options-and-Basic-Tuning https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide
Parity check disk is hd/ssd and set compaction params differently: https://github.com/paritytech/parity-common/blob/92ec1826884281820ebbbfc428e6c0fbdcccb9bf/kvdb-rocksdb/src/lib.rs#L110
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Currenly our rocksdb configuration is copied from Parity. We need to make sure it is actually correctly configured for our usage. There are two groups of parameters:
set_use_fsync
,set_bytes_per_sync
, etc;We also need to educate ourselves on what are the different types of compactions are offered by rocksdb and decide which one should we use.