【24h】

Fairness and Throughput in Switch on Event Multithreading

机译:事件多线程切换的公平性和吞吐量

获取原文

摘要

The need to reduce power and complexity will increase the interest in Switch on Event multithreading (coarse grained multithreading). Switch On Event multithreading is a low power and low complexity mechanism to improve processor throughput by switching threads on execution stalls. Fairness may, however, become a problem in a mul- tithreaded processor. Unless fairness is properly handled, some threads may starve while others consume all of the processor cycles. Heuristics that were devised in order to improve fairness in Simultaneous Multithreading are not applicable to Switch On Event multithreading. This paper defines the fairness metric using the ratio of the individ- ual threads' speedups, and shows how it can be enforced in Switch On Event multithreading. Fairness is controlled by forcing additional thread switch points. These switch points are determined dynamically by runtime estimation of the single threaded performance of each of the individ- ual threads. We analyze the impact of the fairness enforce- ment mechanism on throughput. We present simulation re- sults of the performance of Switch on Event multithread- ing. Switch on Event multithreading achieves an average speedup over single thread of 24% when no fairness is en- forced. In this case, over a third of our runs achieved poor fairness in which one thread ran extremely slowly (10 to 100 times slower than its single thread performance) while the other thread's performance was hardly affected. By using the proposed mechanism we can guarantee fairness of 1/4, 1/2 and 1 for a small performance loss of 2.2%, 3.7% and 7.2% respectively.
机译:降低功耗和复杂性的需求将增加对“打开事件”多线程(粗粒度多线程)的关注。开机事件多线程是一种低功耗,低复杂度的机制,可通过在执行停顿时切换线程来提高处理器吞吐量。但是,在多线程处理器中,公平性可能会成为问题。除非正确处理公平性,否则某些线程可能会饿死,而其他线程会消耗所有处理器周期。为提高同步多线程中的公平性而设计的试探法不适用于“打开事件”多线程。本文使用各个线程的加速比来定义公平性指标,并说明如何在“事件切换”多线程中强制实施该指标。通过强制其他线程切换点来控制公平性。这些切换点是通过对每个单独线程的单线程性能进行运行时估计来动态确定的。我们分析了公平实施机制对吞吐量的影响。我们提供了Switch on Event多线程性能的仿真结果。在不强制公平的情况下,启用事件多线程可使单线程的平均速度提高24%。在这种情况下,超过三分之一的运行达到了较差的公平性,其中一个线程的运行速度极其慢(比其单线程性能慢10到100倍),而另一个线程的性能几乎没有受到影响。通过使用所提出的机制,我们可以保证分别有2.2%,3.7%和7.2%的性能损失的1 / 4、1 / 2和1的公平性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号