linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: memcg: infrastructure to flush memcg stats
       [not found] ` <64b88941-9ec0-8552-d05d-6503497f6f9d@MichaelLarabel.com>
@ 2021-09-16 20:44   ` Linus Torvalds
  2021-09-16 21:04     ` Shakeel Butt
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Torvalds @ 2021-09-16 20:44 UTC (permalink / raw)
  To: Shakeel Butt, Marek Szyprowski, Andrew Morton, Feng Tang,
	Michael Larabel
  Cc: Linux MM, Linux Kernel Mailing List

So the kernel test robot complained about this commit back when it was
in the -mm tree:

  https://lore.kernel.org/all/20210726022421.GB21872@xsang-OptiPlex-9020/

but I never really saw anything else about it, and left it alone.

However, now Michael Larabel (of phoronix) points to this commit too,
and says it regresses several of his benchmarks too.

Shakeel, are you looking at this? Based on previous experience,
Michael is great at running benchmarks on patches that you come up
with.

           Linus

On Thu, Sep 16, 2021 at 2:55 AM Michael Larabel
<Michael@michaellarabel.com> wrote:
>
> Are you still looking at aa48e47e3906 around performance regressions[1]?
>
> With 5.15-rc1 on multiple systems I am seeing timed software compilation
> tests regressing compared to 5.14. A variety of different software
> builds are all slowing down by several percent when running on a 5.15
> kernel. The bisect led back to aa48e47e3906 as the first bad commit. I
> can't seem to find any discussions around that patch in more recent days
> so figured I'd ping you in case something was missed.
>
> Thanks,
>
> Michael
>
> [1]
> https://lists.01.org/hyperkitty/list/lkp@lists.01.org/message/MS2J5FCYQD62W4E5LHHPWC7YH7TWKUSV/
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: memcg: infrastructure to flush memcg stats
  2021-09-16 20:44   ` memcg: infrastructure to flush memcg stats Linus Torvalds
@ 2021-09-16 21:04     ` Shakeel Butt
  0 siblings, 0 replies; 2+ messages in thread
From: Shakeel Butt @ 2021-09-16 21:04 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Marek Szyprowski, Andrew Morton, Feng Tang, Michael Larabel,
	Linux MM, Linux Kernel Mailing List

On Thu, Sep 16, 2021 at 1:45 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> So the kernel test robot complained about this commit back when it was
> in the -mm tree:
>
>   https://lore.kernel.org/all/20210726022421.GB21872@xsang-OptiPlex-9020/
>
> but I never really saw anything else about it, and left it alone.
>
> However, now Michael Larabel (of phoronix) points to this commit too,
> and says it regresses several of his benchmarks too.
>
> Shakeel, are you looking at this? Based on previous experience,
> Michael is great at running benchmarks on patches that you come up
> with.
>

Yes, I am actively looking into this and the discussion is happening
at https://lore.kernel.org/all/20210905124439.GA15026@xsang-OptiPlex-9020/T/#u

I would definitely take up with Michael on helping with running the benchmarks.

We know the source of the regression which is queue_work() in
__mod_memcg_lruvec_state(). Previously we were doing atomic addition
up the memcg tree. I have to come up with an approach to reduce the
calls to queue_work() in that path.

thanks,
Shakeel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-16 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHk-=whiFC8Az2wD5_DCeysw+DV4srAj3sCbVP4asPPEJbOpqQ@mail.gmail.com>
     [not found] ` <64b88941-9ec0-8552-d05d-6503497f6f9d@MichaelLarabel.com>
2021-09-16 20:44   ` memcg: infrastructure to flush memcg stats Linus Torvalds
2021-09-16 21:04     ` Shakeel Butt

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).