From 9a2d83781934acb4d56a09b493a523f050aa1ce5 Mon Sep 17 00:00:00 2001 From: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com> Date: Fri, 5 Sep 2025 14:17:29 +0800 Subject: [PATCH 1/2] Update ini.xml --- reference/opcache/ini.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index 1ffeea399538..5f77f3fad482 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -819,7 +819,11 @@ Enables or disables copying of PHP code (text segment) into HUGE PAGES. - This should improve performance, but requires appropriate OS configuration. + This should improve performance, but requires appropriate OS configuration + to allocate enough HUGE PAGES for the sum of + opcache.memory_consumption + and + opcache.jit_buffer_size. Available on Linux as of PHP 7.0.0, and on FreeBSD as of PHP 7.4.0. From 90d9443dfb0675ee6a53ec3e87a9351c18bf1fcd Mon Sep 17 00:00:00 2001 From: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com> Date: Fri, 5 Sep 2025 14:34:43 +0800 Subject: [PATCH 2/2] Fix IDs --- reference/opcache/ini.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index 5f77f3fad482..c3f69617512b 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -821,9 +821,9 @@ Enables or disables copying of PHP code (text segment) into HUGE PAGES. This should improve performance, but requires appropriate OS configuration to allocate enough HUGE PAGES for the sum of - opcache.memory_consumption + opcache.memory_consumption and - opcache.jit_buffer_size. + opcache.jit_buffer_size. Available on Linux as of PHP 7.0.0, and on FreeBSD as of PHP 7.4.0.