论文标题

交易记忆中的稳定调度

Stable Scheduling in Transactional Memory

论文作者

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

论文摘要

我们研究了在一组共享对象上执行交易的计算机系统。交易不断到达,受到约束,这些约束被构成对抗模型,并对交易的平均生成率和交易使用的对象数量施加限制。我们表明,在无排队的交易自治模型中没有确定性的分布式调度程序可以为任何正交速率生成率提供稳定性。让系统由$ m $共享对象组成,对对手的约束,以使每个事务可以在最多$ k $共享对象访问。我们证明,如果生成率大于$ \ max \ bigl \ {\ frac {\ frac {2} {k+1},\ frac {2} {\ lfloor \ sqrt {2m} {2M} \ rfloor} \ bigr \ \ \ \ \} $。如果交易生成速率最多是$ \ max \ bigl \ {\ frac {\ frac {1} {4K},\ frac {1} {4 \ lceil \ sqrt \ sqrt {m} {m} \ rceil} \ bigr \ \ \ \ \ \ \ bigr \ \ \} $。我们在基于队列的交易自治模型中设计了一个分布式调度程序,其中交易被分配给单个处理器,如果交易生成率小于$ \ max \ max \ bigl \ { \ frac {1} {6K},\ frac {1} {6 \ lceil \ sqrt {m} {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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源