Files
Cactidocumentation/Settings-Performance.md
T
Thomas Vincent c4be40ab53 docs(settings): [1.2.x] correct settings, authentication and user management pages against the source (#265)
* docs(settings): [1.2.x] correct settings pages against the source

Align setting names, options, defaults and descriptions on the General, Paths, Device Defaults, Poller, Data, Visual, Performance, Spikes and Mail/Reporting/DNS pages with include/global_settings.php on 1.2.x.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(auth): [1.2.x] correct authentication settings pages against the source

Align option labels and the Basic Auth mapfile behavior with include/global_settings.php and lib/auth.php on 1.2.x.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(users): [1.2.x] correct user, log, utilities and navigation pages against the source

Align menu paths, form labels, permission models, log filters and utilities entries with the 1.2.x source.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(settings): [1.2.x] correct the authentication class count on the Settings page

include/global_arrays.php defines four authentication methods.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(settings): [1.2.x] fix the PNG and SVG expansions on the General page

The page expanded PNG as Petri Net Graphs and SVG as Scalable Vector Graphs. The source only has the labels PNG and SVG.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs(settings): [1.2.x] document settings missing from the pages

Add entries from include/global_settings.php, links.php and utilities.php on 1.2.x.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-11-23 15:12:12 -05:00

4.2 KiB

Performance Settings (Boost)

The Performance Settings sub-tab in Cacti contains settings that can help improve the life of your Cacti server and significantly increase the live and lower the I/O wait of your Cacti system through caching of RRDfile disk writes.

It will also reduce the number of CPU cores require to render Cacti Graphs due to it's image cache mechanism.

We will explain how these settings work briely in the next two sections. However, there is a more detailed guide in the Advanced Topics. Please refer to that guide as well.

On-demand RRD Update Settings

These are settings to place RRDfile updates into a database table and cache them. Then, on a periodic basis dump those updates to disk at once. This will reduce the overall wear and tear of your disks, and reduce the time periods where disk I/O will be higher. You can see the available settings in the image below.

Boost On-Demand Settings

The settings include:

  • Enable On-demand RRD Updating - This check-box will enable on-demand updating and caching of unwritten updates. If you disable it, the poller must first clear the cache before it can be fully disabled. So, disabling is not immediate after it has been activated for some time.

  • How Often Should Boost Update All RRDs - As it says, what is the desired frequency of performing updates. The idea with boost is to reduce the amount of disk I/O, so if your poller frequency/interval is say 5 minutes, you may want to cache a few hours of updates.

  • Number of Boost Processes - For systems with shared disk where I/O performance is impacted by file system overhead or latency, the concurrent boost process setting comes in handy. Cacti will spawn the number of collectors specified by this setting.

  • Maximum Records - This is a threshold in cache records that if that number is exceeded, the cache will immediately begin to be cleared. This setting works together with the How Often setting.

  • Target Archive Rows Per Range - The Boost updater assigns complete Local Data IDs to contiguous ranges near this row count. A single Local Data ID is never split, so a range can exceed the target. Lower this value to reduce updater memory and query time. The default value is 50000.

  • Maximum Argument Length - This is the longest RRDtool update command to use. Most Linux systems allow for a very long command line. It's advisable to use something less than 32k though as some versions of RRDtool have problems with longer command lines.

  • Memory Limit for Boost and Poller - In a modern Cacti system, unless you have more than a million Data Sources the default of 1GB is likely enough.

  • Maximum RRD Update Script Run Time - This is the longest to allow the cache clearing script to run before notifying the primary Cacti admin. The process will be allowed to continue to run, but will issue a WARNING.

  • Maximum Failed RRDs Queued - The maximum number of RRD destinations retained for automatic Boost retry. Only the latest complete failed update is retained per destination. The default is 10000.

  • Failed RRD Retry Budget - The maximum number of queued RRD destinations retried by one scheduled Boost run. The default is 100.

  • Maximum Failed RRD Retries - Queued RRD updates are explicitly discarded after this many failed automatic attempts. The default is 8.

  • Maximum Failed RRD Age - The number of days to retain the latest failed RRD update before it is explicitly discarded. The default is 7.

  • Boost Debug Log - If non-blank and points to a location that is writable, Cacti will log the RRDtool syntax used to update the RRDfiles.

Image Caching

The Image Caching setting on the Performance sub-tab basically defined where to store time sensitive images caches of your various Cacti Graphs. These Cached images only live for a few minutes, but can be consumed by multiple users simultaneously.

The image of the settings is shown below. They are fairly self explanatory.

Image Caching


Copyright (c) 2004-2026 The Cacti Group