Stop making swap partitions–use swap files instead
Summary
The article advocates for using swap files instead of swap partitions in Linux systems, highlighting benefits like flexibility and ease of management.
Similar Articles
Swap tables, flash-friendly swap, swap_ops, and more
This article covers recent improvements and future plans for the Linux kernel's swap subsystem, including reduced per-page overhead, folio-based helpers, and efforts to make swapping more friendly to solid-state storage, as discussed at the 2026 Linux Storage, Filesystem, Memory Management, and BPF Summit.
On Ditching Vagrant
The author explains their decision to stop using Vagrant and switch to managing virtual machines directly with KVM and libvirt, arguing that the additional abstraction is unnecessary for their needs and that native Linux tools suffice.
How do i prevent llama.cpp from offloading on Swap?
User seeks advice on preventing llama.cpp from offloading KV cache to swap before RAM is fully exhausted, sharing their configuration on an M2 Max with 96GB RAM and a large Qwen model.
We made our filesystem 47× faster by deleting it
microsandbox replaced its slow user-space FUSE filesystem with a kernel-mounted EROFS disk image, achieving a 47× geometric mean speedup across filesystem operations and eliminating the VM/host round-trip bottleneck.
nbd-vram: Use your NVIDIA GPU's VRAM as swap space on Linux
nbd-vram is a Linux tool that uses NVIDIA GPU VRAM as swap space via the NBD protocol and CUDA, providing extra memory for systems with soldered RAM and no upgrade path.