Pulley: Experiment using the `stack_limit` and `handler` options in CLIF
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
- 20/100
Direzione di ricerca
Start from PR #15392 to see how stack_limit and handler were wired into CLIF functions, then locate where the Pulley interpreter currently guards stack decrements itself and where CLIF function prologues are lowered. The experiment is to set both options on all Pulley CLIF functions, remove the interpreter-side stack checks, and run the Pulley test suite plus benchmarks to measure the prologue cost. Done means the Pulley special case is gone and the performance impact is recorded.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Pulley has custom management of the stack right now where the interpreter protects against stack overflow on all stack decrements. This was originally done out of necessity but with #15392 it's now possible to instead use stack_limit and handler on all CLIF functions. We should experiment using that for Pulley as it would remove a preexisting "pulley is special" case which would be nice to cut down.
It's expected that this option would decrease the performance of Pulley as the function prologue would take longer to interpret. In the limit we could probably pack all of this into a single opcode, however, to recover some of that performance loss. Nevertheless this seems worthwhile to test out and see how it goes.
- Lingua principale
- Rust
- Stelle
- 18.9k
- Fork
- 2k
- Merge medio
- 1g 6h
- PR unite (30g)
- 238
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 bytecodealliance/wasmtime
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bytecodealliance/wasmtime#15536 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bytecodealliance/wasmtime#15455 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
wasi-preview1-component-adapter: fd_write does not invalidate cached InputStream, causing stale readsForse già presa @dpfens l’ha presa 13 giorni fa. Apertawasi
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bytecodealliance/wasmtime#15296 ·
I maintainer di solito rispondono entro 1 giorno
-
bug wasm-proposal:exceptions wasmtime:debugging
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bytecodealliance/wasmtime#14102 ·
I maintainer di solito rispondono entro 1 giorno
-
wasm-proposal:gc
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bytecodealliance/wasmtime#13808 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di bytecodealliance/wasmtime
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area: plugins bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
clipy-recorder/clipy#1039 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
valkey-io/valkey-glide#7975 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
gofractally/psibase#2379 ·
I maintainer di solito rispondono entro 3 giorni
-
Qwen stream parser: a chunk with "error": null is treated as a stream errorForse già presa @Beehtrix l’ha presa oggi. Apertaarea:models bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
brekkylab/ailoy#681 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni