Forum: help
Monitor Forum | Start New ThreadRun RServe child processes at a lower priority [ Reply ] By: R. Schreurs on 2019-06-13 09:28 | [forum:46801] |
We are using Rserve to perform calculations in R. Rserve is running on Red Hat Linux. Calculations may take up to a few hours to complete and are CPU-bound. We use a queuing mechanism to limit the number of tasks run in parallel. This all works fine, since, on average, the number of tasks is not higher than the number of CPU-cores. However, if all (or many?) CPU-cores are in use, any interactive session on the Linux box runs extremely slow. I would be nice if all child processes of Rserve were running at a lower priority. I expected to find some setting, e.g. in RS-conf options, to give a _nice_ to child processes. However, I could not find any. For now, we _renice_ all child processes at regular intervals, but it would be nice if we could start them at a lower priority. Any suggestions on how to achieve this? Would this be worth a feature request in Rserve? |