Cong Wang proposes DAXFS filesystem for Linux kernel

Kernel developer Cong Wang has introduced DAXFS, a new read-only filesystem designed for direct access to shared memory in Linux. Built on the Direct Access infrastructure, it bypasses traditional page caching to reduce memory overhead. The proposal aims to enable efficient sharing of data across kernels and devices.

Cong Wang, a kernel developer at Multikernel, announced DAXFS on the Linux kernel mailing lists. This filesystem leverages the Linux kernel's Direct Access (DAX) infrastructure, which allows direct access to shared physical memory without relying on the conventional block I/O stack.

Unlike established options such as RAMFS or TMPFS, which use the page cache and allocate memory per instance, DAXFS maps contiguous physical memory regions straight into the filesystem. As a result, file reads become direct memory loads, minimizing overhead in scenarios where read-only data might otherwise duplicate in RAM.

DAXFS supports memory from devices like GPUs, FPGAs, or those connected via CXL, using the dma-buf API for read-only access to device-backed data. Its design is deliberately simple: it employs a self-contained, read-only image format and skips runtime allocations, intricate metadata handling, and device-specific code.

Potential applications include sharing container or Docker base images across separate kernel instances via shared memory, avoiding network transfers in CXL memory-pooling setups, cutting RAM use by pairing DAXFS with OverlayFS for containers, and offering zero-copy access to static data in accelerator memory.

The code resides on GitHub as an experimental proposal. Wang noted that any integration into the mainline kernel would require community discussion and review. The announcement appeared on January 25, 2026.

Relaterede artikler

Illustration of Linux kernel 6.19 release with Tux penguin, scheduling enhancements, Microsoft C extensions, and collaborating tech giants for a news article.
Billede genereret af AI

Linux kernel 6.19 adds scheduling enhancements and Microsoft C extensions

Rapporteret af AI Billede genereret af AI

The upcoming Linux kernel 6.19 introduces key improvements to the sched_ext framework for better eBPF scheduler recovery and integrates Microsoft C extensions for cleaner code compilation. These updates aim to enhance stability, performance, and developer efficiency in various computing environments. Contributions from companies like Google, Meta, and Microsoft highlight growing collaboration in open-source development.

The Enhanced Read-Only File System, or EROFS, has introduced page cache sharing to significantly reduce memory usage in containerized environments. This feature allows multiple containers to share cached pages from the same file system image, cutting memory waste by 40% to 60%. Developed initially by Huawei, EROFS is gaining traction in cloud and edge computing scenarios.

Rapporteret af AI

Developers are exploring page cache sharing as a way to improve performance for EROFS containers. This technique appears to offer significant advantages in Linux environments. The findings come from Phoronix, a site focused on Linux hardware and software reviews.

CachyOS, a performance-focused Arch Linux distribution, has announced plans for a dedicated Server Edition set for release in 2026. The edition targets network-attached storage, workstations, and full servers, aiming to combine high-speed optimizations with enterprise-level stability. This expansion builds on the distro's desktop strengths to appeal to IT administrators seeking efficient alternatives to traditional options like Red Hat Enterprise Linux.

Rapporteret af AI

Building on initial reports of the proposed runtime standby ABI for Linux—inspired by Windows' Modern Standby—a detailed eight-patch series has been posted to the kernel mailing list by Antheas Kapenekakis. Targeting x86 ACPI systems, it enables low-power 'asleep' appearances while keeping essential services active, promising better battery life for laptops, handhelds, and more.

Rising RAM prices driven by AI data center demand are prompting Linux users to optimize existing hardware. A recent Hackaday article highlights the kernel's built-in compression features to stretch available memory. Tools like zram-tools for Debian and systemd-zram-generator for Ubuntu enable this functionality.

Rapporteret af AI

Alpine Linux, a lightweight Linux distribution, has secured support from multiple cloud providers following the impending closure of Equinix Metal. The project, which relied on donated services from the platform, appealed for help earlier this year and now benefits from enhanced, diversified infrastructure. This move ensures the continuation of its operations for users in embedded systems and containers.

 

 

 

Dette websted bruger cookies

Vi bruger cookies til analyse for at forbedre vores side. Læs vores privatlivspolitik for mere information.
Afvis