[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130625072212.GA11420@gmail.com>
Date: Tue, 25 Jun 2013 09:22:12 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, eranian@...gle.com,
peterz@...radead.org, Andi Kleen <ak@...ux.jf.intel.com>
Subject: Re: [PATCH] perf, x86: Support full width counting v3
* Andi Kleen <andi@...stfloor.org> wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> Recent Intel CPUs like Haswell and IvyBridge have a new alternative MSR
> range for perfctrs that allows writing the full counter width. Enable this
> range if the hardware reports it using a new capability bit.
>
> This lowers the overhead of perf stat slightly because it has to do less
> interrupts to accumulate the counter value. On Haswell it also avoids some
> problems with TSX aborting when the end of the counter range is reached.
Looks good - the changelog needs more work: please first outline the
current behavior (how we can only write 32 bit values into the counter,
even though the counter range is larger on most CPUs).
Then also outline the Haswell problems more precisely. What happens, why,
with what probability and why do we care?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists