The-Bioinformatics-Group / Albiorix

Code used for configuration and administration of the bioinformatics computer cluster Albiorix at the Department of Biological and Environmental Sciences and Marine sciences, University of Gothenburg.
http://albiorix.bioenv.gu.se/
4 stars 5 forks source link

CPU useage on the head node #15

Closed mtop closed 8 years ago

mtop commented 8 years ago

We have to come up with a clever way of limiting the CPU usage on the head node, so that there always is resources available for the system. Any ideas?

The current system is using ulimit scheme like this:

[mtop@albiorix ~]$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63850
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) 600
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

All default settings above except for cpu time (seconds, -t) 600. Is this the way to go?

mtop commented 8 years ago

ulimit has been set to 600 CPU seconds.