@cryptotaxi247 / netdata-1 / commits / e0638f575

Remove obsolete instruction to lower memory usage (#14568)

Chris Akritidis committed Feb 20, 2023 at 06:18 UTC e0638f5756ce6f0aa601baa562cfc1ec6ed3e6a8
1 file changed +1 -34
docs/guides/configure/performance.md
+1 -34
@@ -142,40 +142,7 @@ modules:
142
143 ## Lower memory usage for metrics retention
144
145 -Reduce the disk space that the [database engine](https://github.com/netdata/netdata/blob/master/database/engine/README.md) uses to retain metrics by editing
146 -the `dbengine multihost disk space` option in `netdata.conf`. The default value is `256`, but can be set to a minimum of
147 -`64`. By reducing the disk space allocation, Netdata also needs to store less metadata in the node's memory.
148 -
149 -The `page cache size` option also directly impacts Netdata's memory usage, but has a minimum value of `32`.
150 -
151 -Reducing the value of `dbengine multihost disk space` does slim down Netdata's resource usage, but it also reduces how
152 -long Netdata retains metrics. Find the right balance of performance and metrics retention by using the [dbengine
153 -calculator](https://github.com/netdata/netdata/blob/master/docs/store/change-metrics-storage.md#calculate-the-system-resources-ram-disk-space-needed-to-store-metrics).
154 -
155 -All the settings are found in the `[global]` section of `netdata.conf`:
156 -
157 -```conf
158 -[db]
159 - memory mode = dbengine
160 - page cache size = 32
161 - dbengine multihost disk space = 256
162 -```
163 -
164 -To save even more memory, you can disable the dbengine and reduce retention to just 30 minutes, as shown below:
165 -
166 -```conf
167 -[db]
168 - storage tiers = 1
169 - mode = alloc
170 - retention = 1800
171 -```
172 -
173 -Metric retention is not important in certain use cases, such as:
174 - - Data collection nodes stream collected metrics collected to a centralization point.
175 - - Data collection nodes export their metrics to another time series DB, or are scraped by Prometheus
176 - - Netdata installed only during incidents, to get richer information.
177 -In such cases, you may not want to use the dbengine at all and instead opt for memory mode
178 -`memory mode = alloc` or `memory mode = none`.
145 +See how to [change how long Netdata stores metrics](https://github.com/netdata/netdata/blob/master/docs/store/change-metrics-storage.md).
146
147 ## Disable machine learning
148