Tuning MyRocks for the Insert Benchmark on a large server
I used the Insert Benchmark on a small server to see if I could improve the configuration (my.cnf) I have been using. tl;dr The good Performance is much better when subcompactions and the hyper clock cache are enabled. The not as good Peak RSS is larger for configs that enable the hyper clock cache. The problem here is not as large as it is on pure open source builds that I test because the version of jemalloc used here is tuned differently. Understanding this is a work in progress. The select min(transactionid) from TABLE query used at the start of benchmark steps can take up to 20 seconds when it should finish in a few milliseconds. I have yet to try to fix this via tuning. Updates Added values from the RocksDB perf context counters to explain the slow select min() query Builds I used MyRocks from FB MySQL 8.0.28 with source from June 2023 at git hash ef5b9b101. Benchmark The insert benchmark was run in three configurations. cached by RocksDB - all tables fit in the RocksDB bl