With the continuously increasing integration level, manycore processor systems are likely to be the coming system structure not only in HPC but also for desktop or mobile systems. Nowadays manycore processors like Tilera TILE, KALRAY MPPA or Intel SCC combine a rising number of cores in a tiled architecture and are mainly designed for high performance applications with focus on direct inter-core communication. The current architectures have limitations by central or sparse components like memory controllers, memory I/O or inflexible memory management.
In the future highly dynamic workloads with multiple concurrently running applications, changing I/O characteristics and a not predictable memory usage have to be utilized on these manycore systems. Consequently the memory management has to become more flexible and distributed in nature and adaptive mechanisms and system structures are needed. With Self-aware Memory (SaM), a decentralized, scalable and autonomous self-optimizing memory architecture is developed. This adaptive memory management can achieve higher flexibility and an easy usage of memory.
In this paper the concept of an ongoing decentralized self-optimization is introduced and the evaluation of its various parameters is presented. The results show that the overhead of the decentralized optimization process is amortized by the optimized runtime using the appropriate parameter settings.
eLLM: Elastic Memory Management Framework for Efficient LLM Serving
Shanghai Jiao Tong University(上海交通大学);Shanghai Qi Zhi Institute(上海人工智能实验室);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学)
Accelerating Nonlinear Time-History Analysis with Complex Constitutive Laws via Heterogeneous Memory Management: From 3D Seismic Simulation to Neural Network Training
The University of Tokyo(东京大学);RIKEN Center for Computational Science(理化学研究所计算科学中心);Research Institute for Value-Added-Information Generation, Japan Agency for Marine-Earth Science and Technology(日本海洋地球科学厅增值信息生成研究所)
Xema: Efficient Diffusion Serving through Fine-Grained Memory Management and Auto-Configuration
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳))
PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Management
Tencent Inc(腾讯公司);National University of Singapore(新加坡国立大学)
预训练模型(PTM)正在彻底改变人工智能(AI)技术。然而,PTM训练的硬件要求非常高,使其成为一小部分人的游戏。因此,我们提出了PatrickStar系统,以降低PTM的硬件要求,并使其可供任何人使用。PatrickStar使用CPU-GPU异构内存空间存储模型数据。与现有的工作不同,我们组织的模型数据在内存块和动态分布在异构内存。在预热迭代中收集的运行时内存统计数据的指导下,在异构内存中高效地编排块,并产生更低的CPU-GPU数据传输量和更高的带宽利用率。PatrickStar与零冗余优化器共生,可扩展到多个节点上的多个GPU。%使用数据并行。该系统可以在更大的模型和更大的批量上进行训练任务,这是现有工作无法完成的。实验结果表明,PatrickStar将模型规模扩展到DeepSpeed的2.27和2.5倍,并始终表现出显着更高的执行速度。PatricStar还在32 GPU集群上成功运行了175 B GPT 3训练任务。我们的代码可在https://github.com/Tencent/PatrickStar上公开获取。
SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networks
Brown University(布朗大学);Univ. of Electr. Sci. & Tech. of China(电子科技大学);Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Pacific Northwest National Laboratory(太平洋西北国家实验室);Massachusetts Institute of Technology(麻省理工学院)
Page Table Management for Heterogeneous Memory Systems
现代企业服务器越来越多地采用分层存储器系统,该系统结合了低延迟DRAM和大容量但高延迟的非易失性主存储器(NVMM),例如英特尔的Optane DC PMM。先前的工作集中在分层存储器系统上的数据的有效放置和迁移上,但是没有研究页表的最佳放置。页表的显式和有效放置对于具有高TLB未命中率的大内存占用应用程序至关重要,因为当页表页放置在NVMM中时,它们会导致显着更高的页遍历延迟。我们表明,(i)页表页可以结束在NVMM上,即使有足够的DRAM内存可用,以及(ii)页表页溢出到NVMM由于DRAM内存压力不迁移回来后,当内存在DRAM中可用。我们研究了分层存储器系统中页表放置的性能影响,并提出了一种高效透明的页表管理技术,该技术(i)对数据和页表页应用不同的放置策略,(ii)通过将页表的小但关键的部分放置在DRAM中来引入页表页的区分策略,以及(iii)通过在DRAM和NVMM之间透明地迁移页表页来动态地和明智地管理页表的其余部分。我们在一个配备了运行Linux的英特尔Optane NVMM的真实系统上的实现将页表遍历周期平均减少了12%,总周期平均减少了20%。与各种默认的Linux内核技术相比,对于一组合成的和真实世界的大内存占用应用程序,这将运行时平均提高了20%。