summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
Diffstat (limited to '10-opcache.ini')
-rw-r--r--10-opcache.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/10-opcache.ini b/10-opcache.ini
index d188ef0..b6e6b0b 100644
--- a/10-opcache.ini
+++ b/10-opcache.ini
@@ -115,7 +115,12 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist
;opcache.file_cache_fallback=1
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
-; This should improve performance, but requires appropriate OS configuration.
+; Under certain circumstances (if only a single global PHP process is
+; started from which all others fork), this can increase performance
+; by a tiny amount because TLB misses are reduced. On the other hand, this
+; delays PHP startup, increases memory usage and degrades performance
+; under memory pressure - use with care.
+; Requires appropriate OS configuration.
opcache.huge_code_pages=0
; Validate cached file permissions.