On 10/26/2015 07:05 AM, Daniel Letai wrote: > > It would be easy if there was a way to force TRES allocation/reconfiguration, > e.g. > Add the swap as GRES/swap, and on suspend transfer the allocation from > TRES=mem=64,GRES/swap=0 to TRES=mem=0,GRES/swap=64. Then you could start the > new > job which requires available mem.
That would be cool, but then you'd need to implement CR_CPU_Memory_Swap, seems easier to just not count the memory of suspended jobs.
