File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -1910,7 +1910,12 @@ ldap.max_links = -1
1910
1910
;opcache.file_cache_fallback=1
1911
1911
1912
1912
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
1913
- ; This should improve performance, but requires appropriate OS configuration.
1913
+ ; Under certain circumstances (if only a single global PHP process is
1914
+ ; started from which all others fork), this can increase performance
1915
+ ; by a tiny amount because TLB misses are reduced. On the other hand, this
1916
+ ; delays PHP startup, increases memory usage and degrades performance
1917
+ ; under memory pressure - use with care.
1918
+ ; Requires appropriate OS configuration.
1914
1919
;opcache.huge_code_pages=0
1915
1920
1916
1921
; Validate cached file permissions.
Original file line number Diff line number Diff line change @@ -1912,8 +1912,13 @@ ldap.max_links = -1
1912
1912
;opcache.file_cache_fallback=1
1913
1913
1914
1914
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
1915
- ; This should improve performance, but requires appropriate OS configuration.
1916
- ;opcache.huge_code_pages=1
1915
+ ; Under certain circumstances (if only a single global PHP process is
1916
+ ; started from which all others fork), this can increase performance
1917
+ ; by a tiny amount because TLB misses are reduced. On the other hand, this
1918
+ ; delays PHP startup, increases memory usage and degrades performance
1919
+ ; under memory pressure - use with care.
1920
+ ; Requires appropriate OS configuration.
1921
+ ;opcache.huge_code_pages=0
1917
1922
1918
1923
; Validate cached file permissions.
1919
1924
;opcache.validate_permission=0
You can’t perform that action at this time.
0 commit comments