From d44dd7c8e64980d8c28dee648366a386838c2852 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Feb 2023 16:01:08 +0100 Subject: comment from upstream --- 10-opcache.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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. -- cgit