Dynamic IPC/Clock Rate Optimization

Dynamic IPC/Clock Rate Optimization

Dynamic IPC/Clock Rate Optimization David H. Albonesi Dept. of Electrical Engineering University of Rochester Rochester, NY 14627 [email protected] Abstract Although the net result may be the same, with each sharing the lead in the SPECfp95 performance race, both of these implemen- Current microprocessor designs set the functionality and clock tations may suffer severe performance degradation on applications rate of the chip at design time based on the configuration that whose characteristics are not well-matched to the IPC/clock rate achieves the best overall performance over a range of target appli- tradeoff point of the hardware design. This may be the case, for cations. The result may be poor performance when running appli- example, on the 21164 with applications with frequently-accessed cations whose requirements are not well-matched to the particular megabyte-sized data structures that do not fit in the on-chip cache hardware organization chosen. We present a new approach called hierarchy, causing the processor to frequently run at the speed of Complexity-Adaptive Processors (CAPs) in which the IPC/clock the board-level cache. Such an application may perform better rate tradeoff can be altered at runtime to dynamically match the on the PA-8000 with its multi-megabyte L1 Dcache, even at its changing requirements of the instruction stream. By exploiting lower clock speed. Conversely, applications with small working repeater methodologies used increasingly in deep sub-micron de- sets and little exploitable instruction-level parallelism (ILP) may signs, CAPs achieve this flexibility with potentially no cycle time effectively waste the large Dcache and instruction window of the impact compared to a fixed architecture. Our preliminary results PA-8000, and run more efficiently on the faster 21164. Thus, di- in applying this approach to on-chip caches and instruction queues versity of hardware requirements from application to application indicate that CAPs have the potential to significantly outperform forces microarchitects to implement hardware solutions that per- conventional approaches on workloads containing both general- form well overall, but which may compromise individual applica- purpose and scientific applications. tion performance. Worse yet, diversity may exist within an indi- vidual application. Wall found that the amount of ILP within an individual application varied during execution by up to a factor of Intro duction three [27]. Thus, even implementations that are well-matched to Computer architects are constantly striving to design microarchi- the overall requirements of a given application may still exhibit tectures whose hardware complexity achieves optimal balance be- suboptimal performance at various points of execution. tween instructions per cycle (IPC) and clock rate such that perfor- To address application diversity, proposed configurable archi- mance is maximized for a range of target applications. Although tectures such as MATRIX [9] replace fixed hardware structures features such as wide issue windows and large L1 caches can pro- with reconfigurable ones in order to allow the hardware to dynam- duce high IPC for many applications, if a clock speed degradation ically adapt at runtime to the needs of the application. These intru- accompanies the implementation of these large structures, the re- sive approaches, however, may lead to decreased clock rate and in- sult may be lower performance for those applications whose IPC creased latency, both of which may override the performance ben- does not improve appreciably. These latter applications may per- efits of dynamic configuration. For these reasons, configurable ar- form better with a less-aggressive microarchitecture emphasizing chitectures are currently relegated to specialized applications and high clock rate over high IPC. Thus, for a given set of target ap- have yet to be proven effective for general-purpose use. plications, there are seemingly endless combinations of features This paper describes Complexity-Adaptive Processors (CAPs), leading to different clock speeds and IPC values which achieve a low-intrusive, evolutionary approach to implementing config- almost identical mean performance. urability within conventional microprocessors. CAPs are simi- For example, the Digital 21164 [11] and HP PA-8000 [14] lar to complexity-effective processors [23] in that both try to ob- achieve almost identical SPECfp95 baseline results [1], yet each tain the highest performance by paying close attention to balanc- takes a much different approach to reaching this end. The 21164’s ing IPC and clock speed in designing critical processor hardware. streamlined in-order design and small (8KB) L1 caches (as well However, complexity-effective processors, like all conventional as aggressive implementation technology and circuit design) pro- designs, fix the tradeoff between these two parameters at design vides a clock rate that is roughly three times that of the PA-8000, time. CAPs employ configurable hardware for the core super- while the PA-8000 provides a 56-entry out-of-order instruction scalar control and cache hierarchy structures of the processor in window and multi-megabyte L1 caches (currently implemented a way that minimizes, and often eliminates altogether, any cycle off-chip). Although differences in instruction set architectures, time or latency penalty relative to a conventional superscalar de- process technologies, and compilers clearly factor into performance sign, and a dynamic clock that adapts along with the hardware results, the IPC/clock rate tradeoff made in the design of key hard- structure to allow each configuration to run at its full clock rate po- ware structures can have a dramatic impact on individual applica- tential. Thus, CAPs provide many different IPC/clock rate tradeoff tion performance, with some applications favoring a simple, fast points within a single hardware implementation, yet do so while approach, and others performing better on a more complex design. maintaining the high clock rate of a fixed architecture. If the con- figurable hardware can be effectively managed by selecting the This research was supported in part by NSF CAREER Award MIP-9701915. best configuration at critical runtime points, then a single CAP de- sign may outperform conventional designs on a wide range of both 3 Unbuffered scientific and general-purpose applications. 2.5 Buffers, 0.25u The rest of this paper is organized as follows. In the next sec- Buffers, 0.18u tion, we discuss scaling of logic and wire delays with feature size 2 Buffers, 0.12u and the implications on the design of future processor hardware structures. We then describe in Section 3 how these trends will 1.5 allow fixed structures to be made adaptive with little extra effort 1 or delay penalty. Complexity-Adaptive Processors are introduced Wire Delay (ns) in Section 4, and in Section 5, we demonstrate how even sim- 0.5 ple implementations of complexity-adaptive cache hierarchies and instruction queues can significantly outperform conventional de- 0 signs. In Section 6, we discuss the prospects for greater perfor- 4 6 8 10 12 14 16 mance through finer-grained reconfigurable control of individual Number of Cache Arrays applications. Finally, in Section 7, we conclude and discuss future (a) work. 6 Unbuffered Scaling Trends and Implications 5 Buffers, 0.25u Buffers, 0.18u Semiconductor feature sizes continue to decrease at a rapid pace, 4 Buffers, 0.12u with 0.18 micron devices slated to appear in 1999, and 0.13 mi- cron devices following in 2003 [2]. Although this creates greater 3 transistor budgets for the microprocessor architect, because to a 2 first order transistor delays scale linearly with feature size while Wire Delay (ns) wire delays remain constant, wire delays are increasingly domi- 1 nating overall delay paths as feature sizes are decreased. For these reasons, repeater methodologies, in which buffers are placed at 0 regular intervals within a long wire to reduce wire delays, are be- 4 6 8 10 12 14 16 coming more commonplace in deep submicron designs. For ex- Number of Cache Arrays ample, the Sun UltraSPARC-IIi microprocessor, implemented in (b) a 0.25 micron CMOS process, contains over 1,200 buffers to im- Figure 1: Cache wire delay as a function of the number of subar- prove wire delay [21]. Note that wire buffers are used not only in rays and technology using (a) 2KB and (b) 4KB cache subarrays. busses between major functional blocks, but within self-contained hardware structures as well. The forthcoming HP PA-8500 micro- processor, which is also implemented in 0.25 micron CMOS, uses lays (data delays are identical) as a function of the number of sub- wire buffers for the global address and data buses of its on-chip arrays and feature size for caches constructed from 2KB and 4KB caches [12]. As feature sizes decrease to 0.18 micron and below, cache subarrays. There is only one unbuffered curve as wire de- other smaller structures will require the use of wire buffers in order lays remain constant with feature size. These results indicate that to meet timing requirements [18]. 16KB and larger caches constructed from 2KB subarrays and im- Our interest lies in the extent to which wire buffers will be re- plemented in 0.18 micron technology will benefit from buffering quired in the critical hardware structures of future dynamic super- strategies. Using 4KB subarrays, a buffering strategy will clearly scalar processors. These include the instruction cache hierarchy, be beneficial for caches 32KB and larger with 0.18 micron tech- branch predictor, register rename logic, instruction queues and is- nology. sue logic, register files, data cache hierarchy, Translation Looka- Our instruction queue follows the R10000’s integer queue de- side Buffers (TLBs), and reorder buffers, as well the structures sign, each entry of which contains 52 bits of single-ported RAM, required for proposed new mechanisms such as value prediction 12 bits of triple-ported CAM, and 6 bits of quadruple-ported CAM [16]. These structures are primarily composed of RAM or CAM- [29].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us