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

Re: [HTCondor-users] Swap and Docker

On 3/10/21 1:15 AM, duduhandelman@xxxxxxxxxxx wrote:
Hi All,
Is it possible to use swap with Docker universe?

Many Thanks

When HTCondor runs a docker universe job, it passes the command line parameter "-mem " to the equivalent of docker run, and gives it the memory allocated to the slot, which is roughly the value of "Request_memory" in the submit file.  This is the physical memory that docker will use for the job.  If the job tries to allocate more than that, the kernel will push the rest to paging/swap space, assuming you have swap configured on your system.