Skip to content

Commit b7b5c21

Browse files
fix: clarify innodb_doublewrite trade-off and correct PHP minimum
innodb_doublewrite = OFF reduces crash safety on all storage types, including SSD/NVMe; reword to make the durability trade-off explicit. PHP minimum updated from 7.3 to 8.1 (required as of Cacti 1.2.31). Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
1 parent e760a7a commit b7b5c21

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Requirements.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ Spine vs cmd.php, and whether remote pollers are used.
1717

1818
- Use SSD or NVMe for the RRD file directory. RRDtool performs many small random
1919
writes; spinning disk causes polling backlogs on medium and larger installs.
20-
- The MySQL/MariaDB data directory benefits from SSD as well. Set
21-
`innodb_doublewrite = OFF` only when the database is on SSD/NVMe, as it adds
22-
write overhead that provides durability guarantees unnecessary on modern
23-
hardware with battery-backed write caches.
20+
- The MySQL/MariaDB data directory benefits from SSD as well.
21+
`innodb_doublewrite` protects against torn page writes during a crash;
22+
disabling it reduces crash safety on any storage type, including SSD/NVMe.
23+
Setting `innodb_doublewrite = OFF` is an advanced optimization; only
24+
consider it when you accept the durability trade-off (e.g. strong
25+
backup/replication strategy and tolerance for potential data loss on an
26+
unclean shutdown).
2427
- Spine is CPU-bound. Each spine process spawns threads up to your configured
2528
maximum; allocate 1–2 spine processes per CPU core for best throughput.
2629
- Very large deployments (> 10,000 devices) require remote pollers deployed close to the devices
@@ -40,7 +43,7 @@ Cacti requires that the following software is installed on your system.
4043

4144
- RRDtool 1.3 or greater, 1.5+ recommended
4245

43-
- PHP 7.3 or greater, 8.0+ recommended
46+
- PHP 8.1 or greater
4447
- Required modules:
4548
- ctype, date, filter, gettext, gd, gmp, intl
4649
- hash, json, ldap, mbstring, openssl, pcre

0 commit comments

Comments
 (0)