黄瀛-PCP auto-tuning.pdf

编号:159300 PDF 23页 285.50KB 下载积分:VIP专享
下载报告请您先登录!

黄瀛-PCP auto-tuning.pdf

1、PCP Size Auto-tuning forPage Allocator ScalabilityHuang,Ying2024 MarchAgenda Problems and background Design and implementation Performance evaluation ConclusionProblems and BackgroundBuddy SystemLCPULCPULCPULCPULCPULCPUNodePCPPCPBuddyPCPPCPPCPPCPAlloc/free One buddy per zone(node)protected by one zo

2、ne lock-Scalability issue!One PCP(Per-CPU Pageset)per LCPU(logical CPU)Buddy System-Continued Physical memory management:node-zone One buddy(page allocator)per zone(per node in practice)All logical CPU of one NUMA node share one zone lock-Scalability issue!More and more cores in one NUMA node in the

3、 future PCP(Per-CPU pageset)can reduce zone lock contention Batching allocation/freeing Less allocation/freeing in zonePossible Solution 1:Fake NUMA NodeLCPULCPULCPULCPULCPULCPUNodeBuddy 0Buddy 1Buddy 2Fake node 0PreferFake node 1Fake Node 2 Very good scalability:Zone,reclaim,compaction,etc.Easy to

4、implement More management burdenPossible Solution 2:Splitting BuddyLCPULCPULCPULCPULCPULCPUNodeBuddy0Buddy1Buddy2ZonePrefer Refused by community for now https:/lore.kernel.org/linux-mm/20230511065607.37407-1- be revisited in the future if necessaryRegion0Region1Region2Possible Solution 3:Larger Allo

5、cation Unit Large folios:Smaller cache footprint with zone lock held0.005.0010.0015.0020.0025.0030.0035.0040.0045.000102030405060Will-it-scale page allocate/free throughput(GB/s)on ICX-SPorder=2order=0Possible Solution 4:PCP Auto-tuningLCPULCPULCPULCPULCPULCPUNodePCPPCPBuddyPCPPCPPCPPCPAlloc/free La

6、rger PCP in effect:less allocation/freeing in buddy Auto-tune:as large as requiredAutoAutoAutoAutoAutoAllocation Patterns-Kbuild Pattern 1:amplitude 100,period 1s Original PCP Pattern 2:amplitude 25k,period:0.5s-1s Auto-tuned PCP high Pattern 3:amplitude=100k,period=10s Not covered by PCPDesign and

友情提示

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

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

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