php/php-sdk-binary-tools

Revise opcache settings in phpsdk_pgo.json

Opened this issue · 0 comments

cmb69 commented

"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.