php / php/php-sdk-binary-tools

Revise opcache settings in phpsdk_pgo.json

未关闭
#37 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
M4
星标
116
派生
50
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 pgo/tpl/php/phpsdk_pgo.json 的第 23-34 行开始,将其中的 opcache 值与推荐的生产环境设置进行比较。调查 interned_strings_buffer、max_accelerated_files、jit_buffer_size 和 memory_consumption 在 x86 上存在差异的原因。当修订后的设置有充分依据且与预期的生产配置一致时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
build-system
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。