From 29f4475f25f6c3a9bf38de96fc72217ac9ad3a05 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 17 Aug 2016 14:28:52 +0000
Subject: [PATCH] Task #9522: Use IO & RT priorities again now that outputProc
 has sys_nice and ipc_lock capabilities on CEP4

---
 RTCP/Cobalt/OutputProc/src/GPUProcIO.cc | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/RTCP/Cobalt/OutputProc/src/GPUProcIO.cc b/RTCP/Cobalt/OutputProc/src/GPUProcIO.cc
index 039f03423da..1f50d347525 100644
--- a/RTCP/Cobalt/OutputProc/src/GPUProcIO.cc
+++ b/RTCP/Cobalt/OutputProc/src/GPUProcIO.cc
@@ -114,20 +114,12 @@ bool process(Stream &controlStream)
      * Real-time observation
      */
 
-    /*
-     * Disabled elevated priviledges on CEP4 due to issues with Docker.
-     * We don't seem to need the priorities anyway, and memory limits will
-     * need to be enforced by Docker or SLURM, not us.
-
     // Acquire elevated IO and CPU priorities
     setIOpriority();
     setRTpriority();
 
     // Prevent swapping of our buffers
-    lockInMemory(16UL * 1024UL * 1024UL * 1024UL); // limit memory to 16 GB
-
-     *
-     */
+    //lockInMemory(16UL * 1024UL * 1024UL * 1024UL); // limit memory to 16 GB
 
     // Deadline for outputProc, in seconds.
     const time_t outputProcTimeout = 
-- 
GitLab