Apply a service's `resources.cpu` to its Fibers

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kubernetes, rust

Direzione di ricerca

Start by reading internal/project/manifest.go and homeCPURequest in internal/servingrevision/controller.go to trace how resources.cpu is validated and how maxFibers determines the grant Pod's CPU request. Decide whether the field represents a per-Fiber share or part of the grant request, then enforce that meaning or stop requiring the field. Done means the chosen behavior is implemented and a CPU-heavy Fiber cannot starve others, or the unused required field is removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

a-needs-info bug

lampyr.yaml requires resources.cpu (internal/project/manifest.go), but
nothing uses it: the grant Pod's CPU request comes only from maxFibers
(homeCPURequest in internal/servingrevision/controller.go), and nothing
limits a Fiber's CPU. A CPU-heavy Fiber can starve the others in its grant Pod.
Decide what the field means (a per-Fiber share, or part of the grant's request),
then enforce it or stop requiring it.

Lingua principale
Rust
Stelle
3
Fork
2
Merge medio
3g 57m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperlight-dev/lampyr

Tutte le issue di hyperlight-dev/lampyr

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.