Skip to content

Commit e26d03a

Browse files
committed
raise limits of throttling parameters (#20189)
1 parent 36f9960 commit e26d03a

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
@@ -1417,32 +1417,32 @@ message TImmediateControlsConfig {
14171417
optional uint64 ThrottlingMinLevel0SstCount = 15 [(ControlOptions) = {
14181418
Description: "Minimum level 0 SST count - throttling is turned on",
14191419
MinValue: 1,
1420-
MaxValue: 1000,
1420+
MaxValue: 100000,
14211421
DefaultValue: 100 }];
14221422
optional uint64 ThrottlingMaxLevel0SstCount = 16 [(ControlOptions) = {
14231423
Description: "Maximum level 0 SST count - throttling speed is zero",
14241424
MinValue: 1,
1425-
MaxValue: 1000,
1425+
MaxValue: 100000,
14261426
DefaultValue: 250 }];
14271427
optional uint64 ThrottlingMinInplacedSizeHDD = 17 [(ControlOptions) = {
14281428
Description: "Minimum size of all inplaced blobs (HDD) - throttling is turned on",
14291429
MinValue: 1048576,
1430-
MaxValue: 536870912000,
1430+
MaxValue: 549755813888000,
14311431
DefaultValue: 21474836480 }];
14321432
optional uint64 ThrottlingMaxInplacedSizeHDD = 18 [(ControlOptions) = {
14331433
Description: "Maximum size of all inplaced blobs (HDD) - throttling speed is zero",
14341434
MinValue: 1048576,
1435-
MaxValue: 536870912000,
1435+
MaxValue: 549755813888000,
14361436
DefaultValue: 64424509440 }];
14371437
optional uint64 ThrottlingMinInplacedSizeSSD = 24 [(ControlOptions) = {
14381438
Description: "Minimum size of all inplaced blobs (SSD) - throttling is turned on",
14391439
MinValue: 1048576,
1440-
MaxValue: 536870912000,
1440+
MaxValue: 549755813888000,
14411441
DefaultValue: 21474836480 }];
14421442
optional uint64 ThrottlingMaxInplacedSizeSSD = 25 [(ControlOptions) = {
14431443
Description: "Maximum size of all inplaced blobs (SSD) - throttling speed is zero",
14441444
MinValue: 1048576,
1445-
MaxValue: 536870912000,
1445+
MaxValue: 549755813888000,
14461446
DefaultValue: 64424509440 }];
14471447
optional uint64 ThrottlingMinOccupancyPerMille = 19 [(ControlOptions) = {
14481448
Description: "Minimum occupancy of disk per mille - throttling is turned on",
@@ -1457,12 +1457,12 @@ message TImmediateControlsConfig {
14571457
optional uint64 ThrottlingMinLogChunkCount = 22 [(ControlOptions) = {
14581458
Description: "Minimum pdisk log chunk count - throttling is turned on",
14591459
MinValue: 1,
1460-
MaxValue: 1000,
1460+
MaxValue: 100000,
14611461
DefaultValue: 100 }];
14621462
optional uint64 ThrottlingMaxLogChunkCount = 23 [(ControlOptions) = {
14631463
Description: "Maximum pdisk log chunk count - throttling speed is zero",
14641464
MinValue: 1,
1465-
MaxValue: 1000,
1465+
MaxValue: 100000,
14661466
DefaultValue: 130 }];
14671467

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

0 commit comments

Comments
 (0)