From 7cae7ed7a51d7303cac40a3573a3f614cdf5c64a Mon Sep 17 00:00:00 2001 From: Oleg Doronin Date: Fri, 24 Jan 2025 00:04:13 +0300 Subject: [PATCH] TotalCpuLimitPercentPerNode has been added to FQ WM (#13768) (#13782) --- .../synchronization_service.cpp | 13 +++++++++---- ydb/core/fq/libs/config/protos/compute.proto | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ydb/core/fq/libs/compute/ydb/synchronization_service/synchronization_service.cpp b/ydb/core/fq/libs/compute/ydb/synchronization_service/synchronization_service.cpp index fe8df83ebd6c..fef5777b69fb 100644 --- a/ydb/core/fq/libs/compute/ydb/synchronization_service/synchronization_service.cpp +++ b/ydb/core/fq/libs/compute/ydb/synchronization_service/synchronization_service.cpp @@ -627,13 +627,15 @@ class TSynchronizeScopeActor : public NActors::TActorBootstrappedSend(self, new TEvYdbCompute::TEvCreateResourcePoolResponse(ExtractStatus(future)), 0, i); @@ -663,13 +665,16 @@ class TSynchronizeScopeActor : public NActors::TActorBootstrappedSend(self, new TEvYdbCompute::TEvCreateResourcePoolResponse(ExtractStatus(future)), 0, index); diff --git a/ydb/core/fq/libs/config/protos/compute.proto b/ydb/core/fq/libs/config/protos/compute.proto index 72b6826b692f..172a6092b1cc 100644 --- a/ydb/core/fq/libs/config/protos/compute.proto +++ b/ydb/core/fq/libs/config/protos/compute.proto @@ -35,6 +35,7 @@ message TWorkloadManagerConfig { int32 ConcurrentQueryLimit = 2; int32 QueueSize = 3; double DatabaseLoadCpuThreshold = 4; + double TotalCpuLimitPercentPerNode = 5; } bool Enable = 1;