1、for Granite Rapids(P-core)&Sierra Forest(E-core)第六代至强处理器PMU新特性介绍Intel SATG-SSE-CSP Engineering孙运营 PMU basics and perf tool Core PMU support Uncore PMU support PEBS Enhancement Timed PEBS LBR Enhancement-LBR Event Logging(SRF)Uncore CXL/HBM perfmon support IOMMU Perfmon(GNR)PMU Updates for Xeon 6Perf
2、ormance Monitoring Unit(PMU)PMU is hardware unit built inside a processor to measure its performance statisticsPMU is hardware unit built inside a processor to measure its performance statisticsinstruction cycles,cache hits,cache misses,branch misses,and many others.Performance Monitoring Counters(P
3、MC)Performance Monitoring Counters(PMC)Architectural Perfmon version:Architectural Perfmon version:PMU first added in Pentium processor,with model specific registers.PMU first added in Pentium processor,with model specific registers.Intel Core Solo introduced architectural performance monitoring,com
4、patible among processor models.Intel Core Solo introduced architectural performance monitoring,compatible among processor models.1.Core Solo/Duo2.Core 2 Duo T7700 and newer Core processors3.Nehalm,Westmere,Sandy Bridge,Haswell,Broadwell4.Skylake5.Icelake,Sapphire Rapids,Emerald Rapids,Granite Rapids
5、6.Lunar Lake,Arrow LakeFixed counter(instructions retired,core cycles,tsc ref cycles)General purpose counterPerf ToolLinux performance analysis toolLinux performance analysis toolPackage name:perfSource code Source code User space:./tools/perf/PMU driver:./arch/x86/events/Perf commandsPerf commandsp
6、erf list/stat/record/report/Perf examplesPerf exampleshttps:/perf.wiki.kernel.org/index.php/Tutorialhttps:/ 6 support in Anolis 8.10&23.2Core PMU supportGNR Core PMU(v6.4)SRF Core PMU(v6.6)Kernel without platform specific Core PMU supportUncore PMU supportGNR and SRF Uncore PMU s