[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGG=3QWbW-Dang49Jx3fyNExWtL8syuMkMJmcPHA7J25cHQ0zw@mail.gmail.com>
Date: Fri, 1 Jul 2022 03:17:54 -0700
From: Bill Wendling <morbo@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: "Jose E. Marchesi" <jemarch@....org>,
Ruud van der Pas <ruud.vanderpas@...cle.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Vladimir Mezentsev <vladimir.mezentsev@...cle.com>,
clang-built-linux <llvm@...ts.linux.dev>,
LKML <linux-kernel@...r.kernel.org>, Yonghong Song <yhs@...com>,
Wenlei He <wenlei@...com>, Hongtao Yu <hoy@...com>,
Ingo Molnar <mingo@...nel.org>,
linux-toolchains <linux-toolchains@...r.kernel.org>,
elena.zannoni@...cle.com
Subject: Re: plumbers session on profiling?
On Fri, Jul 1, 2022 at 2:02 AM Peter Zijlstra <peterz@...radead.org> wrote:
>
> On Tue, Jun 28, 2022 at 07:08:48PM +0200, Jose E. Marchesi wrote:
> >
> > [Added linux-toolchains@...r in CC]
> >
> > It would be interesting to have some discussion in the Toolchains track
> > on building the kernel with PGO/FDO. I have seen a raise on interest on
> > the topic in several companies, but it would make very little sense if
> > no kernel hacker is interested in participating... anybody?
>
> I know there's been a lot of work in this area, but none of it seems to
> have trickled down to be easy enough for me to use it.
We use an instrumented kernel to collect the data we need. It gives us
the best payoff, because the profiling data is more fine-grained and
accurate. (PGO does much more than make inlining decisions.)
If I recall correctly, you previously suggested using sampling data.
(Correct?) Is there a document or article that outlines that process?
-bw
Powered by blists - more mailing lists