All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Stephen Smalley <stephen.smalley.work@gmail.com>,
	SElinux list <selinux@vger.kernel.org>
Subject: Re: Looking at profile data once again - avc lookup
Date: Mon, 30 Jan 2023 14:54:53 -0500	[thread overview]
Message-ID: <CAHC9VhSvmbSC9CraaipWjNmbZYadOcHQJ7oMjiieSc+Fv2Y+AA@mail.gmail.com> (raw)
In-Reply-To: <CAHk-=wiHX5wpnFSOgWNgNxMk+xHA2Gbh+7_eiJjTPGqpJ1kxog@mail.gmail.com>

On Mon, Jan 30, 2023 at 1:35 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Mon, Jan 30, 2023 at 9:47 AM Paul Moore <paul@paul-moore.com> wrote:
> >
> > I should add, do you have any particular test script you use?  If not,
> > that's fine, I just cobble something together, but I figured if you
> > had something already it would save me having to remember the details
> > on the perf tools.
>
> So I've done various things over the years, including just writing
> special tools that do nothing but a recursive 'stat()' over and over
> again over a big tree, just to pinpoint the path lookup costs (big
> enough of a tree that you see actual cache effects). Then do that
> either single-threaded or multi-threaded to see the locking issues.
>
> But what I keep coming back to is to just have a fully built "make
> allmodconfig" tree - which I have _anyway_, and then doing
>
>      perf record -e cycles:pp make -j64
>

...

> Put another way: there's nothing _special_ about the above, except for
> the "it's a real load that does actually show a few core kernel
> areas".

Thanks.

-- 
paul-moore.com

      reply	other threads:[~2023-01-30 19:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-28 21:15 Looking at profile data once again - avc lookup Linus Torvalds
2023-01-28 22:33 ` Paul Moore
2023-01-29 19:36   ` Linus Torvalds
2023-01-30 17:14     ` Paul Moore
2023-01-30 17:46       ` Paul Moore
2023-01-30 18:35         ` Linus Torvalds
2023-01-30 19:54           ` Paul Moore [this message]

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=CAHC9VhSvmbSC9CraaipWjNmbZYadOcHQJ7oMjiieSc+Fv2Y+AA@mail.gmail.com \
    --to=paul@paul-moore.com \
    --cc=selinux@vger.kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    --cc=torvalds@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.