You may find resource oversubscription [1] helpful in this regard. Throttling (but not killing) revocable tasks is the default Mesos approach to handling resource pressure.
[1] - https://github.com/apache/aurora/blob/c4903d873d090549ebdf9a07110851b5aad7d978/docs/features/resource-isolation.md#oversubscription On Mon, Sep 19, 2016 at 8:35 AM, Giulio Eulisse <giulio.euli...@cern.ch> wrote: > Hi, > > we have two sets of jobs which we would like to run, some low priority long > running jobs, and some high priority short running ones. Given we have > enough memory to host both kind of jobs, I would like to simply throttle > (but not kill) the CPU usage of the long running jobs in order to execute > the high priority spike at 99% of the speed and then resume processing of > the long running jobs as before. Is there anything which allows me to do > that in Aurora? > > -- > Ciao, > Giulio