summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-02-17 16:01:08 +0100
committerRemi Collet <remi@php.net>2023-02-17 16:01:08 +0100
commitd44dd7c8e64980d8c28dee648366a386838c2852 (patch)
tree850a110817a30fcdff9e849190ebc6731a47ffa2 /10-opcache.ini
parentd1d646a016493e488e11c311b21583c39d71772c (diff)
comment from upstream
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.