Handling of flow table limits could be infallible

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

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
networking

Direzione di ricerca

Inizia con il tipo UFT e la gestione dell’aggiunta di flows discussa nell’issue #347, incluso il commento collegato. Confronta le opzioni proposte di eviction, clearing e fallback dell’elaborazione dei layers; il lavoro è completato quando viene selezionata e implementata una policy infallibile per le entry UFT, con workload di base che coprano i casi limite rilevanti.

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

Descrizione

We addressed unwraps when OPTE hits limits adding new flows to the UFT in #347. However, during the discussion, starting here, we agreed that the approach the PR takes will solve the immediate problem but has some drawbacks. This issue tracks implementing other options, which should simplify the surrounding code.

In general, we'd like to make adding UFT entries infallible. That could be done by either having new entries displace the oldest ones. The UFT type needs to change significantly to do that, since we have no way of getting the "oldest" entry (or any entry by time) now. Another option would be to completely clear the UFT in this case. And a third would be to not add a UFT entry at all, but fallback to layer-processing all the new flows (until space is available perhaps).

The first option seems the best, but it does mean there's some thrashing and also requires the most code. The other options are simpler, but do mean that new flows (which probably are going to be used more than older ones) are slower. This issue does not cover perf or benchmarking, but having basic workloads that cover some of these cases would be very helpful here.

Lingua principale
Rust
Stelle
82
Fork
16
Merge medio
3g 6h
PR unite (30g)
11

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 oxidecomputer/opte

Tutte le issue di oxidecomputer/opte

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.