Skip to content

Commit 560f17a

Browse files
committed
config: change RUScale default value from 5697.054498 to 1.40
Signed-off-by: disksing <i@disksing.com>
1 parent 77f0a1d commit 560f17a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ type RUV2TiKVConfig struct {
145145
// Keep RUScale and the per-counter weights in sync with that fitting procedure when updating them.
146146
func DefaultRUV2TiKVConfig() RUV2TiKVConfig {
147147
return RUV2TiKVConfig{
148-
RUScale: 5697.054498,
148+
RUScale: 1.40,
149149

150150
TiKVKVEngineCacheMiss: 0.45975389,
151151
ResourceManagerWriteCntTiKV: 0.09642181,

config/ruv2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ func TestUpdateTiKVRUV2FromExecDetailsV2AndWriteRPCCount(t *testing.T) {
5151
},
5252
}, 31)
5353

54-
require.InDelta(t, 157258.29118786956, ruDetails.TiKVRUV2(), 1e-9)
54+
require.InDelta(t, 38.64481334, ruDetails.TiKVRUV2(), 1e-9)
5555
}

0 commit comments

Comments
 (0)