Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default
From: John Reiser (jreiser_at_BitWagon.com)
Date: 11/29/05
- Previous message: Ryan Richter: "Re: Fw: crash on x86_64 - mm related?"
- In reply to: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Next in thread: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Reply: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Reply: Lee Revell: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Nov 2005 10:29:47 -0800 To: Andi Kleen <ak@suse.de>
Andi Kleen wrote:
> I think it's also a useful convention - RDTSC is becomming more and more
> useless and you cannot expect user applications who just want to
> measure some cycles to rely on ever changing instable or non existing
> performance counter APIs.
Users are even more unhappy with ever-changing ABIs -- such as the
kernel taking away RDTSC.
RDTSC+perfctr [Pettersson] still is the fastest way for user-mode code
to count something that is highly correlated with both "billable"
CPU time and "code quality" for a fixed task. With a little care
RDTSC is close enough to monotonic that I find it very useful.
Please don't take away user-mode RDTSC.
-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Ryan Richter: "Re: Fw: crash on x86_64 - mm related?"
- In reply to: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Next in thread: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Reply: Andi Kleen: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Reply: Lee Revell: "Re: [Perfctr-devel] Re: Enabling RDPMC in user space by default"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|