logoalt Hacker News

lowbloodsugartoday at 12:35 AM1 replyview on HN

Would the 40 Mac’s work with pipelining though?


Replies

adrian_btoday at 11:04 AM

No matter how many external drives you gather, the data coming from them must be squeezed through the peripheral interfaces of the Apple SoC.

So your CPU, made by Apple, Intel, AMD etc., has a number of PCIe lanes and a number of USB/Thunderbolt ports for connecting peripherals.

Those have an aggregated throughput, which sets an upper limit for the amount of data that can be read per second from all the peripheral devices.

In a given computer, usually not all the lanes and ports of the CPU are actually connected, so the limit may be even lower.

In desktop PCs and mini-PCs, usually only 4 + 4 = 8 PCIe lanes are available for SSDs, and when there are more SSD sockets they share some of those lanes.

A much higher SSD throughput could be achieved in a desktop PC by using the GPU connector with an SSD adapter for M.2 SSDs, which has 16 PCIe 5.0 lanes, with a 64 GByte/s throughput.

Taking out the GPU might actually be OK for doing AI inference, because a beefy CPU like a Ryzen 9950X should be able to keep up with a reading throughput of 88 GB/s from 6 SSDs (2 on the motherboard and 4 on the add-on PCIe card), while computing inference in the INT8 or BF16 formats, so the absence of the GPU would not reduce the inference speed when it is limited by the speed of reading the weights.