KAFKA-4484: Set more conservative default values on RocksDB for memory usage#2525
KAFKA-4484: Set more conservative default values on RocksDB for memory usage#2525dguy wants to merge 1 commit intoapache:trunkfrom
Conversation
|
@guozhangwang @mjsax @enothereska |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
This is GREAT! Thanks @dguy , will take a look soon. |
|
Just discussed with @guozhangwang why it is "great" that we get a "throughput drop" -- I was confused about this comment. But that's not what he meant. The "great" is for the general investigation done :) |
|
@dguy can we try the "count" test that does aggregates? (albeit each key happens only once, so kind of worst case perf). |
|
How are these changes comparable to what Henry has done to fine tune performance (see description on the JIRA)? Have we understood the implication of changing the cache size on a variety of workloads? We are in the middle of doing performance tests to understand this behaviour, I wouldn't recommend lowering these values just yet. Thanks. |
|
@enothereska this task has nothing to do with performance tuning. It is about lowering some settings so that by default we are more conservative on memory. |
|
@dguy I tried Henry's configuration, the only thing that made a difference for me was the compaction set to LEVEL (not UNIVERSAL) and compression set to SNAPPY. Both of them improved performance quite a bit. Do you want to make those two changes too in this JIRA so we have 1 JIRA with the changes? So in RocksDbStore:
|
|
@enothereska I've done further testing of this with the settings you have suggested etc. Snappy Compression Level Compaction |
|
I'd go with the first option as they are currently on PR. Thanks. I guess this is ready to merge? LGTM. |
|
Btw, I made the array bytes random here: ed32d49 |
…y usage Lowered the default RocksDB settings for the block cache and write buffers Author: Damian Guy <damian.guy@gmail.com> Reviewers: Eno Thereska, Guozhang Wang Closes apache#2525 from dguy/kafka-4484
Lowered the default RocksDB settings for the block cache and write buffers