From 0ed4fc606ae0ee92113fe72f17cf3ee5381bd8f8 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Thu, 22 Nov 2018 13:21:37 +0100 Subject: [PATCH] nixos/slurm: add recommended mysql settings --- nixos/tests/slurm.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix index 7f9c266cbff6..30e408c7db1e 100644 --- a/nixos/tests/slurm.nix +++ b/nixos/tests/slurm.nix @@ -63,6 +63,12 @@ in { ensurePermissions = { "slurm_acct_db.*" = "ALL PRIVILEGES"; }; name = "slurm"; }]; + extraOptions = '' + # recommendations from: https://slurm.schedmd.com/accounting.html#mysql-configuration + innodb_buffer_pool_size=1024M + innodb_log_file_size=64M + innodb_lock_wait_timeout=900 + ''; }; };