public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Galbraith <umgwanakikbuti@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Subject: why is CONFIG_FRAME_POINTER=y so expensive?
Date: Mon, 22 Aug 2016 08:17:51 +0200	[thread overview]
Message-ID: <1471846671.4139.50.camel@gmail.com> (raw)

Greetings,

tbench 8 throughput on my i4790 box:
                              1        2        3      avg
master                  3769.95  3759.28  3762.83  3764.02  1.000
master-framepointer     3476.73  3453.52  3460.62  3463.62   .920

Does anyone know why the performance impact is this large?

The only thing I found googling was a reference to 3 arg lea using rbp
or r13 being slow, which wasn't particularly helpful.  Nor was staring
at asm deltas with non-expert eyeballs.

	-Mike

                 reply	other threads:[~2016-08-22  6:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1471846671.4139.50.camel@gmail.com \
    --to=umgwanakikbuti@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox