Your browser is not supported. Please update it.

7 April 2017

Google’s TPU trounces Intel, Nvidia, in claimed benchmark battering

Google is throwing down the gauntlet in the machine-learning arena, flaunting the capabilities of its Tensor Processing Unit (TPU) silicon in a new paper. Claiming 15x the speed and 30x the performance per watt of Intel’s Xeons and Nvidia’s GPU, Google custom ASIC seems to clearly demonstrate the benefit of having exactly the right tool for the job, and likely the future of the market.

Launched back in May, Google’s TPU is a chip designed to perform machine-learning functions using Google’s Tensorflow framework, and open source design that reached v1.0 back in February. Google used its TPUs in the AlphaGo competition, which pitted its AI system against the world’s best Go player – a game famed for being very hard for computer systems.

However, Google’s paper is based on benchmarks based on 2015 hardware, and since then, Intel and Nvidia have been pretty proactive in releasing products to address the emerging machine-learning market. While Google’s results do show the benefits of using a custom-designed chip for machine-learning, the gap between its TPU and Nvidia and Intel’s designs will have shrunk in these past few quarters.

Due to be presented in June, at the 44th International Symposium on Computer Architecture (ISCA), the paper does note that Intel moved into 14nm chips, and that Nvidia has launched its 16nm GPUs (moving from Kepler to Maxwell and Pascal) – although notes that the TPUs would benefit greatly from upgrading its DDR3 memory to something more modern.

“While future CPUs and GPUs will surely run inference faster, a redesigned TPU using circa-2015 GPU memory (GDDR5) would go two to three times as fast, and boost the performance/watt advantage of nearly 70x over the Nvidia GPU, and 200 times over the Intel Haswell CPU.”

Consequently, it’s tricky to draw direct comparisons between these historic results and the results we’d expect to see if the tests were run again on 2017 hardware. However, the paper’s main claim, that major improvements in cost-energy-performance need to come from domain-specific hardware, stands up to scrutiny. It looks like the TPU is immensely more power-efficient than its rivals.

Its power efficiency is key for data center adoption, as electricity is the largest variable cost that these providers have to accommodate. Of course, should the TPU cost too much up front, then its energy saving is redundant in terms of its TCO, but given the claims that Google makes about its performance, then the value that a TPU-based system would provide. According to the results, the TPUs win out.

The paper also states that researchers have become too focused on Convolutional Neural Networks (CNNs), which only account for around 5% of Google’s AI cloud workload. It argues that they should turn their attention to the kinds of machine-learning types that will be used in real-world applications, such as Multi-Layer Perceptrons (MLPs), which account for around 61% of the Google AI workload in the data center. Currently, the researchers favor the CNNs that are more typically used on edge-devices, rather than the cloud-centric tools.

According to the Google benchmarks, run way back in 2015, the TPU outperformed an Intel Xeon (Haswell) and Nvidia’s K80 (Kepler) GPU, scoring 15-30x the speed and 25-29 the power efficiency. The specific Intel chip was a E5-2699 v3 Xeon, a Haswell architecture 18-core CPU, with a 145W power draw and a 2.3GHz clock speed, which ramps up to 3.6GHz under load, and 45MB of cache.

As for Nvidia, the K80 sits in its High Performance Computing family of GPUs, a PCI accelerator card designed for data centers, which uses two 28nm GK210 GPUs to provide 4,992 CUDA cores, 24GB of GDDR5 memory, with 480GB/s of memory bandwidth. Nvidia claims that equates to 2.91 Teraflops of double-precision performance, or 8.73 Teraflops of single-precision. Drawing 300W of electricity, the K80 has a base clock of 560MHz, which boosts to 875MHz.

The TPU isn’t a standalone chip. It acts as an accelerator for other hardware. The benchmarks focused on a CPU+GPU combination, a CPU+TPU combo, and a GPU+TPU model, as well as standalone performance where applicable. In TCO, the most important metric for evaluating a data center deployment, the CPU+TPU option demolished the more common CPU+GPU, and it looks like the aforementioned memory upgrade would ensure that victory over the newer CPU and GPU designs.

Used as a hardware accelerator, the 28nm TPU chip uses a 40W power draw, with a 700MHz clock speed. Its centers around a main logic unit that provides 92 tera-operations each second, using 65,536 8-bit multiply-accumulate units, with a 24MB cache.

TPU development began in 2013, with the early research focusing on using FPGAs, before deciding that the FPGAs were not competitive with contemporary GPUs. But the TPU designers opted for the ASIC approach due to the high power draw of those GPUs, aiming to create a chip with much lower power consumption.

In separate news, Intel has just announced a partnership with Preferred Networks (PFN) in Japan, to work on Chainer, PFN’s open source deep learning framework – a rival to Tensorflow. As for Nvidia, it has just released its new flagship consumer graphics card, the Titan XP, ahead of AMD’s launch of its new Vega family of rival cards.

For Intel, any move to boost the popularity of its Xeon Phi accelerators and its core Xeon CPU offerings in the emerging machine-learning market is a boost, but Chainer doesn’t have much presence at the moment – and trying to dethrone the likes of Tensorflow, Theano, Torch, or Caffe would be tricky, given their almost incumbent stature.