VictoriaMetrics/app/vmagent/remotewrite
Zongyang 0a796f7c3a
Change default value of '-remoteWrite.queues' to cgroup.AvailableCPUs * 2 (#1385)
* Change default value of '-remoteWrite.queues' to cgroup.AvailableCPUS() * 2 to reduce scrape interval

Default value of vmagent option '-remotewrite.queues' is 4 and default
size of vmagent ScheudleUnmarshalWorkers is number of CPUs, when available
CPUs is much greater than 4, e.g 32, worker are competing push queues
which will increase scrape interval and may cause scrape timeout.

* Update README and flag description

Co-authored-by: xiaozy <xiaozy01@fenbi.com>
2021-06-16 12:16:44 +03:00
..
client.go app/vmagent/remotewrite: use WARN level instead of ERROR level for couldnt send a block with size ... bytes to ... log message 2021-05-24 15:43:59 +03:00
pendingseries.go app/vmagent/remotewrite: sort labels before sending the series to per-remoteWrite.url queues 2021-05-20 02:12:36 +03:00
relabel.go app/{vmagent,vminsert}: follow-up after 2fe045e2a4 2021-06-04 20:27:58 +03:00
remotewrite.go Change default value of '-remoteWrite.queues' to cgroup.AvailableCPUs * 2 (#1385) 2021-06-16 12:16:44 +03:00
statconn.go all: make golint happy 2021-03-17 00:49:28 +02:00