php / php/php-sdk-binary-tools

Revise opcache settings in phpsdk_pgo.json

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
M4
Stars
116
Forks
50
PR merge metrics
No merged PRs in 30d

Description

https://github.com/php/php-sdk-binary-tools/blob/69e50fe53709c44876520b5f3ae15bb638fb1dbc/pgo/tpl/php/phpsdk_pgo.json#L23-L34

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pgo/tpl/php/phpsdk_pgo.json lines 23-34 and compare its opcache values with the recommended production settings. Investigate why interned_strings_buffer, max_accelerated_files, jit_buffer_size, and memory_consumption differ for x86. Done means the revised settings are justified and aligned with the intended production configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.