009--高一川.pdf

编号:725258 PDF 14页 588.08KB 下载积分:VIP专享
下载报告请您先登录!

009--高一川.pdf

1、RISC-V Summit China 2024Enabling Hardware Sampling Based PGO for RISC-V PlatformGao Yichuan()RISC-V Agile Design LabIntel Labs ChinaIntel ConfidentialDepartment or Event Name2RISC-V Summit China 20242PGO BasicsPGO(Profile-Guided Optimization)Use runtime feedback to improve software performanceSWPGO(

2、Instrumentation)Insert profiling code snippet to software Profiled data:Branch/Jump count/target Register/Memory values No hardware requirement High profiling overheadHWPGO(Sampling)Use hardware sample collect methods Profiled data:Performance Counter values Branch/Jump count/target(with LBR/CTR)Reg

3、ister/Memory values(not yet)Require PMU hardware support Low profiling overheadThis talkProfilingRun(Train)OptimizeSoftware vs Hardware PGOIntel ConfidentialDepartment or Event Name3RISC-V Summit China 20243RISC-V PMUPMU(Performance Monitoring Unit)Hardware unit for counting occurrence of uArch even

4、tsRISC-V PMU:provide fixed and event-based hpmcounters Software access via CSR interfaceIntel ConfidentialDepartment or Event Name4RISC-V Summit China 20244RISC-V PMU Extensions for HWPGO Latest PMU extensions Smcdeleg&SsccfgPMU counter delegation Smcntrpmf&SscofpmfCounter mode filtering and overflo

5、w interrupt Smctr&SsctrHart control transfer records(in next slide)Future extensions for precise event sampling,register value profiling,etc.Event-based samplingPMU config in S-modeControl flow info recording Base extensions(widely adopted)Zicntr&ZihpmProvide basic counters for PMU eventsRVA23Intel

6、ConfidentialDepartment or Event Name5RISC-V Summit China 20245RISC-V CTR for HWPGO Record control transfer history Jump instructions(including function calls and returns)Taken/not-taken branch instructions Traps,and trap returns Data is organized as circular buffer(FIFO)Source PC,Target PC Type,Cycl

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(009--高一川.pdf)为本站 (山哈) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠