Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread John Groves
On 24/05/22 10:58AM, Miklos Szeredi wrote: > On Wed, 22 May 2024 at 04:05, John Groves wrote: > > I'm happy to help with that if you care - ping me if so; getting a VM > > running > > in EFI mode is not necessary if you reserve the dax memory via memmap=, or > > via libvirt xml. > > Could you pl

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Amir Goldstein
On Wed, May 22, 2024 at 2:28 PM Miklos Szeredi wrote: > > On Wed, 22 May 2024 at 12:16, Amir Goldstein wrote: > > > The first open would cache the extent list in fuse_inode and > > second open would verify that the extent list matches. > > > > Last file close could clean the cache extent list or

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Miklos Szeredi
On Wed, 22 May 2024 at 12:16, Amir Goldstein wrote: > The first open would cache the extent list in fuse_inode and > second open would verify that the extent list matches. > > Last file close could clean the cache extent list or not - that > is an API decision. Well, current API clears the mappi

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Amir Goldstein
On Wed, May 22, 2024 at 11:58 AM Miklos Szeredi wrote: > > On Wed, 22 May 2024 at 04:05, John Groves wrote: > > I'm happy to help with that if you care - ping me if so; getting a VM > > running > > in EFI mode is not necessary if you reserve the dax memory via memmap=, or > > via libvirt xml. >

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-22 Thread Miklos Szeredi
On Wed, 22 May 2024 at 04:05, John Groves wrote: > I'm happy to help with that if you care - ping me if so; getting a VM running > in EFI mode is not necessary if you reserve the dax memory via memmap=, or > via libvirt xml. Could you please give an example? I use a raw qemu command line with a

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-21 Thread John Groves
Initial reply to both Amir and Miklos. Sorry for the delay - I took a few days off after LSFMM and I'm just re-engaging now. First an observation: these messages are on the famfs v1 patch set thread. The v2 patch set is at [1]. That is also the default branch now if you clone the famfs kernel from

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-18 Thread Amir Goldstein
On Fri, May 17, 2024 at 12:55 PM Miklos Szeredi wrote: > > On Thu, 29 Feb 2024 at 07:52, Amir Goldstein wrote: > > > I'm not virtiofs expert, but I don't think that you are wrong about this. > > IIUC, virtiofsd could map arbitrary memory region to any fuse file mmaped > > by virtiofs client. > >

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-05-17 Thread Miklos Szeredi
On Thu, 29 Feb 2024 at 07:52, Amir Goldstein wrote: > I'm not virtiofs expert, but I don't think that you are wrong about this. > IIUC, virtiofsd could map arbitrary memory region to any fuse file mmaped > by virtiofs client. > > So what are the gaps between virtiofs and famfs that justify a new

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-03-10 Thread Dave Chinner
On Thu, Feb 29, 2024 at 08:52:48AM -0600, John Groves wrote: > On 24/02/29 01:15PM, Dave Chinner wrote: > > On Mon, Feb 26, 2024 at 08:05:58PM -0600, John Groves wrote: > > >bw ( MiB/s): min= 5085, max=27367, per=100.00%, avg=14361.95, > > > stdev=165.61, samples=719 > > >iops: mi

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-29 Thread John Groves
On 24/02/29 08:52AM, Amir Goldstein wrote: > On Fri, Feb 23, 2024 at 7:42 PM John Groves wrote: > > > > This patch set introduces famfs[1] - a special-purpose fs-dax file system > > for sharable disaggregated or fabric-attached memory (FAM). Famfs is not > > CXL-specific in anyway way. > > > > * F

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-29 Thread John Groves
Hi Dave! On 24/02/29 01:15PM, Dave Chinner wrote: > On Mon, Feb 26, 2024 at 08:05:58PM -0600, John Groves wrote: > > On 24/02/26 04:58PM, Luis Chamberlain wrote: > > > On Mon, Feb 26, 2024 at 1:16 PM John Groves wrote: > > > > > > > > On 24/02/26 07:53AM, Luis Chamberlain wrote: > > > > > On Mo

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-28 Thread Amir Goldstein
On Fri, Feb 23, 2024 at 7:42 PM John Groves wrote: > > This patch set introduces famfs[1] - a special-purpose fs-dax file system > for sharable disaggregated or fabric-attached memory (FAM). Famfs is not > CXL-specific in anyway way. > > * Famfs creates a simple access method for storing and shari

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-28 Thread Dave Chinner
On Mon, Feb 26, 2024 at 08:05:58PM -0600, John Groves wrote: > On 24/02/26 04:58PM, Luis Chamberlain wrote: > > On Mon, Feb 26, 2024 at 1:16 PM John Groves wrote: > > > > > > On 24/02/26 07:53AM, Luis Chamberlain wrote: > > > > On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > > > > >

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread John Groves
On 24/02/26 04:58PM, Luis Chamberlain wrote: > On Mon, Feb 26, 2024 at 1:16 PM John Groves wrote: > > > > On 24/02/26 07:53AM, Luis Chamberlain wrote: > > > On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > > > > Run status group 0 (all jobs): > > > > WRITE: bw=29.6GiB/s (31.8GB/s),

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread Luis Chamberlain
On Mon, Feb 26, 2024 at 1:16 PM John Groves wrote: > > On 24/02/26 07:53AM, Luis Chamberlain wrote: > > On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > > > Run status group 0 (all jobs): > > > WRITE: bw=29.6GiB/s (31.8GB/s), 29.6GiB/s-29.6GiB/s > > > (31.8GB/s-31.8GB/s), io=44.7G

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread John Groves
On 24/02/26 07:53AM, Luis Chamberlain wrote: > On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > > Run status group 0 (all jobs): > > WRITE: bw=29.6GiB/s (31.8GB/s), 29.6GiB/s-29.6GiB/s (31.8GB/s-31.8GB/s), > > io=44.7GiB (48.0GB), run=1511-1511msec > > > This is run on an xfs file

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread Luis Chamberlain
On Mon, Feb 26, 2024 at 07:27:18AM -0600, John Groves wrote: > Run status group 0 (all jobs): > WRITE: bw=29.6GiB/s (31.8GB/s), 29.6GiB/s-29.6GiB/s (31.8GB/s-31.8GB/s), > io=44.7GiB (48.0GB), run=1511-1511msec > This is run on an xfs file system on a SATA ssd. To compare more closer apples to

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-26 Thread John Groves
On 24/02/23 04:07PM, Luis Chamberlain wrote: > On Fri, Feb 23, 2024 at 11:41:44AM -0600, John Groves wrote: > > This patch set introduces famfs[1] - a special-purpose fs-dax file system > > for sharable disaggregated or fabric-attached memory (FAM). Famfs is not > > CXL-specific in anyway way. > >

Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system

2024-02-23 Thread Luis Chamberlain
On Fri, Feb 23, 2024 at 11:41:44AM -0600, John Groves wrote: > This patch set introduces famfs[1] - a special-purpose fs-dax file system > for sharable disaggregated or fabric-attached memory (FAM). Famfs is not > CXL-specific in anyway way. > > * Famfs creates a simple access method for storing a