qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/9] virtiofsd: Allow using file handles instead of O_PATH


From: Max Reitz
Subject: Re: [PATCH v2 0/9] virtiofsd: Allow using file handles instead of O_PATH FDs
Date: Wed, 16 Jun 2021 15:41:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 11.06.21 21:19, Vivek Goyal wrote:
On Wed, Jun 09, 2021 at 05:55:42PM +0200, Max Reitz wrote:
Hi,

v1 cover letter for an overview:
https://listman.redhat.com/archives/virtio-fs/2021-June/msg00033.html
Hi Max,

What's the impact of these patches on performance? Just trying to
get some idea what to expect. Performance remains more or less
same or we expect a hit.
I definitely expect a hit if you just benchmark the right way. Having to open FDs all the time (for metadata operations) will have an impact (when you do lookups all the time, or open files and close them immediately). How much of an impact, that’s completely up to the filesystem’s open_by_handle_at() implementation, I presume.

I don’t expect it to be significant for real-world use cases, though. When really doing I/O, there should be absolutely no difference, because then we’re operating with these FUSE handles that have actual (non-path) FDs attached to them.

Max




reply via email to

[Prev in Thread] Current Thread [Next in Thread]