Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise opcache settings in phpsdk_pgo.json #37

Open
cmb69 opened this issue Dec 13, 2024 · 0 comments
Open

Revise opcache settings in phpsdk_pgo.json #37

cmb69 opened this issue Dec 13, 2024 · 0 comments

Comments

@cmb69
Copy link
Member

cmb69 commented Dec 13, 2024

"x64": {
"opcache.memory_consumption": 256,
"opcache.interned_strings_buffer": 16,
"opcache.max_accelerated_files": 8000,
"opcache.jit_buffer_size": "32M"
},
"x86": {
"opcache.memory_consumption": 64,
"opcache.interned_strings_buffer": 8,
"opcache.max_accelerated_files": 4000,
"opcache.jit_buffer_size": "16M"
}

This deviates from the recommended production settings; while that is not wrong or bad per se, I don't understand why the interned_strings_buffer and max_accelerated_files are halved for x86. Also, the jit_buffer_size might be too low. And why memory_consumption is only a quarter for x86, escapes me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant