mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
lib/storage: bump max merge concurrency for small parts to 15 (#2997)
* lib/storage: bump max merge concurrency for small parts to 15 The change is based on the feedback from users on github. Thier examples show, that limit of 8 sometimes become a bottleneck. Users report that without limit concurrency can climb up to 15-20 merges at once. Signed-off-by: hagen1778 <roman@victoriametrics.com> * Update lib/storage/partition.go Signed-off-by: hagen1778 <roman@victoriametrics.com> Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
This commit is contained in:
parent
4bc37af540
commit
3d2c5b4149
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ func hasActiveMerges(pws []*partWrapper) bool {
|
||||||
|
|
||||||
var (
|
var (
|
||||||
bigMergeWorkersCount = getDefaultMergeConcurrency(4)
|
bigMergeWorkersCount = getDefaultMergeConcurrency(4)
|
||||||
smallMergeWorkersCount = getDefaultMergeConcurrency(8)
|
smallMergeWorkersCount = getDefaultMergeConcurrency(16)
|
||||||
)
|
)
|
||||||
|
|
||||||
func getDefaultMergeConcurrency(max int) int {
|
func getDefaultMergeConcurrency(max int) int {
|
||||||
|
|
Loading…
Reference in a new issue