Re: [PATCH v2] fuse: use splice for reading user pages on servers that enable it

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

 



On Mon, 12 May 2025 at 21:03, Joanne Koong <joannelkoong@xxxxxxxxx> wrote:
>
> On Wed, May 7, 2025 at 7:45 AM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> >
> > On Wed, 23 Apr 2025 at 01:56, Joanne Koong <joannelkoong@xxxxxxxxx> wrote:
> >
> > > For servers that do not need to access pages after answering the
> > > request, splice gives a non-trivial improvement in performance.
> > > Benchmarks show roughly a 40% speedup.
> >
> > Hmm, have you looked at where this speedup comes from?
> >
> > Is this a real zero-copy scenario where the server just forwards the
> > pages to a driver which does DMA, so that the CPU never actually
> > touches the page contents?
>
> I ran the benchmarks last month on the passthrough_ll server (from the
> libfuse examples) with the actual copying out / buffer processing
> removed (eg the .write_buf handler immediately returns
> "fuse_reply_write(req, fuse_buf_size(in_buf));".

Ah, ok.

It would be good to see results in a more realistic scenario than that
before deciding to do this.

Thanks,
Miklos





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux