summaryrefslogtreecommitdiffstats
path: root/10-opcache.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-02-17 16:01:37 +0100
committerRemi Collet <remi@php.net>2023-02-17 16:01:37 +0100
commit81823c523bd0e27cbc9c708973cf012de44b3d65 (patch)
tree054555c6dd35ca7b2a08bd888a09a5da23bf84e5 /10-opcache.ini
parent1325acc6828690b8d8f10eac5443ee8b89692962 (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.