论文标题
轴:新兴内存体系结构的近似管理器
AXES: Approximation Manager for Emerging Memory Architectures
论文作者
论文摘要
内存近似技术通常在范围上受到限制,针对内存层次结构的各个级别。完整内存层次结构的现有近似技术确定在设计时间时的最佳配置提供了目标和应用程序。此类政策是严格的:它们不能适应未知的工作负载,必须重新设计用于不同的内存配置和技术。我们提出轴:在所有级别的内存层次结构上协调可配置近似旋钮的第一个自优化运行时管理器。轴连续更新并优化其在整个运行时的近似管理策略,以实现各种工作负载。轴优化了近似内存配置,以最大程度地减少功耗,而不会损害应用程序开发人员指定的质量阈值。轴可以(1)在运行时学习一个策略,以管理可变应用程序服务质量(QOS)约束,(2)自动优化这些约束中的目标度量,以及(3)协调相互依存的旋钮和子系统的运行时决策。我们展示了轴在RISC-V Linux平台上有效提供功能1-3的能力,该平台在片上缓存和主内存中具有近似内存段。我们展示了轴在没有任何设计时间开销的情况下在内存子系统中节省多达37%能量的能力。我们显示轴的能力减少QoS违规行为,并以$ <5 \%$ $额外的能量减少75%。
Memory approximation techniques are commonly limited in scope, targeting individual levels of the memory hierarchy. Existing approximation techniques for a full memory hierarchy determine optimal configurations at design-time provided a goal and application. Such policies are rigid: they cannot adapt to unknown workloads and must be redesigned for different memory configurations and technologies. We propose AXES: the first self-optimizing runtime manager for coordinating configurable approximation knobs across all levels of the memory hierarchy. AXES continuously updates and optimizes its approximation management policy throughout runtime for diverse workloads. AXES optimizes the approximate memory configuration to minimize power consumption without compromising the quality threshold specified by application developers. AXES can (1) learn a policy at runtime to manage variable application quality of service (QoS) constraints, (2) automatically optimize for a target metric within those constraints, and (3) coordinate runtime decisions for interdependent knobs and subsystems. We demonstrate AXES' ability to efficiently provide functions 1-3 on a RISC-V Linux platform with approximate memory segments in the on-chip cache and main memory. We demonstrate AXES' ability to save up to 37% energy in the memory subsystem without any design-time overhead. We show AXES' ability to reduce QoS violations by 75% with $<5\%$ additional energy.