Call for contributions: CPU-side performance (locks, allocation, translator and relinker time)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend, performance, testing
Direzione di ricerca
Choose one area listed in the issue and start by reading its named source directory and profiling a synthetic workload; for locks, use a multi-thread test, and for translator work, synthetic IR. Add a benchmark in tools/ or as a test with a fixed seed and runs lasting 1 to 30 seconds. Done means measured before and after CPU time or contention on the same input, unchanged behavior, and existing tests passing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Call for contributions: CPU-side performance
Why
Frame rate on a PS5 title is often capped by a CPU thread, and start-up time by the shader translator, not by the GPU. Contributors have already shown what is there to win: intrusive waiter queues and sharded registries in libkernel (#676), coalesced host memory protections (#652), flat tables instead of hash maps in the translator's passes (#650, #651, #655, #693), and a faster SPIR-V parser (#692). There is more of the same kind in code nobody has profiled yet.
What to pick
- Locks and waits in
libkernel: mutexes, condition variables, semaphores, event flags,sceKernelWaitOnAddress; measure contention with a synthetic multi-thread test (core/libs/prx/libkernel/Pthread/,Semaphore/,EventFlag/,SyncOnAddress/). - Memory: allocation paths, the page-fault and write-watch machinery on the host (
core/libs/prx/libc/,libkernel/DirectMemory/), protection and mapping system calls. - Translator CPU time: the passes of the shader recompiler (
core/kyty/graphics/shader/recompiler/): allocation, container choice, repeated scans. Measure on synthetic IR. - Relinker: conversion time and memory on large executables (
core/relinker/).
Expected result
A measured reduction of CPU time or contention with unchanged behaviour: before and after numbers on the same synthetic input, run to run spread, and the existing tests still passing.
How to test without our games
Write the benchmark as a test or a small tool in tools/: a synthetic workload, 1 to 30 s, fixed seed, printing a number. For a profile use perf record -g (Linux) or the Windows Performance Recorder on the test executable. Give before and after on the same machine in the same session, five runs each. Do not claim a frame-rate gain you cannot measure without a game; claim the micro-benchmark and say what it stands for.
Difficulty
Medium; hard for the lock-free paths (explain the memory ordering in the pull request).
Who to ask
Ask in this issue; the maintainers read every comment and will run a title on a change that touches a path every title uses.
Rules that apply to every call
- Comment on the issue before you start, so two people do not do the same work. One topic per pull request, against
AnyKyty. - Conventional Commits (
fix(libkernel): ...,feat(libScePad): ...,test(...),docs: ...). No comments in code. Nothing specific to one title: no title IDs, no data taken from a game, no per-title branches. - Every export either does exactly what it should or throws: an unimplemented export calls
NotImplemented_nid_no_patch(__func__). A silent stub is allowed only when it unblocks a title and only affects the UI; list it under "Silent stubs" in the library's file indocs/dev/debt/through a fragment (docs/dev/debt/changes/<branch>.md, seedocs/dev/TechnicalDebt.md). - Say where a behaviour comes from: public SDK headers and documentation, a published reverse-engineering write-up, or your own analysis of your own console's system modules. Do not post or attach firmware files, system modules or game files.
- Each test finishes in 30 s on the CI runners.
python3 tools/check_conventions.py --base origin/AnyKytymust pass before you push. - Build and test:
docs/dev/START_HERE.mdanddocs/dev/BUILD.md. CI runs the library tests on GitHub's runners (no GPU, no game) on Linux and Windows.
- Lingua principale
- C++
- Stelle
- 214
- Fork
- 7
- Merge medio
- 7h 53m
- PR unite (30g)
- 280
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 simnJS/AnyPS5
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#735 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#721 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
simnJS/AnyPS5#716 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)Forse già presa @adam25136 l’ha presa oggi. Apertaarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
simnJS/AnyPS5#705 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
simnJS/AnyPS5#741 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simnJS/AnyPS5
Issue simili
-
area:tests kind:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
? - Needs Triage bot_watch bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/cudf-spark-jni#5594 ·
I maintainer di solito rispondono entro 1 giorno
-
Branch-master
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TrinityCore/TrinityCore#32177 ·
I maintainer di solito rispondono entro 10 giorni
-
area:manager enhancement kind:ux P3 platform:windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno