-
Notifications
You must be signed in to change notification settings - Fork 976
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
FR: enable --idle-threads by default #2638
Comments
I would like this as our current workaround is to update the systemd unit file via puppet -> daemon reload -> restart proxysql. Alternatives could be: Only downside is managing those configuration files per distro, but the flexibility it provides may outweigh. |
This will enable aux threads by default as per #2638
The idea proposed by @Nrezinorn is an elegant solution, since we are using This will require considerable testing as we will need to verify it is used as expected across all distributions and will form part of the upcoming package build refactoring tasks planned. For the time being I've modified both the unit file and init scripts to use v2.0.11 will run with auxiliary threads enabled by default! |
Closing this, work will be continued on #2722 |
This will enable aux threads by default as per #2638
We too often recommend to use
--idle-threads
(see doc), because it seems suitable for the majority of the workload.We should consider enabling
--idle-threads
as default, and add a new command line argument to disable it, for example--no-idle-threads
.What workloads benefit from not using
--idle-threads
?Extremely busy workloads, for example the ones executing during
sysbench
benchmark.But the majority of real workloads have very different pattern than
sysbench
.The text was updated successfully, but these errors were encountered: