aboutsummaryrefslogtreecommitdiff
path: root/gn/deploy/octopus.scm
diff options
context:
space:
mode:
authorEfraim Flashner2021-02-03 08:44:16 +0000
committerEfraim Flashner2021-02-03 08:44:27 +0000
commit8a00f84b33900a454c3b0822f412834ea7df5d8f (patch)
treeb4096443ffa90b763565d4c379fc761db63fd94a /gn/deploy/octopus.scm
parent3f8c84a33d18f932788c1132df35511d989879c1 (diff)
downloadguix-bioinformatics-8a00f84b33900a454c3b0822f412834ea7df5d8f.tar.gz
octopus config changes
Diffstat (limited to 'gn/deploy/octopus.scm')
-rw-r--r--gn/deploy/octopus.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gn/deploy/octopus.scm b/gn/deploy/octopus.scm
index d3a0a6a..51e9ded 100644
--- a/gn/deploy/octopus.scm
+++ b/gn/deploy/octopus.scm
@@ -4,7 +4,7 @@
(gn services file-systems)
(gn services science)
(srfi srfi-26))
-(use-service-modules networking ssh web)
+(use-service-modules networking ssh sysctl web)
(use-package-modules parallel shells)
(define %efraimf-ssh-pubkey
@@ -96,6 +96,11 @@
(authorized-keys
`(("efraimf" ,%efraimf-ssh-pubkey)))))
+ (service sysctl-service-type
+ (sysctl-configuration
+ (settings '(("vm.overcommit_memory" . "2")
+ ("vm.overcommit_ratio" . "90")))))
+
(service munge-service-type)
(service slurm-service-type
(slurm-configuration
@@ -110,9 +115,10 @@
(slurm-extra-content
(string-append
"StateSaveLocation=/var/spool/slurmd/ctld # default /var/spool\n"
- "ProctrackType=proctrack/pgid # default proctrack/cgroup\n"
"ReturnToService=1 # default 0\n"
"DebugFlags=NO_CONF_HASH # default empty\n"
+ "SelectType=select/cons_res # default select/linear\n"
+ "SelectTypeParameters=CR_CPU # default 0\n"
"# COMPUTE NODES\n"
"NodeName=octopus CPUs=1 Boards=1 SocketsPerBoard=1 CoresPerSocket=1 ThreadsPerCore=1 RealMemory=1024\n"
"PartitionName=debug Nodes=ALL Default=YES MaxTime=INFINITE State=UP"))