@cryptotaxi247 / infra-1 / commits / c7962a91

* Fix the cgroup rules (.hydra_build.pl -> hydra-build, etc.). Also put SSH sessions in a high priority group to ensure we can log in under high load.

* Fix the cgroup rules (.hydra_build.pl -> hydra-build, etc.). Also put SSH sessions in a high priority group to ensure we can log in under high load. svn path=/configurations/trunk/tud/; revision=34351

Eelco Dolstra committed Jun 4, 2012 at 16:09 UTC c7962a912bf8bf9b31c95f1fd79e51269a2084e5
1 file changed +9 -3
lucifer.nix
+9 -3
@@ -83,6 +83,11 @@
83 cpu = /dev/cgroup/cpu;
84 blkio = /dev/cgroup/blkio;
85 }
86 + group sshd {
87 + cpu {
88 + cpu.shares = "2000";
89 + }
90 + }
91 group hydra-server {
92 cpu {
93 cpu.shares = "700";
@@ -109,12 +114,13 @@
114 '';
115 rules =
116 ''
117 + root:sshd cpu sshd
118 root:nix-worker cpu,blkio hydra-build
119 root:build-remote.pl cpu,blkio hydra-build
120 hydra:nix-store cpu,blkio hydra-build
115 - hydra:.hydra_build.pl-wrapped cpu,blkio hydra-build
116 - hydra:.hydra_evaluator.pl-wrapped cpu hydra-evaluator
117 - hydra:.hydra_server.pl-wrapped cpu hydra-server
121 + hydra:.hydra-build-wrapped cpu,blkio hydra-build
122 + hydra:.hydra-evaluator-wrapped cpu hydra-evaluator
123 + hydra:.hydra-server-wrapped cpu hydra-server
124 hydra-mirror cpu hydra-mirror
125 '';
126 };