arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.4053cs.DS
收藏

多核处理器上的联合Cache划分和作业分配

Joint Cache Partition and Job Assignment on Multi-Core Processors

Avinatan Hassidim, Haim Kaplan, Omry Tuval

摘要:

多核共享高速缓存处理器对嵌入式系统的设计者提出了挑战,他们试图实现由多个作业组成的工作负载的最小和可预测的执行时间。为了解决这一挑战,缓存是静态划分的核心和工作分配给核心,以最大限度地减少完工时间。已经提出了几种启发式算法,共同决定如何划分的核心之间的缓存和分配的工作。我们开始这个问题,我们称之为联合缓存分区和作业分配问题的理论研究。通过对可能的缓存分区的仔细分析,我们得到了这个问题的一个常数近似算法。对于一些实际的特殊情况下,我们得到一个2-近似算法,并显示如何提高近似因子,甚至进一步允许该算法使用额外的缓存。我们还研究了可能的改进,可以通过允许动态缓存分区和动态作业分配。我们定义了一个自然的特殊情况下,众所周知的调度问题不相关的机器,其中机器的顺序由“实力”。我们的联合缓存分区和作业分配问题推广了这个调度问题,我们认为这是独立的利益。我们给出了一个多项式时间算法,此调度问题的实例,通过固定的缓存分区在一个实际的情况下,联合缓存分区和作业分配问题,其中作业负载是阶梯函数。

英文摘要:

Multicore shared cache processors pose a challenge for designers of embedded systems who try to achieve minimal and predictable execution time of workloads consisting of several jobs. To address this challenge the cache is statically partitioned among the cores and the jobs are assigned to the cores so as to minimize the makespan. Several heuristic algorithms have been proposed that jointly decide how to partition the cache among the cores and assign the jobs. We initiate a theoretical study of this problem which we call the joint cache partition and job assignment problem. By a careful analysis of the possible cache partitions we obtain a constant approximation algorithm for this problem. For some practical special cases we obtain a 2-approximation algorithm, and show how to improve the approximation factor even further by allowing the algorithm to use additional cache. We also study possible improvements that can be obtained by allowing dynamic cache partitions and dynamic job assignments. We define a natural special case of the well known scheduling problem on unrelated machines in which machines are ordered by "strength". Our joint cache partition and job assignment problem generalizes this scheduling problem which we think is of independent interest. We give a polynomial time algorithm for this scheduling problem for instances obtained by fixing the cache partition in a practical case of the joint cache partition and job assignment problem where job loads are step functions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑