From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Cong Wang <cwang@multikernel.io>, linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Cong Wang <xiyou.wangcong@gmail.com>
Subject: Re: [ANNOUNCE] DAXFS: A zero-copy, dmabuf-friendly filesystem for shared memory
Date: Mon, 26 Jan 2026 12:04:06 +0800 [thread overview]
Message-ID: <55e3d9f6-50d2-48c0-b7e3-fb1c144cf3e8@linux.alibaba.com> (raw)
In-Reply-To: <CAGHCLaREA4xzP7CkJrpqu4C=PKw_3GppOUPWZKn0Fxom_3Z9Qw@mail.gmail.com>
Hi Cong,
On 2026/1/25 01:10, Cong Wang wrote:
> Hello,
>
> I would like to introduce DAXFS, a simple read-only filesystem
> designed to operate directly on shared physical memory via the DAX
> (Direct Access).
>
> Unlike ramfs or tmpfs, which operate within the kernel’s page cache
> and result in fragmented, per-instance memory allocation, DAXFS
> provides a mechanism for zero-copy reads from contiguous memory
> regions. It bypasses the traditional block I/O stack, buffer heads,
> and page cache entirely.
>
> Key Features
> - Zero-Copy Efficiency: File reads resolve to direct memory loads,
> eliminating page cache duplication and CPU-driven copies.
> - True Physical Sharing: By mapping a contiguous physical address or a
> dma-buf, multiple kernel instances or containers can share the same
> physical pages.
> - Hardware Integration: Supports mounting memory exported by GPUs,
> FPGAs, or CXL devices via the dma-buf API.
> - Simplicity: Uses a self-contained, read-only image format with no
> runtime allocation or complex device management.
>
> Primary Use Cases
> - Multikernel Environments: Sharing a common Docker image across
> independent kernel instances via shared memory.
> - CXL Memory Pooling: Accessing read-only data across multiple hosts
> without network I/O.
> - Container Rootfs Sharing: Using a single DAXFS base image for
> multiple containers (via OverlayFS) to save physical RAM.
> - Accelerator Data: Zero-copy access to model weights or lookup tables
> stored in device memory.
Actually, EROFS DAX is already used for this way for various users,
including all the usage above.
Could you explain why EROFS doesn't suit for your use cases?
Thanks,
Gao Xiang
>
> The source includes a kernel module and a mkdaxfs user-space tool for
> image creation, it is available here:
> https://github.com/multikernel/daxfs
>
> I am looking forward to your feedback on the architecture and its
> potential integration to the upstream Linux kernel.
>
> Best regards,
> Cong Wang
next prev parent reply other threads:[~2026-01-26 4:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-24 17:10 [ANNOUNCE] DAXFS: A zero-copy, dmabuf-friendly filesystem for shared memory Cong Wang
2026-01-26 4:04 ` Gao Xiang [this message]
2026-01-26 17:38 ` Cong Wang
2026-01-26 19:16 ` Matthew Wilcox
2026-01-26 19:48 ` Cong Wang
2026-01-26 20:13 ` Gao Xiang
2026-01-26 20:40 ` Matthew Wilcox
2026-01-27 0:02 ` Cong Wang
2026-01-27 0:55 ` Gao Xiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55e3d9f6-50d2-48c0-b7e3-fb1c144cf3e8@linux.alibaba.com \
--to=hsiangkao@linux.alibaba.com \
--cc=cwang@multikernel.io \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox