From: Vivek Goyal <vgoyal@redhat.com>
To: JeffleXu <jefflexu@linux.alibaba.com>
Cc: linux-fsdevel@vger.kernel.org, gerry@linux.alibaba.com,
virtualization@lists.linux-foundation.org, stefanha@redhat.com,
miklos@szeredi.hu
Subject: Re: [PATCH] fuse: avoid unnecessary spinlock bump
Date: Fri, 8 Apr 2022 07:25:28 -0400 [thread overview]
Message-ID: <YlAbqF4Yts8Aju+W@redhat.com> (raw)
In-Reply-To: <b7a50fac-0259-e56c-0445-cca3fbf99888@linux.alibaba.com>
On Fri, Apr 08, 2022 at 10:36:40AM +0800, JeffleXu wrote:
>
>
> On 4/7/22 10:10 PM, Vivek Goyal wrote:
> > On Sat, Apr 02, 2022 at 06:32:50PM +0800, Jeffle Xu wrote:
> >> Move dmap free worker kicker inside the critical region, so that extra
> >> spinlock lock/unlock could be avoided.
> >>
> >> Suggested-by: Liu Jiang <gerry@linux.alibaba.com>
> >> Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
> >
> > Looks good to me. Have you done any testing to make sure nothing is
> > broken.
>
> xfstests -g quick shows no regression. The tested virtiofs is mounted
> with "dax=always".
I think xfstests might not trigger reclaim. You probably will have to
run something like blogbench with a small dax window like 1G so that
heavy reclaim happens.
For fun, I sometimes used to run it with a window of just say 16 dax
ranges so that reclaim was so heavy that if there was a bug, it will
show up.
Thanks
Vivek
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
WARNING: multiple messages have this Message-ID (diff)
From: Vivek Goyal <vgoyal@redhat.com>
To: JeffleXu <jefflexu@linux.alibaba.com>
Cc: miklos@szeredi.hu, stefanha@redhat.com,
virtualization@lists.linux-foundation.org,
linux-fsdevel@vger.kernel.org, gerry@linux.alibaba.com
Subject: Re: [PATCH] fuse: avoid unnecessary spinlock bump
Date: Fri, 8 Apr 2022 07:25:28 -0400 [thread overview]
Message-ID: <YlAbqF4Yts8Aju+W@redhat.com> (raw)
In-Reply-To: <b7a50fac-0259-e56c-0445-cca3fbf99888@linux.alibaba.com>
On Fri, Apr 08, 2022 at 10:36:40AM +0800, JeffleXu wrote:
>
>
> On 4/7/22 10:10 PM, Vivek Goyal wrote:
> > On Sat, Apr 02, 2022 at 06:32:50PM +0800, Jeffle Xu wrote:
> >> Move dmap free worker kicker inside the critical region, so that extra
> >> spinlock lock/unlock could be avoided.
> >>
> >> Suggested-by: Liu Jiang <gerry@linux.alibaba.com>
> >> Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
> >
> > Looks good to me. Have you done any testing to make sure nothing is
> > broken.
>
> xfstests -g quick shows no regression. The tested virtiofs is mounted
> with "dax=always".
I think xfstests might not trigger reclaim. You probably will have to
run something like blogbench with a small dax window like 1G so that
heavy reclaim happens.
For fun, I sometimes used to run it with a window of just say 16 dax
ranges so that reclaim was so heavy that if there was a bug, it will
show up.
Thanks
Vivek
next prev parent reply other threads:[~2022-04-08 11:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-02 10:32 [PATCH] fuse: avoid unnecessary spinlock bump Jeffle Xu
2022-04-02 10:32 ` Jeffle Xu
2022-04-04 8:49 ` Stefan Hajnoczi
2022-04-04 8:49 ` Stefan Hajnoczi
2022-04-07 14:10 ` Vivek Goyal
2022-04-07 14:10 ` Vivek Goyal
2022-04-08 2:36 ` JeffleXu
2022-04-08 2:36 ` JeffleXu
2022-04-08 11:25 ` Vivek Goyal [this message]
2022-04-08 11:25 ` Vivek Goyal
2022-04-08 11:50 ` JeffleXu
2022-04-08 11:50 ` JeffleXu
2022-04-08 12:06 ` Vivek Goyal
2022-04-08 12:06 ` Vivek Goyal
2022-04-11 2:10 ` JeffleXu
2022-04-11 2:10 ` JeffleXu
2022-04-11 11:52 ` Vivek Goyal
2022-04-11 11:52 ` Vivek Goyal
2022-04-11 11:54 ` JeffleXu
2022-04-11 11:54 ` JeffleXu
2022-04-11 13:20 ` Bernd Schubert
2022-04-11 14:00 ` Vivek Goyal
2022-04-11 14:00 ` Vivek Goyal
2022-04-13 3:09 ` JeffleXu
2022-04-13 3:09 ` JeffleXu
2022-04-22 13:36 ` Miklos Szeredi
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=YlAbqF4Yts8Aju+W@redhat.com \
--to=vgoyal@redhat.com \
--cc=gerry@linux.alibaba.com \
--cc=jefflexu@linux.alibaba.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.