Skip to content

Commit

Permalink
Improve burst threshold calculation (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 authored Mar 13, 2024
1 parent 6f5a6b8 commit 7e1e263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TBsCostTracker::TBsCostTracker(const TBlobStorageGroupType& groupType, NPDisk::E
, DefragDiskCost(CostCounters->GetCounter("DefragDiskCost", true))
, InternalDiskCost(CostCounters->GetCounter("InternalDiskCost", true))
, DiskTimeAvailableCtr(CostCounters->GetCounter("DiskTimeAvailable", false))
, BucketCapacity(burstThresholdNs * diskTimeAvailableScale / GroupType.BlobSubgroupSize())
, BucketCapacity(burstThresholdNs * diskTimeAvailableScale)
, Bucket(&DiskTimeAvailable, &BucketCapacity, nullptr, nullptr, nullptr, nullptr, true)
, DiskTimeAvailableScale(diskTimeAvailableScale)
{
Expand Down

0 comments on commit 7e1e263

Please sign in to comment.