Duong created RATIS-2130:
----------------------------

             Summary: Make RocksDB cache configurable in Ozone Manager
                 Key: RATIS-2130
                 URL: https://issues.apache.org/jira/browse/RATIS-2130
             Project: Ratis
          Issue Type: Improvement
            Reporter: Duong


Ozone Manager's performance heavily depends on RocksDB performance. RocksDB 
cache plays an important role in RocksDB's read performance, especially when a 
client has to host OM's metadata in not-so-fast hardware. 

Today, OM RocksDB cache is fixed at 256MB (see DBProfile), this is unreasonable 
because the cache size should depend on the client use-case, i.e. how big is 
their active key space. For example, if a client always has 1M of hot keys 
daily, and each key metadata is 1kb, having a cache size of 1GB makes a lot of 
sense. 

Ref:
 * [https://github.com/facebook/rocksdb/wiki/Block-Cache]
 * [https://github.com/facebook/rocksdb/wiki/Performance-Benchmarks] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to