Skip to content

Commit

Permalink
#964: Change compaction and remote bootstrap rate defaults.
Browse files Browse the repository at this point in the history
Summary:
Increase both these from 100MB to 256MB/sec
--rocksdb_compact_flush_rate_limit_bytes_per_sec
--remote_boostrap_rate_limit_bytes_per_sec

Test Plan: Jenkins

Reviewers: hector, mikhail, kannan

Reviewed By: kannan

Subscribers: ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D6312
  • Loading branch information
bbaddepudi committed Mar 14, 2019
1 parent 19ef77f commit c847562
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/yb/docdb/docdb_rocksdb_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ DEFINE_int32(rocksdb_universal_compaction_size_ratio, 20,
"The percentage upto which files that are larger are include in a compaction.");
DEFINE_int32(rocksdb_universal_compaction_min_merge_width, 4,
"The minimum number of files in a single compaction run.");
DEFINE_int64(rocksdb_compact_flush_rate_limit_bytes_per_sec, 100 * 1024 * 1024,
DEFINE_int64(rocksdb_compact_flush_rate_limit_bytes_per_sec, 256_MB,
"Use to control write rate of flush and compaction.");
DEFINE_uint64(rocksdb_compaction_size_threshold_bytes, 2ULL * 1024 * 1024 * 1024,
"Threshold beyond which compaction is considered large.");
Expand Down
2 changes: 1 addition & 1 deletion src/yb/tserver/remote_bootstrap_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ DEFINE_test_flag(int32, simulate_long_remote_bootstrap_sec, 0,
"We use this for testing a scenario where a remote bootstrap takes longer than "
"follower_unavailable_considered_failed_sec seconds");

DEFINE_int64(remote_boostrap_rate_limit_bytes_per_sec, 100_MB,
DEFINE_int64(remote_boostrap_rate_limit_bytes_per_sec, 256_MB,
"Maximum transmission rate during a remote bootstrap. This is across all the remote "
"bootstrap sessions for which this process is acting as a sender or receiver. So "
"the total limit will be 2 * remote_boostrap_rate_limit_bytes_per_sec because a "
Expand Down

0 comments on commit c847562

Please sign in to comment.