Re: [LSF/MM/BPF TOPIC] Dax, memfd, guest_memfd, cxl, famfs - Is there redundancy here?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Jan 2025 16:54:03 -0600
John Groves <John@xxxxxxxxxx> wrote:

> I have been hearing comments that there might be redundancy between dax and
> memfd - and have recently become aware of the guest_memfd work. A session where
> we discuss these related abstractions, their use cases, and whether there is
> redundancy seems like it would be useful.
> 
> I come at this primarily as the author of famfs [1,2,3,4], which exposes
> disaggregated shared memory as a scale-out fs-dax file system on devdax
> memory (with no block backing store. Famfs is currently dependent on a dax
> instance for each memory device (or each tagged allocation, in the case of
> cxl DCDs (dynamic-capacity devices). DCDs create a "tag namespace" to
> memory/devdax devices (and tags are basically UUIDs).
> 
> Famfs, similar to conventional file systems that live on block devices, uses
> the device abstraction of devdax to identify and access the backing memory
> for a file system. Much like block devices generally have recognizable 
> superblocks at offset 0 (see lsblk etc.), sharable memory devices have UUIDs,
> and may also have superblocks. The device abstraction of tagged memory is a
> very useful property.
> 
> I've been asked a number of times whether famfs could live on a memfd, and
> I currently think the answer is no - but I think we are at a point where these
> abstractions should be examined and discussed in context.
> 
> Brief famfs status: At LSFMM '24 the consensus was that it should be ported
> into fuse. That work is getting close but not quite ready to post patches.
> Those should start to appear this spring.

+1 for the topic, but I need to do a bunch of reading before such a discussion.
I think the coco + famfs thing will eventually bite us so we need to figure
out if we make DAX work with coco or make something else work as well that
provides the same guarantees of VA ordering wrt to underlying storage.
We need userspace on different hosts to see the same data in
the same order!

This also applies below and above whatever we do for virtualizing tagged
capacity as well (I'm taking far too long to get back to a virtio proposal
around that but have a colleague starting to look into it)

Jonathan

> 
> [1] https://github.com/cxl-micron-reskit/famfs
> [2] https://lwn.net/Articles/983105/
> [3] https://lore.kernel.org/linux-cxl/cover.1708709155.git.john@xxxxxxxxxx/
> [4] https://lore.kernel.org/linux-cxl/cover.1714409084.git.john@xxxxxxxxxx/
> 
> Cheers,
> John
> 
> 





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux