File tree 1 file changed +6
-6
lines changed
ydb/core/blobstorage/vdisk/common
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ class TBsCostModelBase {
28
28
29
29
// Estimated Coefficients
30
30
// cost = A + B * size
31
- double WriteA = 2520 ;
32
- double WriteB = 5.7668 ;
31
+ double WriteA = 6500 ;
32
+ double WriteB = 11.1 ;
33
33
34
34
double ReadA = WriteA;
35
35
double ReadB = WriteB;
36
36
37
- double HugeWriteA = 1.26748409e +06 ;
38
- double HugeWriteB = 2.69514462e+01 ;
37
+ double HugeWriteA = 6.089e +06 ;
38
+ double HugeWriteB = 8.1 ;
39
39
40
40
private:
41
41
enum class EMemoryOperationType {
@@ -206,9 +206,9 @@ class TBsCostModelBase {
206
206
// WRITES
207
207
ui64 GetCost (const NPDisk::TEvChunkWrite& ev) const {
208
208
if (ev.PriorityClass == NPriPut::Log) {
209
- return EstimatedWriteCost (ev.PartsPtr ->Size ());
209
+ return EstimatedWriteCost (ev.PartsPtr ->ByteSize ());
210
210
} else {
211
- return EstimatedHugeWriteCost (ev.PartsPtr ->Size ());
211
+ return EstimatedHugeWriteCost (ev.PartsPtr ->ByteSize ());
212
212
}
213
213
}
214
214
};
You can’t perform that action at this time.
0 commit comments