For gaming, it's thought to be more beneficial to prioritize the RAM speed over the RAM capacity. The Ryzen 7 5800X, and other Ryzen processors, tend to benefit from higher RAM speeds, which may well improve gaming performance by refining the CPU's communication with the RAM.