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:
Avi Kivity
2023-07-25 16:58:03 +03:00
committed by Pavel Emelyanov
parent cf81eef370
commit d73a393670

View File

@@ -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