[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Tracking available memory on a compute host



On 01/30/2018 10:58 AM, Steve Huston wrote:
> Is there no way to have condor daemons monitor the actual available
> memory on a host and allow classads to be matched against it to ensure
> jobs don't flock to a host without enough free RAM?

Deferred allocation model that has traditionally been one unix's big
wins. If you don't like it, linux kernel lets you set allocation model
to immediate and then if a process requests more RAM than is available
now, the kernel won't start it.

Of course this completely ignores the issue of swapping/thrashing, and
the kernel's inability to always track the memory correctly, and it only
works if every process tells the truth about its memory requirements up
front, but you can do it. There's no need to involve condor daemons.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature