Skip to content

Commit a5638f7

Browse files
committed
raise limits of throttling parameters (#20189)
1 parent 2f59434 commit a5638f7

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

ydb/core/blobstorage/nodewarden/node_warden_impl.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ TNodeWarden::TNodeWarden(const TIntrusivePtr<TNodeWardenConfig> &cfg)
3535
, HugeDefragFreeSpaceBorderPerMille(260, 1, 1000)
3636
, MaxChunksToDefragInflight(10, 1, 50)
3737
, ThrottlingDryRun(1, 0, 1)
38-
, ThrottlingMinLevel0SstCount(100, 1, 1000)
39-
, ThrottlingMaxLevel0SstCount(250, 1, 1000)
40-
, ThrottlingMinInplacedSizeHDD(20ull << 30, 1 << 20, 500ull << 30)
41-
, ThrottlingMaxInplacedSizeHDD(60ull << 30, 1 << 20, 500ull << 30)
42-
, ThrottlingMinInplacedSizeSSD(20ull << 30, 1 << 20, 500ull << 30)
43-
, ThrottlingMaxInplacedSizeSSD(60ull << 30, 1 << 20, 500ull << 30)
38+
, ThrottlingMinLevel0SstCount(100, 1, 100000)
39+
, ThrottlingMaxLevel0SstCount(250, 1, 100000)
40+
, ThrottlingMinInplacedSizeHDD(20ull << 30, 1 << 20, 500ull << 40)
41+
, ThrottlingMaxInplacedSizeHDD(60ull << 30, 1 << 20, 500ull << 40)
42+
, ThrottlingMinInplacedSizeSSD(20ull << 30, 1 << 20, 500ull << 40)
43+
, ThrottlingMaxInplacedSizeSSD(60ull << 30, 1 << 20, 500ull << 40)
4444
, ThrottlingMinOccupancyPerMille(900, 1, 1000)
4545
, ThrottlingMaxOccupancyPerMille(950, 1, 1000)
46-
, ThrottlingMinLogChunkCount(100, 1, 1000)
47-
, ThrottlingMaxLogChunkCount(130, 1, 1000)
46+
, ThrottlingMinLogChunkCount(100, 1, 100000)
47+
, ThrottlingMaxLogChunkCount(130, 1, 100000)
4848
, MaxInProgressSyncCount(0, 0, 1000)
4949
, MaxCommonLogChunksHDD(200, 1, 1'000'000)
5050
, MaxCommonLogChunksSSD(200, 1, 1'000'000)

ydb/core/protos/config.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,32 +1419,32 @@ message TImmediateControlsConfig {
14191419
optional uint64 ThrottlingMinLevel0SstCount = 15 [(ControlOptions) = {
14201420
Description: "Minimum level 0 SST count - throttling is turned on",
14211421
MinValue: 1,
1422-
MaxValue: 1000,
1422+
MaxValue: 100000,
14231423
DefaultValue: 100 }];
14241424
optional uint64 ThrottlingMaxLevel0SstCount = 16 [(ControlOptions) = {
14251425
Description: "Maximum level 0 SST count - throttling speed is zero",
14261426
MinValue: 1,
1427-
MaxValue: 1000,
1427+
MaxValue: 100000,
14281428
DefaultValue: 250 }];
14291429
optional uint64 ThrottlingMinInplacedSizeHDD = 17 [(ControlOptions) = {
14301430
Description: "Minimum size of all inplaced blobs (HDD) - throttling is turned on",
14311431
MinValue: 1048576,
1432-
MaxValue: 536870912000,
1432+
MaxValue: 549755813888000,
14331433
DefaultValue: 21474836480 }];
14341434
optional uint64 ThrottlingMaxInplacedSizeHDD = 18 [(ControlOptions) = {
14351435
Description: "Maximum size of all inplaced blobs (HDD) - throttling speed is zero",
14361436
MinValue: 1048576,
1437-
MaxValue: 536870912000,
1437+
MaxValue: 549755813888000,
14381438
DefaultValue: 64424509440 }];
14391439
optional uint64 ThrottlingMinInplacedSizeSSD = 24 [(ControlOptions) = {
14401440
Description: "Minimum size of all inplaced blobs (SSD) - throttling is turned on",
14411441
MinValue: 1048576,
1442-
MaxValue: 536870912000,
1442+
MaxValue: 549755813888000,
14431443
DefaultValue: 21474836480 }];
14441444
optional uint64 ThrottlingMaxInplacedSizeSSD = 25 [(ControlOptions) = {
14451445
Description: "Maximum size of all inplaced blobs (SSD) - throttling speed is zero",
14461446
MinValue: 1048576,
1447-
MaxValue: 536870912000,
1447+
MaxValue: 549755813888000,
14481448
DefaultValue: 64424509440 }];
14491449
optional uint64 ThrottlingMinOccupancyPerMille = 19 [(ControlOptions) = {
14501450
Description: "Minimum occupancy of disk per mille - throttling is turned on",
@@ -1459,12 +1459,12 @@ message TImmediateControlsConfig {
14591459
optional uint64 ThrottlingMinLogChunkCount = 22 [(ControlOptions) = {
14601460
Description: "Minimum pdisk log chunk count - throttling is turned on",
14611461
MinValue: 1,
1462-
MaxValue: 1000,
1462+
MaxValue: 100000,
14631463
DefaultValue: 100 }];
14641464
optional uint64 ThrottlingMaxLogChunkCount = 23 [(ControlOptions) = {
14651465
Description: "Maximum pdisk log chunk count - throttling speed is zero",
14661466
MinValue: 1,
1467-
MaxValue: 1000,
1467+
MaxValue: 100000,
14681468
DefaultValue: 130 }];
14691469

14701470
optional uint64 MaxInProgressSyncCount = 27 [(ControlOptions) = {

0 commit comments

Comments
 (0)