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:
edef 2023-11-12 15:08:23 +00:00
parent 160dac0a22
commit 423ab20f43

View file

@ -9,6 +9,12 @@
# Start clickhose as a system service.
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
services.openssh.enable = true;