Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Spike: decouple page reclaim from swap-I/O completion (compressor-style staging)

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c

Direzione di ricerca

This is a design spike, not a code patch: compare xnu pageout (compress-then-async vm_swap_put / vm_swapout_thread) with FreeBSD VM reclaim and swap I/O. Read the draft at the linked nextbsd-e14-tickets S1 section and the dependency nextbsd-kernel#214 before writing. Done means a design note covering compressor-style staging, whether in-kernel vm_swapfile_create_thread could replace userland swap growth, plus scope and a recommendation—not an implementation.

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

Descrizione

area:research area:vm

Summary

xnu's pageout stays robust independent of everything else because reclaim does not wait on swap writes: pages are freed by compressing them, and vm_swapout_thread drains already-compressed segments asynchronously (vm_swap_put). A stalled swap write slows the system rather than wedging the pagedaemon.

Questions

  • what would compressor-style staging look like on FreeBSD's VM?
  • could in-kernel swapfile creation (vm_swapfile_create_thread) replace U1's userland growth, closing its known weakness?

Deliverable

A design note with scope and a recommendation.


S1 in epic nextbsd/nextbsd#468 (E14 VM, paging & filesystems). Depends on: nextbsd/nextbsd-kernel#214 (K1).

Draft: https://pkgdemon.github.io/nextbsd-e14-tickets.html#s1

Lingua principale
C
Stelle
12
Fork
3
Merge medio
7h 1m
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 nextbsd/nextbsd-kernel

Tutte le issue di nextbsd/nextbsd-kernel

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.