Repository navigation
Conversation
- zram-generator con zstd, tamano de la mitad de la RAM y tope ZRAM_MAX_MB - el swap de disco baja a prioridad 10 y queda como respaldo - vm.swappiness=100 y vm.page-cluster=0 con zram (10 si ZRAM_ENABLED=false) - ZRAM_ENABLED / ZRAM_MAX_MB validados en las tres rutas Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Agrega zram (swap comprimido en RAM) a las tres rutas con juego, con el swap de disco como respaldo.
zram-generator(zstd), tamano = mitad de la RAM con topeZRAM_MAX_MB(4096 MiB por defecto), prioridad 100.genfstabbaja apri=10, asi solo se usa si zram se llena.vm.swappiness=100yvm.page-cluster=0con zram; conZRAM_ENABLED=falsevuelve avm.swappiness=10.configure_kiosk_zramyvalidate_kiosk_zramenlib/kiosk_runtime.sh;zram-generatoren la instalacion base delib/cage.sh.ZRAM_ENABLEDyZRAM_MAX_MBdocumentadas en.env.example, README y CHANGELOG.El camino Cage/foot (
install-cage-kiosk.sh) no cambia: no tiene el paso de rendimiento.Por que
En equipos de 8 a 16 GB un swap en disco o USB provoca tirones y bloqueos; zram degrada con gracia y no desgasta el disco.
Pruebas
Suite completa en WSL: 377 pruebas, 0 fallos (4 nuevas: validacion, escritura de
zram-generator.conf, prioridad del fstab e idempotencia). Pendiente de validar en un kiosko real:zramctlyswapon --showtras el primer arranque.🤖 Generated with Claude Code