hiffy: use software interrupts for HIFFY_KICK
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
- 22/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- embedded-iot, operating-systems, performance
Direzione di ricerca
Start from the hiffy task's polling loop that reads HIFFY_KICK and the hubris kernel's interrupt-to-task notification path; the payload names no files, so locate hiffy in the task tree and the kernel's interrupt routing tables. Read how an unused interrupt such as CEC is currently configured, then map it to the hiffy task and have the debugger trigger it instead of writing the KICK. Done means hiffy wakes on the notification and a qspi -D run shows the expected time saved.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, humility informs hubris' hiffy that a message should be processed by writing HIFFY_KICK, which hubris polls in exponential backoff.
However, we could get real notifications for this by using the debugger to trigger an interrupt, and mapping an unused hardware interrupt (like the CEC interrupt, which we don't use) to the hiffy task. This way, the kernel would send a notification to wake hiffy, instead of polling on a timer.
Because this means we don't need to stop + start the core to write the KICK, this adds up to a meaningful amount of performance improvement, saving about 10-12s across a 2m15s qspi -D run.
This is an optimization, and is pretty low priority.
- Lingua principale
- Rust
- Stelle
- 3.7k
- Fork
- 246
- Merge medio
- 2g 11m
- PR unite (30g)
- 27
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 oxidecomputer/hubris
-
STM32 USART drivers write BRR while UE=1 (RM0433 / RM0316 require UE=0)Forse già presa @Ramla-I l’ha presa 29 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
oxidecomputer/hubris#2707 ·
I maintainer di solito rispondono entro 1 giorno
-
Cosmo is missing `isl68224` temperatureForse già presa @jamesmunns l’ha presa 154 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
oxidecomputer/hubris#2577 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
oxidecomputer/hubris#2789 ·
I maintainer di solito rispondono entro 1 giorno
-
Release 24 | ROT/SP release requestsForse già presa @labbott l’ha presa 7 giorni fa. Aperta
oxidecomputer/hubris#2786 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
oxidecomputer/hubris#2758 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di oxidecomputer/hubris
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anomalyco/rune#2432 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedApertaunconfirmed possible issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jerney-nexus/epikrise#364 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Yeachan-Heo/gajae-code#8058 ·
I maintainer di solito rispondono entro 1 giorno