ARM与x86-64笔记本类处理器的比较分析:架构、汇编级性能与能效
A Comparative Analysis of ARM and x86-64 Laptop-Class Processors: Architecture, Assembly-Level Performance, and Energy Efficiency
AI总结:
本文对比了ARM和x86-64架构在指令集设计、内存层次、核心组织等方面的差异,通过实验验证了两者在性能和能效上的表现,发现ARM平台在能效上显著优于x86-64平台。
摘要:
ARM基于和x86-64笔记本处理器不仅在指令集设计上存在差异,还存在内存层次、核心组织、系统集成和电源管理机制的不同。本文对苹果M3系统和AMD Ryzen 7 3750H系统进行了综合的架构和实验比较。架构分析对比了AArch64的固定宽度加载-存储设计与x86-64的可变长度、内存操作丰富的指令模型,并讨论了寄存器组织、调用约定、异构核心组织、内存行为和低功耗机制如何影响观察到的性能和能耗特性。实验部分使用了两个原生汇编基准:递归斐波那契工作负载和整数矩阵乘法工作负载。分析结合了重复定时测量、处理器能耗测量以及匹配的便携式C剖析运行中的跨平台微架构计数器测量。Ryzen平台在分支密集的斐波那契基准上明显更快,而矩阵乘法在当前测量中没有显示出明显的性能优势。相比之下,苹果平台在能效上显著更优,斐波那契任务的能量消耗减少了约5.82倍,矩阵乘法任务减少了约6.38倍。这些结果被解释为平台层面的发现,而非单纯的指令集结构影响,反映了实现、系统集成和测量方法学之间的差异。
英文摘要:
ARM-based and x86-64 laptop processors differ not only in instruction-set design, but also in memory hierarchy, core organization, system integration, and power-management mechanisms. This study presents a combined architectural and experimental comparison of an Apple M3 system and an AMD Ryzen 7 3750H system. The architectural analysis contrasts AArch64's fixed-width load-store design with the variable-length, memory-operand-rich x86-64 instruction model, and discusses how register organization, calling conventions, heterogeneous core organization, memory behavior, and low-power mechanisms shape observed performance and energy characteristics. The experimental part uses two native assembly benchmarks: a recursive Fibonacci workload and an integer matrix-multiplication workload. The analysis combines repeated timing measurements, processor-energy measurements, and cross-platform microarchitectural counter measurements from matched portable-C profiling runs. The Ryzen platform is decisively faster on the branch-heavy Fibonacci benchmark, while matrix multiplication shows no meaningful timing advantage for either platform in the present measurements. In contrast, the Apple platform is markedly more energy-efficient, reducing energy-to-solution by approximately 5.82$\times$ on Fibonacci and 6.38$\times$ on matrix multiplication. These results are interpreted as platform-level findings rather than as pure ISA-only effects, reflecting differences in implementation, system integration, and measurement methodology in addition to instruction-set structure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。