Skip to contentSkip to conversation

xenoprofile: Add IBS support

PATCH In review Wei Wang2 3 participants 4 messages Jul 30, 2010 – Aug 6, 2010

lore
Share & tools
lore

Wei Wang2

author
#0 lore raw

cover xenoprofile: Add IBS support

Hi,
This patch set adds IBS support for AMD family 10h processors. The major implementation is derived from latest Linux. Two hypercalls are added, which is necessary for IBS feature detection and user mode parameter read. Thanks,
-Wei

Signature · 11 lines
AMD GmbH, Germany
Operating System Research Center

Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München
Registergericht München, HRB Nr. 43632
#1 lore raw

May I ask a (potentially) dumb question: what is IBS?
-George

Quoted 27 lines · On Fri, Jul 30, 2010 at 2:28 PM, Wei Wang2 <[email protected]> wrote:

Hi,
This patch set adds IBS support for AMD family 10h processors. The major implementation is derived from latest Linux. Two hypercalls are added, which is necessary for IBS feature detection and user mode parameter read. Thanks,
-Wei

--
AMD GmbH, Germany
Operating System Research Center

Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München Registergericht München, HRB Nr. 43632

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#2 lore raw

Hi George,
IBS is Instruction-Based Sampling which is a new profiling technique introduced by AMD Family 10 processor that can provide rich, precise performance information. You can read more details about this from the white paper http://developer.amd.com/assets/amd_ibs_paper_en.pdf

IBS feature is also well documented on Software Optimization Guide for AMD Family 10h Processors
http://support.amd.com/us/Processor_TechDocs/40546-PUB-Optguide_3-11_5-21-09.pdf

Thanks,
Wei

Quoted 30 lines · On Friday 06 August 2010 16:13:15 George Dunlap wrote:

May I ask a (potentially) dumb question: what is IBS?
-George

Quoted 26 lines · On Fri, Jul 30, 2010 at 2:28 PM, Wei Wang2 <[email protected]> wrote:

Hi,
This patch set adds IBS support for AMD family 10h processors. The major implementation is derived from latest Linux. Two hypercalls are added, which is necessary for IBS feature detection and user mode parameter read. Thanks,
-Wei

--
AMD GmbH, Germany
Operating System Research Center

Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München Registergericht München, HRB Nr. 43632

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 10 lines · On 06/08/2010 15:34, "Wei Wang2" <[email protected]> wrote:

Hi George,
IBS is Instruction-Based Sampling which is a new profiling technique introduced by AMD Family 10 processor that can provide rich, precise performance information. You can read more details about this from the white paper http://developer.amd.com/assets/amd_ibs_paper_en.pdf

IBS feature is also well documented on Software Optimization Guide for AMD Family 10h Processors
http://support.amd.com/us/Processor_TechDocs/40546-PUB-Optguide_3-11_5-21-09.p
df

Yeah it's a lot like the old Alpha ProfileMe tagged instruction profiling. In fact I wouldn't be surprised if some of the same engineers are involved, since a bunch of them ended up at AMD. I'm not sure what oprofile can do with all that lovely rich information -- a big part of the profiling setup on Alpha was the associated always-on DCPI software and its integration into the toolchain. If something like that is developed in open source for x86/AMD it would be super cool!

-- Keir

Quoted 42 lines

Thanks,
Wei

Quoted 30 lines · On Friday 06 August 2010 16:13:15 George Dunlap wrote:

May I ask a (potentially) dumb question: what is IBS?
-George

Quoted 26 lines · On Fri, Jul 30, 2010 at 2:28 PM, Wei Wang2 <[email protected]> wrote:

Hi,
This patch set adds IBS support for AMD family 10h processors. The major implementation is derived from latest Linux. Two hypercalls are added, which is necessary for IBS feature detection and user mode parameter read. Thanks,
-Wei

--
AMD GmbH, Germany
Operating System Research Center

Legal Information:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34
85609 Dornach b. München

Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis München Registergericht München, HRB Nr. 43632

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel