The WordPress code base has outgrown the defaults for opcache.memory_consumption and opcache.interned_strings_buffer
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- performance
Direzione di ricerca
Inizia con i valori predefiniti di configurazione di opcache.memory_consumption e opcache.interned_strings_buffer nel codice sorgente di PHP; l’issue non identifica alcun file o test. Esamina i valori PHP 8.3 riportati e usa lo strumento opcache-status collegato per riprodurre l’utilizzo della cache. Il lavoro è completato quando i valori predefiniti proposti sono stati valutati e sono coperti dai test di configurazione pertinenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
The WordPress code base has been growing, and it's now too big for the OPcache default sizes.
In php8.3 (on Ubuntu at any rate), the defaults, as you know, are (in MiB):
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
WordPress 6.9.4 and 7.0beta4 both run these caches completely full for relatively simple sites. That means a typical WordPress site isn't getting all the benefit of caching, which hammers performance and frustrates server operators and site owners.
I respectfully suggest you double the memory_consumption default in future releases. And triple the interned_strings_buffer default. If you can do it, this change will, as it spreads out, save lots of server power and it will reduce carbon emissions.
(I'm working on a Site Health Check feature for WordPress to inform site owners about this issue. It's harder to communicate with server operators.)
https://github.com/rlerdorf/opcache-status shows the problem clearly on any site.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.2k
- Merge medio
- 2g 15h
- PR unite (30g)
- 103
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di php/php-src
-
Bug SAPI: cli_server Status: Verified
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Bug Status: Needs Triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Flaky hrtime.phpt test ApertaBug Category: Tests Status: Verified
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 commento ·