feat(users/flokli/archeology): turn on task_delayacct
More ClickHouse perf stats ^_^ Change-Id: I4f6882b1a6c1ebfed9a430e62ca634a141cd1cf1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9998 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
160dac0a22
commit
423ab20f43
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@
|
||||||
# Start clickhose as a system service.
|
# Start clickhose as a system service.
|
||||||
services.clickhouse.enable = true;
|
services.clickhouse.enable = true;
|
||||||
|
|
||||||
|
# for ClickHouse
|
||||||
|
# We're keeping this here rather than in the NixOS module, because I suspect
|
||||||
|
# this opens up timing side channels. This is a single-user, single-purpose
|
||||||
|
# machine, so that isn't a concern here.
|
||||||
|
boot.kernel.sysctl."kernel.task_delayacct" = 1;
|
||||||
|
|
||||||
# Enable SSH and let edef and flokli in
|
# Enable SSH and let edef and flokli in
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue