[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOQ4uxiY=-=F6v4enQkcw4VjhP6gp4E31fdRxM=_ShutbT2QXw@mail.gmail.com>
Date: Mon, 1 Oct 2018 12:52:35 +0300
From: Amir Goldstein <amir73il@...il.com>
To: Jan Kara <jack@...e.cz>
Cc: rong.a.chen@...el.com, linux-kernel <linux-kernel@...r.kernel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>, LKP <lkp@...org>
Subject: Re: [LKP] [fsnotify] 60f7ed8c7c: will-it-scale.per_thread_ops -5.9% regression
On Mon, Oct 1, 2018 at 12:32 PM Jan Kara <jack@...e.cz> wrote:
>
> On Sun 30-09-18 12:00:46, Amir Goldstein wrote:
[...]
> > > commit:
> > > 1e6cb72399 ("fsnotify: add super block object type")
> > > 60f7ed8c7c ("fsnotify: send path type events to group with super block marks")
> > >
> >
> > I have to admit this looks strange.
> > All this commit does is dereference mnt->mnt.mnt_sb and then
> > sb->s_fsnotify_mask/sb->s_fsnotify_marks to find that they are zero.
> > AFAICT there should be no extra contention added by this commit and it's
> > hard to believe that parallel unlink workload would suffer from this change.
>
> Well, it could be those additional fetches of
> sb->s_fsnotify_mask/sb->s_fsnotify_marks if they happen to be cache cold.
> Or it could be just code layout differences (i.e., compiler is not able to
> optimize resulting code as good or the code layout just happens to align
> with cache lines in a wrong way or something like that). Anyway, without
> being able to reproduce this and do detailed comparison of perf profiles I
> don't think we'll be able to tell.
>
Indeed, I am still trying to figure out how to run lkp in my test env.
Thanks,
Amir.
Powered by blists - more mailing lists