shrink memtable/arena limit
This commit is contained in:
parent
cbc1e24b08
commit
0fe2673791
@ -779,7 +779,7 @@ int main(int argc, char *argv[]) {
|
||||
cfo.min_blob_size = args.blob_size;
|
||||
cfo.disable_auto_compactions = true;
|
||||
cfo.write_buffer_size = 64 << 20;
|
||||
cfo.max_write_buffer_number = 128;
|
||||
cfo.max_write_buffer_number = 16;
|
||||
|
||||
auto cache = rocksdb::NewLRUCache(3 << 30);
|
||||
rocksdb::BlockBasedTableOptions table_options{};
|
||||
@ -1009,8 +1009,8 @@ int main(int argc, char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
fmt::println(
|
||||
"engine=rocksdb workload={} mode={} durability={} threads={} total_op={} ok_op={} err_op={} ops={} p99_us={} result_file={}",
|
||||
fmt::println("engine=rocksdb workload={} mode={} durability={} threads={} total_op={} ok_op={} err_op={} ops={} "
|
||||
"p99_us={} result_file={}",
|
||||
row.workload_id, row.mode, durability_str(row.durability_mode), row.threads, row.total_op, row.ok_op,
|
||||
row.err_op, static_cast<uint64_t>(row.ops), row.quantiles.p99_us, args.result_file);
|
||||
|
||||
|
||||
@ -716,7 +716,7 @@ fn main() {
|
||||
opt.max_log_size = 1 << 30;
|
||||
opt.wal_buffer_size = 64 << 20;
|
||||
opt.wal_file_size = 128 << 20;
|
||||
opt.default_arenas = 128;
|
||||
opt.default_arenas = 16;
|
||||
opt.gc_timeout = 600 * 1000;
|
||||
opt.gc_eager = false;
|
||||
opt.data_garbage_ratio = 50;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user