Jump to content

How do Ryzen CPUs exactly work with RAM?

I've got three questions related to this:
1- Why are Ryzen CPUs affected the most by the frequency of RAM?

2- Why is this not the case with Intel CPUs?
3- How does the infinity fabric work?

Link to comment
Share on other sites

Link to post
Share on other sites

I think this article, answers you questions pretty well

Link to comment
Share on other sites

Link to post
Share on other sites

1. Because the infinity fabric is linked to the memory speed.

2. Different architectures work differently,

3. Question for AMD engineers. The answer depends on your knowledge levels about CPU interconnects, busses and other transport protocols.

M.S.C.E. (M.Sc. Computer Engineering), IT specialist in a hospital, 30+ years of gaming, 20+ years of computer enthusiasm, Geek, Trekkie, anime fan

  • Main PC: AMD Ryzen 7 5800X3D - EK AIO 360 D-RGB - Arctic Cooling MX-4 - Asus Prime X570-P - 4x8GB DDR4 3200 HyperX Fury CL16 - Sapphire AMD Radeon 6950XT Nitro+ - 1TB Kingston Fury Renegade - 2TB Kingston Fury Renegade - 512GB ADATA SU800 - 960GB Kingston A400 - Seasonic PX-850 850W  - custom black ATX and EPS cables - Fractal Design Define R5 Blackout - Windows 11 x64 23H2 - 3 Arctic Cooling P14 PWM PST - 5 Arctic Cooling P12 PWM PST
  • Peripherals: LG 32GK650F - Dell P2319h - Logitech G Pro X Superlight with Tiger Ice - HyperX Alloy Origins Core (TKL) - EndGame Gear MPC890 - Genius HF 1250B - Akliam PD4 - Sennheiser HD 560s - Simgot EM6L - Truthear Zero - QKZ x HBB - 7Hz Salnotes Zero - Logitech C270 - Behringer PS400 - BM700  - Colormunki Smile - Speedlink Torid - Jysk Stenderup - LG 24x External DVD writer - Konig smart card reader
  • Laptop: Acer E5–575G-386R 15.6" 1080p (i3 6100U + 12GB DDR4 (4GB+8GB) + GeForce 940MX + 256GB nVME) Win 10 Pro x64 22H2 - Logitech G305 + AAA Lithium battery
  • Networking: Asus TUF Gaming AX6000 - Arcadyan ISP router - 35/5 Mbps vDSL
  • TV and gadgets: TCL 50EP680 50" 4K LED + Sharp HT-SB100 75W RMS soundbar - Samsung Galaxy Tab A8 10.1" - OnePlus 9 256GB - Olymous Cameda C-160 - GameBoy Color 
  • Streaming/Server/Storage PC: AMD Ryzen 5 3600 - LC-Power LC-CC-120 - MSI B450 Tomahawk Max - 2x4GB ADATA 2666 DDR4 - 120GB Kingston V300 - Toshiba DT01ACA100 1TB - Toshiba DT01ACA200 2TB - 2x WD Green 2TB - Sapphire Pulse AMD Radeon R9 380X - 550W EVGA G3 SuperNova - Chieftec Giga DF-01B - White Shark Spartan X keyboard - Roccat Kone Pure Military Desert strike - Logitech S-220 - Philips 226L
  • Livingroom PC (dad uses): AMD FX 8300 - Arctic Freezer 64 - Asus M5A97 R2.0 Evo - 2x4GB DDR3 1833 Kingston - MSI Radeon HD 7770 1GB OC - 120GB Adata SSD - 500W Fractal Design Essence - DVD-RW - Samsung SM 2253BW - Logitech G710+ - wireless vertical mouse - MS 2.0 speakers
Link to comment
Share on other sites

Link to post
Share on other sites

very butchered science
1. ryzen cpu are not 100% connected, so data needs to go to ram then back to other cores
2. intel they're much more unified, single die
3. magic it's what connects the cores together

CPU: Intel core i7-8086K Case: CORSAIR Crystal 570X RGB CPU Cooler: Corsair Hydro Series H150i PRO RGB Storage: Samsung 980 Pro - 2TB NVMe SSD PSU: EVGA 1000 GQ, 80+ GOLD 1000W, Semi Modular GPU: MSI Radeon RX 580 GAMING X 8G RAM: Corsair Dominator Platinum 64GB (4 x 16GB) DDR4 3200mhz Motherboard: Asus ROG STRIX Z370-E Gaming

Link to comment
Share on other sites

Link to post
Share on other sites

35 minutes ago, ZeRedz said:

1- Why are Ryzen CPUs affected the most by the frequency of RAM?

2- Why is this not the case with Intel CPUs?
3- How does the infinity fabric work?

1-infinty fabric is directly affected by memory, it will run at the same speed and latency as the memory you have.

2-intel cpus dont have infinity fabric

3-it is a form of core communication, each core is able to talk to whatever core it wants, and each core can talk to the memory whenever it wants.

 

take #3 with a grain of salt, that is my understanding, but i could be completely wrong, feel free to correct me.

AMD blackout rig

 

cpu: ryzen 5 3600 @4.4ghz @1.35v

gpu: rx5700xt 2200mhz

ram: vengeance lpx c15 3200mhz

mobo: gigabyte b550 auros pro 

psu: cooler master mwe 650w

case: masterbox mbx520

fans:Noctua industrial 3000rpm x6

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

#3 Infinity Fabric is the replacement name for Hyper Transport link. It is the system bus that connects peripherals, NB, multi-socket Cpus ect. 

 

The reason why we see performance increase unlike with HT, IF is saturated enough that increasing the bandwidth with overclocking it yields better performance results. However it's intended to Run at 1066mhz and does not have to be linked to memory frequency. 

 

Since I haven't read much about overclocking the Infinity Fabric on it's own and measuring performance gains, I haven't much to comment about it other than in the past, Solely overclocking the Hyper Transport brought very small gains in performance to the table. But it does look that AMD was able to better utilize the bandwidth available.

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, ZeRedz said:

1- Why are Ryzen CPUs affected the most by the frequency of RAM?

Because zen as an architecture is built using multiple ccxs (ccx is basically the container of the cores ) and those house cache with in them obviously and because there is multiple ccxs if they want to communicate with each other to send information it takes time since there is multiple ccxs data has to basically go through so the higher the frequency of ram the faster it can be read and written to by these cores that are spread in multiple ccxs

 

2 hours ago, ZeRedz said:

2- Why is this not the case with Intel CPUs?

Latency still exists in Intel cpu's it's just not as noticable since it has a better imc so ocing ram is a breeze and since there is only one ccx so the "data" has to go to one ccx which indeed does take time and latency but not as much as the multiple ccxs that are apparent on AMD cpu's

2 hours ago, ZeRedz said:

3- How does the infinity fabric work?

It's basically a 12nm interconnect that connects all the ccxs so they can basically work together 

 

I'm sure someone has a better way to explain this but hope this helps :D

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, TofuHaroto said:

Because zen as an architecture is built using multiple ccxs (ccx is basically the container of the cores ) and those house cache with in them obviously and because there is multiple ccxs if they want to communicate with each other to send information it takes time since there is multiple ccxs data has to basically go through so the higher the frequency of ram the faster it can be read and written to by these cores that are spread in multiple ccxs

 

Latency still exists in Intel cpu's it's just not as noticable since it has a better imc so ocing ram is a breeze and since there is only one ccx so the "data" has to go to one ccx which indeed does take time and latency but not as much as the multiple ccxs that are apparent on AMD cpu's

It's basically a 12nm interconnect that connects all the ccxs so they can basically work together 

 

I'm sure someone has a better way to explain this but hope this helps :D

Regarding the first answer, what you're basically is saying that if there's an instruction in one of the CCXs that it has to execute, it has to go through every single CCX to find that instruction and the speed at which it goes through the CCXs is dependent on the RAM frequency?

Link to comment
Share on other sites

Link to post
Share on other sites

8 hours ago, ZeRedz said:

Regarding the first answer, what you're basically is saying that if there's an instruction in one of the CCXs that it has to execute, it has to go through every single CCX to find that instruction and the speed at which it goes through the CCXs is dependent on the RAM frequency?

Not necessarily that 

It's a very rare occurrence that a task is  executed only in one ccx 

Because one ccx might have 2 really efficient binned cores and 2 really bad ones for example and the other might have the 2 other efficient cores 

So if the cpu said , hey I have these efficient cores in ccx 1 and I have these other efficient cores in ccx 2 then executing the task using the binned cores in both ccxs will be faster so the data or the instructions have to go through the ccxs using the interconnect 

Now because the interconnect has to work 

It's speed is based on the frequency of your ram that's why it matter 

Everything kind of connects with each other 

The ccxs work with each other faster if the interconnect is faster the interconnect works faster if the ram is faster 

 

Sorry if this is a janky explanation I kind of just woke up lmao :D

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, pstarlord said:

 

 

 

^ or you can watch a video ;)

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, TofuHaroto said:

Not necessarily that 

It's a very rare occurrence that a task is  executed only in one ccx 

Because one ccx might have 2 really efficient binned cores and 2 really bad ones for example and the other might have the 2 other efficient cores 

So if the cpu said , hey I have these efficient cores in ccx 1 and I have these other efficient cores in ccx 2 then executing the task using the binned cores in both ccxs will be faster so the data or the instructions have to go through the ccxs using the interconnect 

Now because the interconnect has to work 

It's speed is based on the frequency of your ram that's why it matter 

Everything kind of connects with each other 

The ccxs work with each other faster if the interconnect is faster the interconnect works faster if the ram is faster 

 

Sorry if this is a janky explanation I kind of just woke up lmao :D

So, just to sum it up, it's faster for an instruction to be executed using efficient cores in both CCXs than to be executed in one CCX with two efficient ones and two somewhat less efficient ones? And the interconnect to which you're referring to is the infinity fabric? 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, ZeRedz said:

So, just to sum it up, it's faster for an instruction to be executed using efficient cores in both CCXs than to be executed in one CCX with two efficient ones and two somewhat less efficient ones? And the interconnect to which you're referring to is the infinity fabric? 

Pretty much the 2 efficient cores is just an example it can be 1 or even 4 or even 3 depending on the ccx layout and the core count 

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, TofuHaroto said:

Pretty much the 2 efficient cores is just an example it can be 1 or even 4 or even 3 depending on the ccx layout and the core count 

Right. I got to ask, why does a CCX tend to have a core or two that are somewhat inefficient in comparison to the other efficient cores?

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, ZeRedz said:

Right. I got to ask, why does a CCX tend to have a core or two that are somewhat inefficient in comparison to the other efficient cores?

To the other less efficient cores I'm gonna assume ? 

Because silicon is inconsistent in quality 

You might get a core that is binned with great silicon and the other with crappy silicon

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, TofuHaroto said:

To the other less efficient cores I'm gonna assume ? 

Because silicon is inconsistent in quality 

You might get a core that is binned with great silicon and the other with crappy silicon

Alright! Thanks for the explanation!

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, ZeRedz said:

Alright! Thanks for the explanation!

Any time :D

PC: Motherboard: ASUS B550M TUF-Plus, CPU: Ryzen 3 3100, CPU Cooler: Arctic Freezer 34, GPU: GIGABYTE WindForce GTX1650S, RAM: HyperX Fury RGB 2x8GB 3200 CL16, Case, CoolerMaster MB311L ARGB, Boot Drive: 250GB MX500, Game Drive: WD Blue 1TB 7200RPM HDD.

 

Peripherals: GK61 (Optical Gateron Red) with Mistel White/Orange keycaps, Logitech G102 (Purple), BitWit Ensemble Grey Deskpad. 

 

Audio: Logitech G432, Moondrop Starfield, Mic: Razer Siren Mini (White).

 

Phone: Pixel 3a (Purple-ish).

 

Build Log: 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×