Adjusting Memory to account for vCPU count on Batch

0

Occasionally, Batch will place a job on an instance that has more CPU cores than I requested. My task can take advantage of the extra threads easily, but the memory requirements go up if that happens, often leading to an OOM (out of memory) crash.

Is there a way to have a core-based memory limit? Or do I need to limit my job to only use the threads I requested?

Related question - if I request 16 vCPUs for a job but the container runs on an instance with 128 vCPUs, is Batch able to place other containers on the same instance? In which case, trying to use 128 threads would potentially be counterproductive anyway?

gefragt vor einem Jahr87 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen