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

事务存储器中的稳定调度

Stable Scheduling in Transactional Memory

Costas Busch, Bogdan S. Chlebus, Dariusz R. Kowalski, Pavan Poudel

摘要:

我们研究在一组共享对象上执行事务的计算机系统。事务不断到达,受到约束,这些约束被构建为对抗模型,并对事务生成的平均速率和事务使用的对象数量施加限制。我们发现,没有确定性的分布式调度的无障碍模型的事务自治可以提供稳定的任何积极的交易生成率。假设一个系统由$m$共享对象组成,并且对手被约束,使得每个事务最多可以访问$k$共享对象。我们证明,没有调度程序可以是稳定的,如果生成率大于$\max\bigl\{\frac{2}{k+1},\frac{2}{\lfloor \sqrt{2m} \rfloor}\bigr\}$。我们开发了一个集中式调度器,是稳定的,如果事务生成率是最多$\max\bigl\{\frac{1}{4k}, \frac{1}{4\lceil\sqrt{m}\rceil} \bigr\}$。我们设计了一个分布式调度器的基于事务自治模型,其中一个事务被分配给一个单独的处理器,保证稳定性,如果事务生成的速率小于$\max\bigl\{ \frac{1}{6k},\frac{1}{6\lceil\sqrt{m}\rceil}\bigr\}$。对于每一个调度器,我们给出了在事务生成速率范围内的队列大小和事务延迟的上限,对于该调度器是稳定的。

英文摘要:

We study computer systems with transactions executed on a set of shared objects. Transactions arrive continually subjects to constrains that are framed as an adversarial model and impose limits on the average rate of transaction generation and the number of objects that transactions use. We show that no deterministic distributed scheduler in the queue-free model of transaction autonomy can provide stability for any positive rate of transaction generation. Let a system consist of $m$ shared objects and an adversary be constrained such that each transaction may access at most $k$ shared objects. We prove that no scheduler can be stable if a generation rate is greater than $\max\bigl\{\frac{2}{k+1},\frac{2}{\lfloor \sqrt{2m} \rfloor}\bigr\}$. We develop a centralized scheduler that is stable if a transaction generation rate is at most $\max\bigl\{\frac{1}{4k}, \frac{1}{4\lceil\sqrt{m}\rceil} \bigr\}$. We design a distributed scheduler in the queue-based model of transaction autonomy, in which a transaction is assigned to an individual processor, that guarantees stability if the rate of transaction generation is less than $\max\bigl\{ \frac{1}{6k},\frac{1}{6\lceil\sqrt{m}\rceil}\bigr\}$. For each of the schedulers we give upper bounds on the queue size and transaction latency in the range of rates of transaction generation for which the scheduler is stable.

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

↑