[ARVADOS] updated: 2.1.0-1504-g68259bcde

Git user git at public.arvados.org
Tue Oct 19 15:58:55 UTC 2021


Summary of changes:
 lib/dispatchcloud/node_size.go | 1 +
 1 file changed, 1 insertion(+)

       via  68259bcde57277cb709296fc24e86826d9c131d5 (commit)
      from  b7aa839c669f1c2055ade415b99378e5c9ba0baa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 68259bcde57277cb709296fc24e86826d9c131d5
Author: Tom Clegg <tom at curii.com>
Date:   Tue Oct 19 11:57:19 2021 -0400

    16347: Reserve memory for keepstore buffers when choosing node size.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/dispatchcloud/node_size.go b/lib/dispatchcloud/node_size.go
index 7e8ce0bf4..1b10826cb 100644
--- a/lib/dispatchcloud/node_size.go
+++ b/lib/dispatchcloud/node_size.go
@@ -97,6 +97,7 @@ func ChooseInstanceType(cc *arvados.Cluster, ctr *arvados.Container) (best arvad
 
 	needRAM := ctr.RuntimeConstraints.RAM + ctr.RuntimeConstraints.KeepCacheRAM
 	needRAM += int64(cc.Containers.ReserveExtraRAM)
+	needRAM += int64(cc.Containers.LocalKeepBlobBuffersPerVCPU * needVCPUs * (1 << 26))
 	needRAM = (needRAM * 100) / int64(100-discountConfiguredRAMPercent)
 
 	ok := false

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list