VictoriaMetrics/lib
Aliaksandr Valialkin 4b25e627f8 lib/workingsetcache: properly switch to whole mode
Previously the switch from `split` to `whole` mode had been performed too early,
e.g. when the current cache size became bigger than 1/4 of the allowed cache size.

Now it is performed when the current cache size becomes bigger than 1/2 of the allowed cache size.

This change can reduce memory usage for data ingestion path when big number of active time series are ingested.
2021-07-05 15:15:39 +03:00
..
auth
backup lib/backup: increase backup chunk size from 128MB to 1GB 2021-01-13 12:16:39 +02:00
bloomfilter lib/bloomfilter: fix TestLimiterConcurrent 2021-05-24 05:18:29 +03:00
buildinfo
bytesutil
cgroup lib/cgroup: set GOGC to 50 by default if it isn't set 2021-07-05 12:34:01 +03:00
consts
decimal lib/decimal: prevent exponent overflow when processing values close to zero 2021-03-05 18:53:41 +02:00
encoding lib: dump compressed block contents on error during decompression 2020-08-15 14:51:14 +03:00
envflag
envtemplate all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:17:06 +03:00
fastnum
fasttime
filestream fixes solaris build (#1345) 2021-06-04 11:56:06 +03:00
flagutil improve docs for cli flags (#1202) 2021-04-12 12:28:36 +03:00
fs fixes solaris build (#1345) 2021-06-04 11:56:06 +03:00
handshake lib/handshake: pass io.EOF unmodified to the caller for BufferedConn.Read, so it could properly detect the end of stream 2021-05-27 12:09:17 +03:00
httpserver lib/cgroup: set GOGC to 50 by default if it isn't set 2021-07-05 12:34:01 +03:00
influxutils lib/influxutils: return response compatible with InfluxDB 1.8.4 2021-03-15 22:20:38 +02:00
ingestserver lib/ingestserver: properly close incoming connections during graceful shutdown 2021-05-08 19:53:45 +03:00
leveledbytebufferpool lib/promscrape: an attempt to reduce memory usage when vmagent scrapes targets with varying number of metrics 2021-03-15 11:49:29 +02:00
logger improve docs for cli flags (#1202) 2021-04-12 12:28:36 +03:00
memory fixes solaris build (#1345) 2021-06-04 11:56:06 +03:00
mergeset lib/{storage,mergeset}: increase cache timeout for data and index blocks from a minute to two minutes 2021-07-05 14:25:59 +03:00
metricsql
netutil lib/netutil: enable IPv6 UDP listening if -enableTCP6 command-line flag is passed to VictoriaMetrics 2021-03-17 00:19:30 +02:00
pacelimiter lib/pacelimiter: increase scalability for multi-CPU system 2020-08-06 18:33:07 +03:00
persistentqueue lib/persistentqueue: eliminate possible data race when obtaining vm_persistentqueue_bytes_pending metric value 2021-04-27 00:26:32 +03:00
procutil Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
promauth lib/promauth: cache the client TLS certificate for up to a second 2021-07-02 13:20:18 +03:00
prompb
prompbmarshal
promrelabel lib/promrelabel: add tests for labelsToString() function 2021-06-04 20:42:14 +03:00
promscrape lib/promscrape/discovery/consul: use case-insensitive comparison for service names 2021-07-02 14:49:22 +03:00
protoparser lib/protoparser/clusternative: remove unused field - unmarshalWork.lastResetTime 2021-07-02 13:32:59 +03:00
proxy lib/promscrape: reload auth tokens from files every second 2021-05-14 20:03:35 +03:00
storage lib/storage: tune cache sizes according to production workload 2021-07-05 15:14:45 +03:00
storagepacelimiter
syncwg
tenantmetrics app/vmselect: export per-tenant stats on the number of requests and the cumulative request duration 2021-02-16 23:30:29 +02:00
timerpool
uint64set lib/uint64set: store pointers to bucket16 instead of bucket16 objects in bucket32 2021-05-25 14:27:52 +03:00
workingsetcache lib/workingsetcache: properly switch to whole mode 2021-07-05 15:15:39 +03:00
writeconcurrencylimiter all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00