From dd111b38e4870282eb1f6fcdcea081e5e85a7edf Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Fri, 2 Sep 2016 18:33:36 +0000 Subject: [PATCH] Task #9522: Use 2 cores/process by default, to more evenly spread resources and prevent extreme load figures. Almost all pipelines have a step that requires 2 cores. --- CEP/Pipeline/framework/lofarpipe/support/remotecommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py index 9bde0ca9846..e6ccaa88d3f 100644 --- a/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py +++ b/CEP/Pipeline/framework/lofarpipe/support/remotecommand.py @@ -184,7 +184,7 @@ def run_via_custom_cmdline(logger, host, command, environment, arguments, config command = commandStr, job_name = jobname(command), - nr_cores = resources.get("cores", 1), + nr_cores = resources.get("cores", 2), ).split() logger.debug("Dispatching command to %s with custom_cmdline: %s" % (host, full_command_line)) -- GitLab