looking for relationship between cache memory and ram

Solution
Cache usually stores the memory addresses, operands and commands themselves that the CPU is processing. It is closest to the processor and has the lowest latency and access time. It is expensive and limited by the die (chip) size. Modern CPUs have more levels of cache memory in cascade levels.

Random Access Memory can store way more than some dozens of lines of code and instructions, you can have gigabytes of it. They have to be refreshed several thousand times per second, since the data stored there is volatile. They also serve as data registers just for larger chunks of data.

And the CPU is the central processing unit, where bits of information is shifted around on transistors to execute simpl instructions like addition and...

zoltan.boese

Estimable
Jan 30, 2018
1,550
0
2,960
Cache usually stores the memory addresses, operands and commands themselves that the CPU is processing. It is closest to the processor and has the lowest latency and access time. It is expensive and limited by the die (chip) size. Modern CPUs have more levels of cache memory in cascade levels.

Random Access Memory can store way more than some dozens of lines of code and instructions, you can have gigabytes of it. They have to be refreshed several thousand times per second, since the data stored there is volatile. They also serve as data registers just for larger chunks of data.

And the CPU is the central processing unit, where bits of information is shifted around on transistors to execute simpl instructions like addition and multiplication, billions per core per second.

You can tweak the cpu clock times and RAM refresh rates (+/- 10..15%), it is called overclocking. The rest is not user changeable.
 
Solution