Engineering:Maxwell (microarchitecture)

From HandWiki
Short description: GPU microarchitecture by Nvidia
Nvidia Maxwell
GTX980tiFE.jpg
NVIDIA GeForce GTX 980ti of the GeForce 900-line of graphics-cards, was the final major iteration featuring the Maxwell microarchitecture (GM200-310).
Release dateFebruary 2014
Fabrication processTSMC 28 nm
History
PredecessorKepler
SuccessorPascal

Maxwell is the codename for a GPU microarchitecture developed by Nvidia as the successor to the Kepler microarchitecture. The Maxwell architecture was introduced in later models of the GeForce 700 series and is also used in the GeForce 800M series, GeForce 900 series, and Quadro Mxxx series, as well as some Jetson products, all manufactured with TSMC's 28 nm process.[1]

The first Maxwell-based products were the GeForce GTX 745 (OEM), GeForce GTX 750, and the GeForce GTX 750 Ti. Both were released on February 18, 2014, both with the chip code number GM107. Earlier GeForce 700 series GPUs had used Kepler chips with the code numbers GK1xx. First-generation Maxwell GPUs (code numbers GM10x) are also used in the GeForce 800M series and the Quadro Kxxx series. A second generation of Maxwell-based products was introduced on September 18, 2014 with the GeForce GTX 970 and GeForce GTX 980, followed by the GeForce GTX 960 on January 22, 2015, the GeForce GTX Titan X on March 17, 2015, and the GeForce GTX 980 Ti on June 1, 2015. The final and lowest spec Maxwell 2.0 card was the GTX950 released on Aug 20th, 2015. These GPUs have GM20x chip code numbers.

Maxwell introduced an improved Streaming Multiprocessor (SM) design that increased power efficiency,[2] the sixth and seventh generation PureVideo HD, and CUDA Compute Capability 5.2.

The architecture is named after James Clerk Maxwell, the founder of the theory of electromagnetic radiation.

The Maxwell architecture is used in the system on a chip (SOC), mobile application processor, Tegra X1.

First generation Maxwell (GM10x)

Maxwell 107 chip on GTX 750 Ti graphics card with heatsink removed

First generation Maxwell GPUs (GM107/GM108) were released as GeForce GTX 745, GTX 750/750 Ti, GTX 850M/860M (GM107) and GeForce 830M/840M (GM108). These new chips introduced few consumer-facing additional features, as Nvidia instead focused more on increasing GPU power efficiency. The L2 cache was increased from 256 KiB on Kepler to 2 MiB on Maxwell, reducing the need for more memory bandwidth. Accordingly, the memory bus was reduced from 192 bit on Kepler (GK106) to 128 bit, reducing die area, cost, and power draw.[3]

The "SMX" streaming multiprocessor design from Kepler was also retooled and partitioned, being renamed "SMM" for Maxwell. The structure of the warp scheduler was inherited from Kepler, with the texture units and FP64 CUDA cores still shared, but the layout of most execution units were partitioned so that each warp schedulers in an SMM controls one set of 32 FP32 CUDA cores, one set of 8 load/store units and one set of 8 special function units. This is in contrast to Kepler, where each SMX had 4 schedulers that scheduled to a shared pool of execution units.[4] The latter necessitated an SMX-wide crossbar that used unnecessary power to allow all execution units to be shared.[4] Conversely, Maxwell's more modular design allows for a finer-grained and more efficient allocation of resources, saving power when the workload isn't optimal for shared resources. Nvidia claims a 128 CUDA core SMM has 90% of the performance of a 192 CUDA core SMX while efficiency increases by a factor of 2.[3] Also, each Graphics Processing Cluster, or GPC, contains up to 4 SMX units in Kepler, and up to 5 SMM units in first generation Maxwell.[3]

GM107 also supports CUDA Compute Capability 5.0 compared to 3.5 on GK110/GK208 GPUs and 3.0 on GK10x GPUs. Dynamic Parallelism and HyperQ, two features in GK110/GK208 GPUs, are also supported across the entire Maxwell product line. Maxwell also provides native shared memory atomic operations for 32-bit integers and native shared memory 32-bit and 64-bit compare-and-swap (CAS), which can be used to implement other atomic functions.

Nvidia's video encoder, NVENC, was upgraded to be 1.5 to 2 times faster than on Kepler-based GPUs, meaning it can encode video at six to eight times playback speed.[3] Nvidia also claims an eight to ten times performance increase in PureVideo Feature Set E video decoding due to the video decoder cache, paired with increases in memory efficiency. However, H.265 is not supported for full hardware decoding in first generation Maxwell GPUs, relying on a mix of hardware and software decoding.[3] When decoding video, a new low power state "GC5" is used on Maxwell GPUs to conserve power.[3]

Maxwell GPUs were thought to use tile-based rendering, [5] but they actually use tiled caching. [6]

Chips

  • GM107
  • GM108

Second generation Maxwell (GM20x)

Die shot of the GM200 GPU found inside GeForce GTX 980 Ti cards

Second generation Maxwell GPUs introduced several new technologies: Dynamic Super Resolution,[7] Third Generation Delta Color Compression,[8] Multi-Pixel Programming Sampling,[9] Nvidia VXGI (Real-Time-Voxel-Global Illumination),[10] VR Direct,[10][11][12] Multi-Projection Acceleration,[8] Multi-Frame Sampled Anti-Aliasing(MFAA)[13] (however, support for Coverage-Sampling Anti-Aliasing(CSAA) was removed),[14] and Direct3D12 API at Feature Level 12_1. HDMI 2.0 support was also added.[15][16]

The ROP to memory controller ratio was changed from 8:1 to 16:1.[17] However, some of the ROPs are generally idle in the GTX 970 because there are not enough enabled SMMs to give them work to do, reducing its maximum fill rate.[18]

The Polymorph Engine responsible for tessellation was upgraded to version 3.0 in second generation Maxwell GPUs, resulting in improved tessellation performance per unit/clock.

Second generation Maxwell also has up to 4 SMM units per GPC, compared to 5 SMM units per GPC.[17]

GM204 supports CUDA Compute Capability 5.2 (compared to 5.0 on GM107/GM108 GPUs, 3.5 on GK110/GK208 GPUs and 3.0 on GK10x GPUs).[8][17][19]

GM20x GPUs have an upgraded NVENC which supports HEVC encoding and adds support for H.264 encoding resolutions at 1440p/60FPS & 4K/60FPS (compared to NVENC on Maxwell first generation GM10x GPUs which only supported H.264 1080p/60FPS encoding).[12]

After consumer complaints,[20] Nvidia revealed that it is able to disable individual units, each containing 256KB of L2 cache and 8 ROPs, without disabling whole memory controllers.[21] This comes at the cost of dividing the memory bus into high speed and low speed segments that cannot be accessed at the same time for reads, because the L2/ROP unit managing both of the GDDR5 controllers shares the read return channel and the write data bus between the GDDR5 controllers. This makes simultaneous reading from both GDDR5 controllers or simultaneous writing to both GDDR5 controllers impossible.[21] This is used in the GeForce GTX 970, which therefore can be described as having 3.5 GB in a high-speed segment on a 224-bit bus and 512 MB in a low-speed segment on a 32-bit bus.[21] The peak speed of such a GPU can still be attained, but the peak speed figure is only reachable if one segment is executing a read operation while the other segment is executing a write operation.[21]

Chips

  • GM200
  • GM204
  • GM206

Performance

The theoretical single-precision processing power of a Maxwell GPU in FLOPS is computed as 2 (operations per FMA instruction per CUDA core per cycle) × number of CUDA cores × core clock speed (in Hz).

The theoretical double-precision processing power of a Maxwell GPU is 1/32 of the single precision performance (which has been noted as being very low compared to the previous generation Kepler).[22]

Successor

The successor to Maxwell is codenamed Pascal.[23] The Pascal architecture features higher bandwidth unified memory and NVLink.[23]

See also

References

  1. "NVIDIA GeForce GTX 880 and GTX 870 coming this fall". June 17, 2014. https://videocardz.com/50902/nvidia-geforce-gtx-880-gtx-870-coming-fall. 
  2. "5 Things You Should Know About the New Maxwell GPU Architecture". 2014-02-21. http://devblogs.nvidia.com/parallelforall/5-things-you-should-know-about-new-maxwell-gpu-architecture/. 
  3. 3.0 3.1 3.2 3.3 3.4 3.5 Smith, Ryan; T S, Ganesh (18 February 2014). "The NVIDIA GeForce GTX 750 Ti and GTX 750 Review: Maxwell Makes Its Move". AnandTech. http://www.anandtech.com/show/7764/the-nvidia-geforce-gtx-750-ti-and-gtx-750-review-maxwell. 
  4. 4.0 4.1 Ryan Smith, Ganesh T S. "Maxwell: Designed For Energy Efficiency - The NVIDIA GeForce GTX 750 Ti and GTX 750 Review: Maxwell Makes Its Move". http://www.anandtech.com/show/7764/the-nvidia-geforce-gtx-750-ti-and-gtx-750-review-maxwell/3. 
  5. Kanter, David (August 1, 2016). "Tile-based Rasterization in Nvidia GPUs". Real World Technologies. http://www.realworldtech.com/tile-based-rasterization-nvidia-gpus/. 
  6. "On NVIDIA's Tile-Based Rendering". Tech Power Up. March 1, 2017. https://www.techpowerup.com/231129/on-nvidias-tile-based-rendering. 
  7. "Dynamic Super Resolution Improves Your Games With 4K-Quality Graphics On HD Monitors". https://www.nvidia.com/en-us/geforce/news/dynamic-super-resolution-instantly-improves-your-games-with-4k-quality-graphics/. 
  8. 8.0 8.1 8.2 "Archived copy". http://international.download.nvidia.com/geforce-com/international/pdfs/GeForce_GTX_980_Whitepaper_FINAL.PDF. 
  9. "NVIDIA BatteryBoost: Ditch the Brick". https://www.nvidia.com/en-us/geforce/technologies/battery-boost/. 
  10. 10.0 10.1 "GeForce Articles, Guides, Gaming News, Featured Stories". https://www.nvidia.com/en-us/geforce/news/. 
  11. "How Maxwell's VR Direct Brings Virtual Reality Gaming Closer to Reality". The Official NVIDIA Blog. http://blogs.nvidia.com/blog/2014/09/18/maxwell-virtual-reality/. 
  12. 12.0 12.1 Ryan Smith. "Display Matters: HDMI 2.0, HEVC, & VR Direct - The NVIDIA GeForce GTX 980 Review: Maxwell Mark 2". http://www.anandtech.com/show/8526/nvidia-geforce-gtx-980-review/5. 
  13. "Multi-Frame Sampled Anti-Aliasing Delivers Better Performance To Maxwell Gamers". https://www.nvidia.com/en-us/geforce/news/multi-frame-sampled-anti-aliasing-delivers-better-performance-and-superior-image-quality/. 
  14. "New nVidia Maxwell chips do not support fast CSAA". https://forums.realhardwarereviews.com/topic/260/new-nvidia-maxwell-chips-do-not-support-fast-csaa. 
  15. "GeForce RTX 20 Series Graphics Cards and Laptops". https://www.nvidia.com/en-us/geforce/20-series/. 
  16. Ryan Smith. "The NVIDIA GeForce GTX 980 Review: Maxwell Mark 2". http://www.anandtech.com/show/8526/nvidia-geforce-gtx-980-review. 
  17. 17.0 17.1 17.2 Ryan Smith. "Maxwell 2 Architecture: Introducing GM204 - The NVIDIA GeForce GTX 980 Review: Maxwell Mark 2". http://www.anandtech.com/show/8526/nvidia-geforce-gtx-980-review/3. 
  18. "Here's another reason the GeForce GTX 970 is slower than the GTX 980". The Tech Report. http://techreport.com/blog/27143/here-another-reason-the-geforce-gtx-970-is-slower-than-the-gtx-980. 
  19. "Maxwell: The Most Advanced CUDA GPU Ever Made". Parallel Forall. 19 September 2014. http://devblogs.nvidia.com/parallelforall/maxwell-most-advanced-cuda-gpu-ever-made/. 
  20. Geoffrey Tim (3 December 2015). "Nvidia's GTX970 has a rather serious memory allocation bug". Lazygamer.net. http://www.lazygamer.net/general-news/nvidias-gtx970-has-a-rather-serious-memory-allocation-bug/. 
  21. 21.0 21.1 21.2 21.3 Ryan Smith. "Diving Deeper: The Maxwell 2 Memory Crossbar & ROP Partitions - GeForce GTX 970: Correcting The Specs & Exploring Memory Allocation". http://www.anandtech.com/show/8935/geforce-gtx-970-correcting-the-specs-exploring-memory-allocation/2. 
  22. Smith, Ryan (17 March 2015). "The NVIDIA GeForce GTX Titan X Review". AnandTech: p. 2. http://www.anandtech.com/show/9059/the-nvidia-geforce-gtx-titan-x-review/2. "...puny native FP64 rate of just 1/32" 
  23. 23.0 23.1 "NVIDIA Updates GPU Roadmap; Announces Pascal". The Official NVIDIA Blog. http://blogs.nvidia.com/blog/2014/03/25/gpu-roadmap-pascal/.