Alternative to niceload command in ubuntu? [closed]
开发者_JAVA百科
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI'm looking for some alternative to niceload utility in Ubuntu. Is there some utility like niceload that is easily available (apt-get install ...) in that distribution ?
To be more specific I've ran into a problem when running several (8) number crunching processes on my box. Occasionally one of these processes requires a lot of memory (~10Gb, for a few minutes). System have only 24Gb of memory. So I need something to prevent more than two processes simultaneously running in that 'high memory load' mode. Otherwise I'm running into very heavy swapping and system pretty much freezes.
It looks like niceload utility would do the trick, but it is not supereasy to install in Ubuntu (it is part of the GNU Parallel). Is there some alternative in Ubuntu that is readily available?
There is an Ubuntu package of GNU Parallel here: https://build.opensuse.org/package/binaries?package=parallel&project=home%3Atange&repository=xUbuntu_10.04
The new release has --start-mem
and --noswap
which seems to be exactly what you are looking for.
精彩评论