Proximu$: Efficiently Scaling DNN Inference in Multi-core CPUs through Near-Cache Compute
Hardware Architecture
2020-12-04 v2
Abstract
Deep Neural Network (DNN) inference is emerging as the fundamental bedrock for a multitude of utilities and services. CPUs continue to scale up their raw compute capabilities for DNN inference along with mature high performance libraries to extract optimal performance. While general purpose CPUs offer unique attractive advantages for DNN inference at both datacenter and edge, they have primarily evolved to optimize single thread performance. For highly parallel, throughput-oriented DNN inference, this results in inefficiencies in both power and performance, impacting both raw performance scaling and overall performance/watt. We present Proximu\,wherewesystematicallytackletherootinefficienciesinpowerandperformancescalingforCPUDNNinference.Performancescalesefficientlybydistributinglight−weighttensorcomputenearallcachesinamulti−levelcachehierarchy.Thismaximizesthecumulativeutilizationoftheexistingbandwidthresourcesinthesystemandminimizesmovementofdata.PowerisdrasticallyreducedthroughsimpleISAextensionsthatencodethestructured,loop−yworkloadbehavior.Thisenablesabulkoffloadofpre−decodedwork,withloopunrollinginthelight−weightnear−cacheunits,effectivelybypassingthepower−hungrystagesofthewideOut−of−Order(OOO)CPUpipeline.AcrossanumberofDNNmodels,Proximu$achievesa2.3xincreaseinconvolutionperformance/wattwitha2xto3.94xscalinginrawperformance.Similarly,Proximu$achievesa1.8xincreaseininner−productperformance/wattwith2.8xscalinginperformance.Withnochangestotheprogrammingmodel,noincreaseincachecapacityorbandwidthandminimaladditionalhardware,Proximu$$ enables unprecedented CPU efficiency gains while achieving similar performance to state-of-the-art Domain Specific Accelerators (DSA) for DNN inference in this AI era.
Cite
@article{arxiv.2011.11695,
title = {Proximu$: Efficiently Scaling DNN Inference in Multi-core CPUs through Near-Cache Compute},
author = {Anant V. Nori and Rahul Bera and Shankar Balachandran and Joydeep Rakshit and Om J. Omer and Avishaii Abuhatzera and Belliappa Kuttanna and Sreenivas Subramoney},
journal= {arXiv preprint arXiv:2011.11695},
year = {2020}
}
Comments
18 pages, 21 figures