Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance default value in configuration #4246

Closed
HarrisChu opened this issue May 11, 2022 · 2 comments · Fixed by #4310
Closed

enhance default value in configuration #4246

HarrisChu opened this issue May 11, 2022 · 2 comments · Fixed by #4310
Assignees
Labels
priority/hi-pri Priority: high type/feature req Type: feature request
Milestone

Comments

@HarrisChu
Copy link
Contributor

HarrisChu commented May 11, 2022

should enhance default value in configuration, so user would change less items if using in production.

e.g.

--rocksdb_block_cache=4096
--rocksdb_db_options={"max_subcompactions":"4","max_background_jobs":"4"}
# storage
DEFINE_int32(reader_handlers, 32, "Total reader handlers");
DEFINE_int32(num_worker_threads, 32, "Number of workers");

# graph
DEFINE_int32(num_worker_threads, 0, "Number of threads to execute user queries");

  if (FLAGS_num_worker_threads == 0) {
    FLAGS_num_worker_threads = std::thread::hardware_concurrency();
  }
DEFINE_bool(enable_partitioned_index_filter, false, "True for partitioned index filters");
@HarrisChu HarrisChu added the type/feature req Type: feature request label May 11, 2022
@dbacyj
Copy link
Contributor

dbacyj commented May 11, 2022

DEFINE_int32(meta_http_thread_num, 3, "Number of meta daemon's http thread");
DEFINE_uint64(raft_snapshot_timeout, 60 * 5, "Max seconds between two snapshot requests");
DEFINE_int32(snapshot_worker_threads, 4, "Threads number for snapshot");
DEFINE_int32(snapshot_io_threads, 4, "Threads number for snapshot");
DEFINE_uint32(snapshot_part_rate_limit, 1024 * 1024 * 10, "max bytes of pulling snapshot for each partition in one second");

@xiajingchun
Copy link

add 2 items to be considered:

  • wal_ttl
  • rocksdb block_size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/hi-pri Priority: high type/feature req Type: feature request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants