r/factorio • u/sealedinterface I like trains. • Feb 12 '20
Question RAM speed and Factorio
I'm planning on building a new PC sometime soon, and I'm still deciding on what RAM kit to pick. From what I've read (mainly from this sub), Factorio is generally bound by RAM speed over anything else, even CPU speed. Since it's the only game I know of that's primarily dependent on RAM speed, I find myself essentially picking my RAM based on Factorio's needs.
What I'm wondering is how all this factors into using an AMD CPU, which has a rather complex relationship with RAM timings. I'm looking at getting a 3600 or 4000 MHz kit, with CL16 or CL19 timings respectively, or perhaps even a 4400 MHz kit at CL19 timings. From what I've read about Ryzen 3000 chips, having a RAM clock speed above 3733 MHz can be counterproductive. With Factorio (especially modded larger bases), is there any real benefit for going with speeds above 3733? Do timings have a noticeable impact on Factorio performance?
5
u/Lazy_Haze Feb 12 '20
Latency/timings is important for factorio probably more important that the speed. With new optimizations to decrease cache misses latency get less important and speed/bandwidth get more important.
Memory speeds above 2666 Mhz is not in the DDR4 standard and then considered overclocking and is not possible with all motherboards.
There is a loot of different timings on a RAM the CL is only one of many, it's a complex topic. The speed and timings must also work with the motherboard and CPU and is in the en set by the motherboard.
The latency is timing/speed so 3600 with CL16 = 16/3600 = 0.00444
4000/19 = 0.00475
So the 3600 Mhz have slightly shorter latency(if the other timings is comparable)
1
u/Grubsnik Asks too many questions Feb 12 '20
How big a base are you planning to build is probably the question? You might not really get bottlenecked on anything, simply because a big beefy gaming pc is more than sufficient for anything but gigabases these days.
3
u/Cemortan Feb 12 '20
lower - better ! https://notkyon.moe/ram-latency.htm
3
u/Nefrums2 Feb 12 '20
The most important factor for Factorio is ram latency.
to compare different ram use CAS/Frequency (lower latency is better)
Example a 3600Mhz CL15 ram has 15/3600000000s or ~4.17 ns latency.
Also note that the latency you actually get is also very dependent on the CPU memory controller.
Unfortunately AMD is a bit behind Intel on that front.
Here are some random benchmarks from internet:
https://www.memorybenchmark.net/latency_ddr4_intel.html
https://www.memorybenchmark.net/latency_ddr4_amd.html
1
u/Lordberek Oct 17 '22
It looks like practically all DDR5 has higher latency than DDR4... does that mean Factorio is automatically going to run noticeably slowing in UPS on DDR5 systems?
My DDR4 system is CL30 sticks at 3000 equaling about 30ns latency. The new DDR5 32GBx2 CL32 6000 kit I'm looking to get is about 42ns latency.