nixos/slurm: add recommended mysql settings

This commit is contained in:
Markus Kowalewski 2018-11-22 13:21:37 +01:00
parent 25af518845
commit 0ed4fc606a
No known key found for this signature in database
GPG Key ID: 502A248E3FB4FF48
1 changed files with 6 additions and 0 deletions

View File

@ -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
'';
};
};