3 ms·
Its certainly non-linear, and you're right that its dominated by precharge / read-write cycles. But DDR4 RAM has support for 16 banks per stick! A CPU with two
by dragontamer 9y ago
Its certainly non-linear, and you're right that its dominated by precharge / read-write cycles.
But DDR4 RAM has support for 16 banks per stick! A CPU with two memory controllers can have 64 outstanding requests to DDR4 RAM simultaneously (16 per stick, x2 from the chip select, x2 for the 2nd memory controller).
And since modern cores are highly multithreaded, and also have prefetchers and whatnot, I'm sure the modern DDR4 bus is quite active.
Perhaps it doesn't matter too much for single-threaded situations (single-threads only benefit from prefetch and out-of-order executions). But a Ryzen 2700x is a 8-core / 16-threaded beast, which will surely eat up all of those outstanding DDR4 requests. Intel's 8700k is 6-core/12-threads as well, so they'll rack up those memory requests and keep the bus busy.
And if each of your Assembly commands are AVX (256-bit requests per instruction)... well... that's going to be a busy bus.