paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fairness in responsive parallelism

响应式并行中的公平性
ICFP 3(ICFP)2019匹配度 1/10 · 该论文研究响应式并行程序的公平调度、优先级与执行时间界,属于并发/运行时与程序语言理论方向,仅在“形式化+工程实现”层面与用户偏好有非常弱的交集。其内容不涉及静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析,因此与用户核心研究方向基本无关。引用 5 inbox
Stefan K. Muller, Sam Westrick, Umut A. Acar
crossref: 2026-09-10

AI 速览

一句话:为响应式并行程序引入线程优先级与公平调度,提出公平及时调度原则并证明执行与响应时间界。

并行计算正扩展到需与用户或外部世界交互的交互式并行应用。已有响应式并行工作给出抽象代价模型与类型系统来保证响应性和吞吐量,但未考虑公平性。本文允许程序员为线程分配优先级并要求调度器遵循公平性,提出“公平及时调度”(fairly prompt scheduling)原则,规定多处理器上多线程程序的调度方式。作者证明不同优先级作业的执行时间与响应时间理论界,尤其限制低优先级作业被高优先级工作延迟的拉伸(stretch)。此外,他们给出近似该原则的多核算法,扩展 Standard ML 实现该算法,并进行实证评估。

问题
已有响应式并行模型关注响应性与吞吐量,但缺少对公平性,尤其是不同优先级线程间延迟的刻画与调度保证。
方法
允许线程分配优先级,提出公平及时调度原则,并证明不同优先级作业执行/响应时间及低优先级 stretch 的理论界;实现近似算法并扩展 Standard ML。
评估
通过扩展 Standard ML 的实现与实证评估,考察算法在多核上近似公平及时调度的效果。
原文摘要(Abstract)

Research on parallel computing has historically revolved around compute-intensive applications drawn from traditional areas such as high-performance computing. With the growing availability and usage of multicore chips, applications of parallel computing now include interactive parallel applications that mix compute-intensive tasks with interaction, e.g., with the user or more generally with the external world. Recent theoretical work on responsive parallelism presents abstract cost models and type systems for ensuring and reasoning about responsiveness and throughput of such interactive parallel programs. In this paper, we extend prior work by considering a crucial metric: fairness. To express rich interactive parallel programs, we allow programmers to assign priorities to threads and instruct the scheduler to obey a notion of fairness. We then propose the fairly prompt scheduling principle for executing such programs; the principle specifies the schedule for multithreaded programs on multiple processors. For such schedules, we prove theoretical bounds on the execution and response times of jobs of various priorities. In particular, we bound the amount, i.e., stretch, by which a low-priority job can be delayed by higher-priority work. We also present an algorithm designed to approximate the fairly prompt scheduling principle on multicore computers, implement the algorithm by extending the Standard ML language, and present an empirical evaluation.

链接与引用

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

BibTeX
@article{paperbot604,
  title = {Fairness in responsive parallelism},
  author = {Stefan K. Muller and Sam Westrick and Umut A. Acar},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {3},
  number = {ICFP},
  year = {2019},
  doi = {10.1145/3341685}
}