White Paper on M1-R4

White Paper on M1-R4

COURTESY :- vrindawan.in

Wikipedia

Apple M1 is a series of ARM-based systems-on-a-chip (SoCs) designed by Apple Inc. as a central processing unit (CPU) and graphics processing unit (GPU) for its Mac desktops and notebooks, and the iPad Pro and iPad Air tablets. The M1 chip initiated Apple’s third change to the instruction set architecture used by Macintosh computers, switching from Intel to Apple silicon 14 years after they were switched from PowerPC to Intel, and 26 years after the transition from the original Motorola 68000 series to PowerPC. At the time of introduction in 2020, Apple said that the M1 had the world’s fastest CPU core “in low power silicon” and the world’s best CPU performance per watt. Its successor, Apple M2, was announced on June 6, 2022 at WWDC.

File:Bolitophila (Cliopisa) wing veins.svg - Wikipedia

The M1 was introduced in November 2020. The M1 was followed by the professional-focused M1 Pro and M1 Max chips in 2021. The M1 Max is a higher-powered version of the M1 Pro, with more GPU cores and memory bandwidth and a larger die size. Apple introduced the M1 Ultra in 2022, combining two M1 Max chips in one package. These chips differ largely in size and the number of functional units: for example, while the original M1 has about 16 billion transistors, the M1 Ultra has 114 billion.

Apple’s mac OS and iPad OS operating systems both run on the M1. Initial support for the M1 SoC in the Linux kernel was released in version 5.13 on June 27, 2021. The initial versions of the M1 chips contain an architectural defect that permits sandboxed applications to exchange data, violating the security model, an issue that has been described as “mostly harmless”.

The M1 has four high-performance “Firestorm” and four energy-efficient “Icestorm” cores, first seen on the A14 Bionic. It has a hybrid configuration similar to ARM Dynam IQ and Intel’s Lake field, Alder Lake and Raptor Lake processors. This combination allows power-use optimizations not possible with previous Apple–Intel architecture devices. Apple claims the energy-efficient cores use one-tenth the power of the high-performance ones. The high-performance cores have an unusually large 192 KB of L1 instruction cache and 128 KB of L1 data cache and share a 12 MB L2 cache; the energy-efficient cores have a 128 KB L1 instruction cache, 64 KB L1 data cache, and a shared 4 MB L2 cache. The SoC also has a 8MB System Level Cache shared by the GPU.

The M1 Pro and M1 Max use the same ARM big.LITTLE design as the M1, with eight high-performance “Firestorm” (six in the lower-binned variants of the M1 Pro) and two energy-efficient “Icestorm” cores, providing a total of ten cores (eight in the lower-binned variants of the M1 Pro). The high-performance cores are clocked at 3228 MHz, and the high-efficiency cores are clocked at 2064 MHz. The eight high-performance cores are split into two clusters. Each high-performance cluster shares 12 MB of L2 cache. The two high-efficiency cores share 4 MB of L2 cache. The M1 Pro and M1 Max have 24 MB and 48 MB respectively of system level cache (SLC).

The M1 Ultra combines two M1 Max chips in one package for a total of 20 CPU cores and 96 MB system level cache (SLC).

The M1 integrates an Apple designed eight-core (seven in some base models) graphics processing unit (GPU). Each GPU core is split into 16 Execution Units, which each contain eight Arithmetic Logic Units (ALUs). In total, the M1 GPU contains up to 128 Execution units or 1024 ALUs, which Apple says can execute up to 24,576 threads simultaneously and which have a maximum floating point (FP32) performance of 2.6 TFLO Ps.

The M1 Pro integrates a 16-core (14 in some base models) graphics processing unit (GPU), while the M1 Max integrates a 32-core (24 in some base models) GPU. In total, the M1 Max GPU contains up to 512 execution units or 4096 ALUs, which have a maximum floating point (FP32) performance of 10.4 TFLOPs.

The M1 Ultra features a 48- or 64-core GPU with up to 8192 ALUs and 21 TFLOPs of FP32 performance.

The M1 uses a 128-bit LPDDR4X SDRAM in a unified memory configuration shared by all the components of the processor. The SoC and RAM chips are mounted together in a system-in-a-package design. 8 GB and 16 GB configurations are available.

The M1 Pro has 256-bit LPDDR5 SDRAM memory, and the M1 Max has 512-bit LPDDR5 SDRAM memory. While the M1 SoC has 66.67GB/s memory bandwidth, the M1 Pro has 200GB/s bandwidth and the M1 Max has a 400GB/s bandwidth. The M1 Pro comes in memory configurations of 16 GB and 32 GB, and the M1 Max comes in configurations of 32 GB and 64 GB.

The M1 Ultra doubles the specs of the M1 Max for a 1024-bit memory bus with 800GB/s bandwidth in a 64 GB or 128 GB configuration.

The M1 contains dedicated neural network hardware in a 16-core Neural Engine, capable of executing 11 trillion operations per second. Other components include an image signal processor, a PCIe storage controller, a USB4 controller that includes Thunderbolt 3 support, and a Secure Enclave. The M1 Pro, Max and Ultra support Thunderbolt 4.

Apple M1 - Wikipedia

The M1 has video codec encoding support for HEVC and H.264. It has decoding support for HEVC, H.264, and ProRes. The M1 Pro, M1 Max, and M1 Ultra have a media engine which has hardware-accelerated H.264, HEVC, ProRes, and ProRes RAW. This media engine includes a video decode engine (the M1 Ultra has two), a video encode engine (the M1 Max has two and the M1 Ultra has four), and a ProRes encode and decode engine (again the M1 Max has two and the M1 Ultra has four).

The M1 Max supports High Power Mode on the 16-inch MacBook Pro for intensive tasks. The M1 Pro supports two 6K displays at 60Hz over Thunderbolt, while the M1 Max supports a third 6K display over Thunderbolt and a 4K monitor over HDMI 2.0. All parameters of the M1 Max processors are doubled in M1 Ultra processors, as they are essentially two M1 Max processors operating in parallel; they are in a single package (in size being bigger than Socket AM4 AMD Ryzen processor) and seen as one processor in mac OS.

The M1 recorded competitive performance and efficiency in popular benchmarks (Geekbench 5, Cinebench R23).

The 2020 M1-equipped Mac Mini draws 7 watts when idle and 39 watts at maximum load, compared with 20 watts idle and 122 watts maximum load for the 2018, 6-core Intel i7 Mac mini. The energy efficiency of the M1 increases battery life of M1-based MacBooks by 50% compared to previous Intel-based MacBooks.

At release, the MacBook Air (M1, 2020) and MacBook Pro (M1, 2020) were praised by critics for its CPU performance and battery life, particularly compared to previous MacBooks.