uops.info:英特尔微体系结构上指令的延迟、吞吐量和端口使用特性
uops.info: Characterizing Latency, Throughput, and Port Usage of Instructions on Intel Microarchitectures
摘要:
现代微架构是世界上最复杂的人造系统之一。因此,越来越难以预测,解释,更不用说优化在这种微架构上运行的软件的性能。作为性能预测和优化的基础,我们需要它们行为的忠实模型,不幸的是,这些模型很少可用。在本文中,我们提出了一个工具的设计和实现,以构建忠实的模型的延迟,吞吐量和端口使用的x86指令。为此,我们首先讨论指令吞吐量和端口使用的常见概念,并介绍一个更精确的定义的延迟,与以前的定义相比,考虑不同的输入和输出操作数对之间的依赖关系。然后,我们开发新的算法来推断延迟,吞吐量和端口使用的基础上自动生成的微基准测试,比现有的工作更准确和精确。为了便于快速构建优化编译器和性能预测工具,我们的工具的输出以机器可读的格式提供。我们提供了所有代英特尔酷睿架构处理器的实验结果,即,从Nehalem咖啡湖,并讨论各种情况下,我们的工具的输出与以前的工作有很大的不同。
英文摘要:
Modern microarchitectures are some of the world's most complex man-made systems. As a consequence, it is increasingly difficult to predict, explain, let alone optimize the performance of software running on such microarchitectures. As a basis for performance predictions and optimizations, we would need faithful models of their behavior, which are, unfortunately, seldom available. In this paper, we present the design and implementation of a tool to construct faithful models of the latency, throughput, and port usage of x86 instructions. To this end, we first discuss common notions of instruction throughput and port usage, and introduce a more precise definition of latency that, in contrast to previous definitions, considers dependencies between different pairs of input and output operands. We then develop novel algorithms to infer the latency, throughput, and port usage based on automatically-generated microbenchmarks that are more accurate and precise than existing work. To facilitate the rapid construction of optimizing compilers and tools for performance prediction, the output of our tool is provided in a machine-readable format. We provide experimental results for processors of all generations of Intel's Core architecture, i.e., from Nehalem to Coffee Lake, and discuss various cases where the output of our tool differs considerably from prior work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。