paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Occamy: Elastically Sharing a SIMD Co-processor across Multiple CPU Cores

Occamy:跨多个 CPU 核心弹性共享一个 SIMD 协处理器
ASPLOS Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 32023匹配度 1/10 · 该论文属于体系结构与编译优化方向,关注 SIMD 协处理器在 CPU 核间的弹性共享与变长向量化代码生成,并未涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心研究问题。仅“编译与代码生成”标签与 PL 领域有微弱关联,整体匹配度很低。引用 4 inbox
Zhongcheng Zhang, Yan Ou, Ying Liu, Chenxi Wang, Yongbin Zhou, Xiaoyu Wang, Yuyang Zhang, Yucheng Ouyang, Jiahao Shan, Ying Wang, Jingling Xue, Huimin Cui, Xiaobing Feng
crossref: 2026-09-12

AI 速览

一句话:提出可被多核弹性共享的 SIMD 协处理器及编译支持,按阶段动态划分向量通道,提升利用率与性能。

该论文解决多核处理器上共运行工作负载时 SIMD 通道利用率不均的问题:计算密集型负载无法利用内存密集型负载未充分使用的 SIMD 通道,从而拉低整体性能。作者提出 Occamy,一种可被多个 CPU 核心共享的 SIMD 协处理器,其核心思想是依据不同工作负载的阶段行为,动态弹性地划分全部 SIMD 通道,使每个工作负载能够以可变长度 SIMD 模式执行。为支持这种变长向量化,论文还设计了 Occamy 编译器,用于分析阶段行为并生成适配不同向量长度的代码。评估表明,Occamy 相比三种代表性 SIMD 架构能够提高 SIMD 利用率并带来性能收益,同时芯片面积开销可忽略。

问题
多个 CPU 核心共运行工作负载时,计算密集型负载无法使用分配给内存密集型负载但未被充分利用的 SIMD 通道,导致整体性能下降。
方法
设计可被多核共享的 SIMD 协处理器 Occamy,基于工作负载的阶段行为动态弹性划分全部 SIMD 通道,使各负载以可变长度 SIMD 模式执行;并提供编译器进行阶段行为分析与变长向量化代码生成。
评估
与三种代表性 SIMD 架构进行对比评估,表明 Occamy 提高了 SIMD 利用率并带来性能提升,且芯片面积开销可忽略。
原文摘要(Abstract)

SIMD extensions are widely adopted in multi-core processors to exploit data-level parallelism. However, when co-running workloads on different cores, compute-intensive workloads cannot take advantage of the underutilized SIMD lanes allocated to memoryintensive workloads, reducing the overall performance. This paper proposes Occamy, a SIMD co-processor that can be shared by multiple CPU cores, so that their co-running workloads can spatially share its SIMD lanes. The key idea is to enable elastic spatial sharing by dynamically partitioning all the SIMD lanes across different workloads based on their phase behaviors, so that each workload may execute in variable-length SIMD mode. We also introduce an Occamy compiler to support such variable-length vectorization by analyzing such phase behaviors and generating the vectorized code that works with varying vector lengths. We demonstrate that Occamy can improve SIMD utilization, and consequently, performance over three representative SIMD architectures, with negligible chip area cost.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot10081,
  title = {Occamy: Elastically Sharing a SIMD Co-processor across Multiple CPU Cores},
  author = {Zhongcheng Zhang and Yan Ou and Ying Liu and Chenxi Wang and Yongbin Zhou and Xiaoyu Wang and Yuyang Zhang and Yucheng Ouyang and Jiahao Shan and Ying Wang and Jingling Xue and Huimin Cui and Xiaobing Feng},
  booktitle = {ASPLOS},
  year = {2023},
  doi = {10.1145/3582016.3582046}
}