mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
main: increase Seastar reactor task quota in debug mode
Debug mode is so slow that the work:poll ratio decreases, leading to even more slowness as more polling is done for the same amount of work. Increase the task quota to recover some performance. Ref #14752. Closes #14820
This commit is contained in:
committed by
Pavel Emelyanov
parent
cf81eef370
commit
d73a393670
4
main.cc
4
main.cc
@@ -553,6 +553,10 @@ For more information about individual tools, run: scylla {tool_name} --help
|
||||
To start the scylla server proper, simply invoke as: scylla server (or just scylla).
|
||||
)";
|
||||
app_cfg.default_task_quota = 500us;
|
||||
#ifdef DEBUG
|
||||
// Increase the task quota to improve work:poll ratio in slow debug mode.
|
||||
app_cfg.default_task_quota = 5ms;
|
||||
#endif
|
||||
app_cfg.auto_handle_sigint_sigterm = false;
|
||||
app_cfg.max_networking_aio_io_control_blocks = 50000;
|
||||
// We need to have the entire app config to run the app, but we need to
|
||||
|
||||
Reference in New Issue
Block a user