Today it was noticed, without any fanfare from Intel, that Knights Mill information has been uploaded to Intel’s specification database ARK. There are three known SKUs so far, with up to 72 cores and a 320W TDP. The Xeon Phi 'Knights Mill' products are a new iteration on the older 'Knights Landing' family, with a silicon change for additional AVX-512 instructions. As far as we can tell, these parts will only be available as socketable hosts and not as PCIe add-in cards.

In Intel’s approach to AI and compute and the data center, according to their talk at Hot Chips earlier this year, has multiple solutions depending on the workload. The Xeon Scalable Platform is meant for the widest variety of workloads, Xeon Phi for parallel acceleration and AI training, FPGAs for deep learning inference efficiency and the Crest family with dedicated deep learning by design. Each segment has its own roadmap, and the Xeon Phi roadmap has been somewhat confusing of late.

Moving from the 45nm Knights Ferry in 2010, Intel released 22nm Knights Corner in 2012 and 14nm Knights Landing in 2016. Last year, Intel had a contract with the Argonne National Laboratory to build the Aurora supercomputer at using 10nm Knights Hill (KNH) by 2020, which was the original successor to Knights Landing, however the KNH project was officially scrapped last month (Nov 2017) for various reasons, some citing Intel’s delay in releasing 10nm silicon. Intel still intends to follow through with the Aurora contract by 2021, it should be noted.

The new successor to Knights Landing (KNL) is Knights Mill (KNM), which was detailed back at Hot Chips. For the most part, the KNL and KNM chips are almost identical in core counts, frequencies, 36 PCIe 3.0 lanes, using 16GB of high-bandwidth MCDRAM and having six DRAM channels, but KNM offers a small design tweak to allow for better utilization of its AVX-512 units through supporting new sets of AVX-512 instructions as well as a small amount of silicon redesign. For pure performance metrics, this change means that Knights Mill offers only half of the double-precision performance of Knights Landing, but up to 2x in single precision and 4x with variable precision.

Intel Xeon Phi x205 Family (Knights Mill)
  Cores Base Turbo L2 TDP DRAM TCASE
7295 72 / 288 1.50 GHz 1.60 GHz 36 MB 320W DDR4-2400 77ºC
7285 68 / 272 1.30 GHz 1.40 GHz 34 MB 250W DDR4-2400 72ºC
7235 64 / 256 1.30 GHz 1.40 GHz 32 MB 250W DDR4-2133 72ºC

The three parts are officially members of the Xeon Phi x205 family, and match their x200 family members where the product numbers align (eg 7290 and 7295). The 7295 has the most cores and threads, with a higher frequency, more total L2 cache, support for DDR4-2400 and the higher temperature support. The 7285 is the middle of the pack, while the low end 7235 gives up some memory support, with only up to DDR4-2133.

The previous generation parts had some integrated OmniPath fabric versions (such as the 7290F) which do not seem to have migrated over to Knights Mill yet, though could potentially in the future. Each of the parts are similar to KNL, using 36 tiles of two cores, all connected with the 2D mesh, and each tile sharing 1MB of L2 cache with one VPU per core. 

On the specification side, everything seems pretty much by the book for core counts and frequencies. The one number that stands out is the 320W for the Xeon Phi 7295. This is a high power consumption number for a socketed processor, and if my memory serves me correctly, this is the highest TDP ever assigned to an Intel socketed CPU. This isn't the highest for a socketed processor though - IBM quoted 300-350W for its z14 hardware earlier this year, although it can go up to 500W on consumer request. The reason for this dramatic increase in Intel’s TDP number (we suspect) is three-fold: one, to catch more processors off the production line into the relevant voltage/frequency window, and two, the new instructions offer better utilization of the silicon, and three: double-pumped execution.

AVX-512 Support Propogation by Various Intel CPUs
  Xeon, Core X General Xeon Phi  
Skylake-SP AVX512BW
AVX512DQ
AVX512VL
AVX512F
AVX512CD
AVX512ER
AVX512PF
Knights Landing
Cannon Lake AVX512VBMI
AVX512IFMA
AVX512_4FMAPS
AVX512_4VNNIW
Knights Mill
Ice Lake AVX512_VNNI
AVX512_VBMI2
AVX512_BITALG
AVX512+VAES
AVX512+GFNI
AVX512+VPCLMULQDQ
AVX512_VPOPCNTDQ
Source: Intel Architecture Instruction Set Extensions and Future Features Programming Reference (pages 12 and 13)

The two headline changes on instructions for the new parts revolve around support for Quad FMA (QFMA, or 4FMAPS) for 32-bit floating point, and Vector Neural Network Instructions (VNNI) for 16-bit integers. To do this required changing the execution ports on the core.

Previously each VPU per core would offer identical 512-bit interfaces to the AVX-512 unit, supporting single precision (SP) and double precision (DP) math, with any half-precision (HP) falling under an SP block. In the new design, the ports are asymmetrical: the SP/DP block is split into a separate DP and SP/VNNI blocks, with one DP block removed (likely due to the size of the SP/VNNI block). This is best shown in the diagram above, though it means that DP performance is halved (2 blocks to 1), but SP performance is doubled (2 blocks to 4) and VNNI performance is quadrupled (2 SP blocks to 4 HP blocks).

The QFMA implementation allows for sequential fused-multiply-add to accumulate over four sets of calculations with a single instruction. Technically this adds latency, so the calculation needs enough ILP to hide the latency, but offers a single target for the vector accumulator and allows packing together of 12 aligned cycles in DRAM. Each FMA takes about 3 cycles.

For VNNI, the core takes two 16-bit integer inputs to give one 32-bit integer output for a horizontal dot product operation. The reason for using integer math here is two-fold: one, it enables 31-bits of INT prevision vs 24-bits of mantissa in FP, but also because IEEE standards are easier to implement in INT math.

Support for these new instructions and the silicon redesign means two things: one, the decoder potentially can work less, with more math being packed into a single instruction, but also caters to what Intel thought was a bottleneck in AVX-512 utilization: not enough codes were using all the AVX-512 unit all the time. This is designed to help increase utilization, and therefore would increase power consumption.

The other part of the equation is double pumping the AVX-512 unit, ensuring that the unit is fed at all times while reducing decode power.

Overall the KNM core is looks almost identical to the KNL core, aside from the VPU port changes. It still decodes 2-ops per cycle but gives out-of-order execution with 72-inflight micro-ops. To hide a lot of the latency, 4-way hyperthreading is enabled, hence why a 64-core part gives 256 threads.


Our KNL 7210 Sample

Intel’s major partners already have Knights Mill available for customers, although list pricing is currently not in Intel's Price List. It’s interesting that the data being added to Intel’s ARK platform wasn’t accompanied by any announcement, and seems to be a low-key affair. 

Source: Wikichip on TwitterIntel ARK

Additional

Something we missed in our first look at the specifications. Over the older Knights Landing parts, the new Knights Mill parts also support Intel virtualization technologies, specifically VT-d, VT-x and EPT.

Related Reading

Comments Locked

75 Comments

View All Comments

  • mode_13h - Wednesday, December 20, 2017 - link

    Yeah, that's the same thing I saw before.

    Seriously, did you L@@K at the benchies? Because the 835 has a Memory Bandwidth score of 17.2 GB/sec, while the N5000 only scores 7.80 GB/sec. Of course, that's sharing bandwidth between the CPU and GPU, so single-channel is going to have less than half the bandwidth available to the CPU.

    Anyway, let me know if you find one where they're both equipped with dual-channel memory. In that case, I expect N5000 will sweep the 835 across the board. ...not that I even know why that's relevant here, because that's a Goldmont+, whereas KNM uses a **heavily**-modified Silvermont.
  • Wilco1 - Wednesday, December 20, 2017 - link

    If you look at the *multi-threaded* scores, the memory bandwidth is 16.7 vs 13.6 GB/s. The issue seems to be that a single core somehow ends up much slower, while a single 835 core can use all of the memory bandwidth.

    The GPU will use some bandwidth in *both* cases, but a static display like during GB execution should be well below 1GB/s, so wouldn't affect scores significantly.

    I looked for desktop variants which might have faster memory, but there aren't any scores yet. The relevance? Current benchmarks show N5000 and 835 are in the same ballpark, KM runs at max 1.6GHz and uses a slower core. Given it's hard to find any benchmarks for Xeon Phi, knowing that per core performance on scalar code is around half that of a single core in 835 puts things into perspective.
  • mode_13h - Thursday, December 21, 2017 - link

    So, single-channel config tops out at 17.9 GB/s (theoretical), while dual-channel should be good for 35.8 GB/s. So, it's definitely single-channel. This is not very unusual, for entry-level x86 notebooks.

    Again, relevance to Knights Mill is basically non-existent, since it's a Silvermont w/ 4-way SMT, MCDRAM, mesh uncore, dual AVX-512 pipes, and who knows what other mods.
  • p1esk - Tuesday, December 19, 2017 - link

    Strange. They reduced FP64 performance, and increased FP32 and FP16 performance. But it seems like this chip would mostly be attractive to people running FP64 calculations. Those who want FP32 or FP16 performance are probably running machine learning tasks, and they are well served by GPUs already.
  • mode_13h - Tuesday, December 19, 2017 - link

    This article fails to mention what Intel has previously said about Knights Mill, which is that it's a version of Knights Landing that's been tuned up for Deep Learning workloads.

    As such, it's not a proper successor. They will concurrently sell both chips, with KNL going into more generic HPC setups and KNM going into deep-learning focused applications.
  • p1esk - Tuesday, December 19, 2017 - link

    Until this chip is fully supported by TF/PyTorch/Caffe and is faster or cheaper than 1080Ti or Titan V, I don't see why would anyone consider it for DL tasks.
  • mode_13h - Tuesday, December 19, 2017 - link

    That's the fatal flaw, and you've just put your finger on it. It can't touch a V100. Even Vega is probably faster and more efficient.
  • lmcd - Tuesday, December 19, 2017 - link

    I thought part of the point of these chips was that each core is independently programmable? AFAIK with CUDA/OpenCL and even with the post-VLIW architectures there's a much bigger branching penalty within a cluster than x86.
  • p1esk - Tuesday, December 19, 2017 - link

    Why would you need to program each core individually for DL?
  • mode_13h - Wednesday, December 20, 2017 - link

    Exactly. That's why I say I can see the point of KNL for some HPC workloads, where you might be using legacy or black-box proprietary code. But KNM is a miss, because deep learning doesn't tend to derive the same benefits from general-purpose programmability and runs swimmingly on GPUs.

Log in

Don't have an account? Sign up now