VictoriaMetrics/app
Alexander Frolov 1eb7ab1f77
vmselect: ensure default -search.maxConcurrentRequests is non-decreasing (#6996)
### Describe Your Changes

vmselect determines the default value of `-search.maxConcurrentRequests`
multiplying the number of available CPUs by 2 if and only if the number
is small (to be precise <= 4). That leads
`-search.maxConcurrentRequests` is decreasing at the edge of these two
cases as shown below:
| CPUs | MaxConcurrentRequests | MaxConcurrentRequests (original
proposal) | MaxConcurrentRequests (updated proposal) |
|--------|--------|--------|--------|
| 1 | 2 | 2 | 2 |
| 2 | 4 (prev+2) | 4 (prev+2) | 4 (prev+2) |
| 3 | 6 (prev+2) | 6 (prev+2) | 6 (prev+2) |
| 4 | 8 (prev+2) | 8 (prev+2) | 8 (prev+2) |
| 5 | 5 __(prev-3)__ | 9 __(prev+1)__ | 10 __(prev+2)__ |
| 6 | 6 (prev+1) | 10 (prev+1) | 12 (prev+2) |
| 7 | 7 (prev+1) | 11 (prev+1) | 14 (prev+2) |
| 8 | 8 (prev+1) | 12 (prev+1) | 16 (prev+2) |

I propose to make the default value non-decreasing.
2024-09-30 12:44:54 +02:00
..
victoria-logs app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vlinsert app/vlinsert: support unix timestamps in seconds and milliseconds in JSON stream data ingestion API 2024-09-28 21:57:19 +02:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 25a9802ca4 and 8657d03433 2024-09-27 13:51:58 +02:00
vlstorage vendor: update github.com/VictoriaMetrics/metrics from v1.34.1 to v1.35.0 2024-07-15 10:45:39 +02:00
vmagent stream aggregation: support configuring multiple labels per `remoteWrite… (#7073) 2024-09-27 12:40:53 +02:00
vmalert app/vmalert: mention labels conflict resolution strategy (#7085) 2024-09-27 14:43:05 +02:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmauth app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:04:39 +02:00
vmctl app/vlinsert: support _time field without timezone information during data ingestion 2024-09-26 12:50:14 +02:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:53 +02:00
vminsert app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmselect vmselect: ensure default -search.maxConcurrentRequests is non-decreasing (#6996) 2024-09-30 12:44:54 +02:00
vmstorage Introduce a flag for limiting the number of time series to delete (cluster version) (#7112) 2024-09-30 12:43:11 +02:00
vmui vmui: add link to vmalert (#7088) 2024-09-27 13:24:15 +02:00