Skip to content
Snippets Groups Projects
Commit 29f4475f authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #9522: Use IO & RT priorities again now that outputProc has sys_nice and...

Task #9522: Use IO & RT priorities again now that outputProc has sys_nice and ipc_lock capabilities on CEP4
parent 7566d454
No related branches found
No related tags found
No related merge requests found
...@@ -114,20 +114,12 @@ bool process(Stream &controlStream) ...@@ -114,20 +114,12 @@ bool process(Stream &controlStream)
* Real-time observation * 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 // Acquire elevated IO and CPU priorities
setIOpriority(); setIOpriority();
setRTpriority(); setRTpriority();
// Prevent swapping of our buffers // 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. // Deadline for outputProc, in seconds.
const time_t outputProcTimeout = const time_t outputProcTimeout =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment