NVIDIA GTX480费米GPU结构的热分析
Thermal Analysis for NVIDIA GTX480 Fermi GPU Architecture
摘要:
在这个项目中,我们设计了一个四层(硅|TIM|硅|TIM),NVIDIA GTX 480 Fermi GPU架构的3D平面图,并比较矩阵乘法和Needleman-Wunsch内核的散热和功耗趋势。首先,为这两个算法编写cuda内核。这些内核使用GPGPU模拟器编译和执行,以提取不同张量大小的功率日志。使用Python编写的自动化脚本将这些电源日志转换为ptrace文件。3D平面图以及生成的ptrace文件被提供给HotSpot,HotSpot生成热图,以显示费米架构的各种组件的散热情况。对于多个张量大小,观察两个内核的这些散热趋势,以得出定性结论。这两个内核的行为和执行模式也观察到这些不同的散热趋势。在这个项目中,我们观察到张量大小的增加会导致费米架构组件的散热增加。然而,芯片的温度在特定张量大小之后保持饱和,并且此后保持恒定。张量越小,热耗散越不均匀,当张量达到一定大小后,热耗散变得越均匀。这意味着,在特定的张量大小之后,架构的更多核心在计算中被激活,从而导致几乎恒定的温度。我们还观察到,Needleman Wunsch在DRAM和缓存之间使用更多的数据移动,从而在DRAM中显示出更高的散热模式,与相同张量大小的矩阵乘法相比。我们的观察结果与这两种算法背后的理论概念一致,从而使我们的结果保持一致。
英文摘要:
In this project, we design a four-layer (Silicon|TIM|Silicon|TIM), 3D floor plan for NVIDIA GTX480 Fermi GPU architecture and compare heat dissipation and power trends for matrix multiplication and Needleman-Wunsch kernels. First, cuda kernels for the two algorithms are written. These kernels are compiled and executed with the GPGPU Simulator to extract power logs for varying tensor sizes. These power logs are converted to ptrace files with an automation script written in Python. The 3D floor plan, along with the generated ptrace files are given to HotSpot, which generates thermal heat maps to show heat dissipation for various components of the Fermi architecture. These heat dissipation trends for both the kernels are observed for multiple tensor sizes to draw qualitative conclusions. The behavioral and execution patterns of both kernels are also observed with these varying heat dissipation trends. With this project, we observe that an increase in tensor size results in an increase of heat dissipation in components of the Fermi Architecture. However, the temperature of the chip remains saturated after a particular tensor size and remains constant thereafter. Heat dissipation is non-uniform with smaller tensor sizes, and becomes more uniform after a certain tensor size. This means, that after a particular tensor size, more cores of the architecture get activated in the computations, thereby resulting in an almost constant temperature. We also observe that Needleman Wunsch uses more data movement between DRAM and caches, thereby showing higher heat dissipation patterns in DRAMs when compared to Matrix multiplication for the same tensor size. Our observations are in accordance with the theoretical concepts behind the working of the two algorithms, thereby making our results consistent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。