elastic / elastic/ml-cpp

[ML] Include memory required for persistence in data frame analytics memory estimates

Aperta
#1,900 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
:ml/DataFrameAnalysis
Lingua principale
C++
Stelle
157
Fork
67
Merge medio
12h 48m
PR unite (30g)
16

Descrizione

The memory estimates used in data frame analytics should include an allowance for the extra memory required during persistence and restoration. Otherwise during persistence or restoration on a maxed-out node there is a risk that some process (not necessarily the job doing persistence or restoration) gets killed because there isn't enough memory to accommodate both the model and the extra data structures used during persistence and restoration.

It would be reasonable that this is just a simple multiplier of the estimated model size. If the main extra memory usage is in compressed form then maybe 10% would be enough, or maybe 10% plus a capped amount for a single uncompressed chunk, for example, `reported memory estimate = raw memory estimate * 1.1 + min(16MB, raw memory estimate)`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.