4 ms·
Yep. The M1 Max has a single-core memory bandwidth of 102GB/s, and an all-core bandwidth of 224GB/s, so splitting work across cores gives you more bandwidth: h
by dougall 4y ago
Yep. The M1 Max has a single-core memory bandwidth of 102GB/s, and an all-core bandwidth of 224GB/s, so splitting work across cores gives you more bandwidth:
https://www.anandtech.com/show/17024/apple-m1-max-performance-review/2 https://www.anandtech.com/show/17024/apple-m1-max-performanc...
But Huffman decoding also isn't even close to these numbers. Single stream decoding runs at about 6 cycles per byte, so you could maybe hit 533MB/s. By using instruction-level-parallelism on a single core I was able to reach 3.7GB/s (https://twitter.com/dougallj/status/1515260172783919105 https://twitter.com/dougallj/status/1515260172783919105), so still <10% of available memory bandwidth.