linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: wangyan <wangyan122@huawei.com>,
	linux-fsdevel@vger.kernel.org,
	"virtio-fs@redhat.com" <virtio-fs@redhat.com>,
	Miklos Szeredi <mszeredi@redhat.com>
Subject: Re: [Virtio-fs] [QUESTION] A performance problem for buffer write compared with 9p
Date: Wed, 21 Aug 2019 17:05:51 +0100	[thread overview]
Message-ID: <20190821160551.GD9095@stefanha-x1.localdomain> (raw)
In-Reply-To: <CAJfpegs8fSLoUaWKhC1543Hoy9821vq8=nYZy-pw1+95+Yv4gQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

On Wed, Aug 21, 2019 at 09:51:20AM +0200, Miklos Szeredi wrote:
> On Tue, Aug 20, 2019 at 11:16 AM Stefan Hajnoczi <stefanha@redhat.com> wrote:
> >
> > On Thu, Aug 15, 2019 at 08:30:43AM +0800, wangyan wrote:
> > > Hi all,
> > >
> > > I met a performance problem when I tested buffer write compared with 9p.
> >
> > CCing Miklos, FUSE maintainer, since this is mostly a FUSE file system
> > writeback question.
> 
> This is expected.   FUSE contains lots of complexity in the buffered
> write path related to preventing DoS caused by the userspace server.
> 
> This added complexity, which causes the performance issue, could be
> disabled in virtio-fs, since the server lives on a different kernel
> than the filesystem.
> 
> I'll do a patch..

Great, thanks!  Maybe wangyan can try your patch to see how the numbers
compare to 9P.

Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-08-21 16:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-15  0:30 [QUESTION] A performance problem for buffer write compared with 9p wangyan
2019-08-15  0:56 ` Gao Xiang
2019-08-20  9:16 ` [Virtio-fs] " Stefan Hajnoczi
2019-08-21  7:51   ` Miklos Szeredi
2019-08-21 16:05     ` Stefan Hajnoczi [this message]
2019-08-22  0:59       ` wangyan
2019-08-22 11:43         ` Miklos Szeredi
2019-08-22 12:48           ` wangyan
2019-08-22 13:07             ` Miklos Szeredi
2019-08-22 13:17               ` wangyan
2019-08-22 13:29                 ` Miklos Szeredi
2019-08-22 14:02                   ` Miklos Szeredi
     [not found]                     ` <fd7a2791-d95c-3bd9-e387-b8778a9eca83@huawei.com>
2019-08-26 12:39                       ` Miklos Szeredi
2019-08-28  0:57                         ` wangyan

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=20190821160551.GD9095@stefanha-x1.localdomain \
    --to=stefanha@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=mszeredi@redhat.com \
    --cc=virtio-fs@redhat.com \
    --cc=wangyan122@huawei.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;
as well as URLs for NNTP newsgroup(s).