Why aren't CPU and RAM computers packed together to increase processing speed?
The RAM in the computer is responsible for giving data to the CPU to handle tasks. Therefore, CPU processing speed will be limited by the speed of reading and writing data from RAM.
On the computer's motherboard, we will see whether CPU and RAM are placed close to each other but there is a certain distance between them. This distance compared to the size of each transistor on the processor is very large. So why don't computer designers put CPU and RAM right on the same die to reduce the distance between them and speed up the processing speed?
Memory of CPU - cache
In fact, even within the CPU itself, there is a separate RAM area called cache but usually only a few MB capacity. Because it is much more expensive than RAM, it will cost the CPU price higher, depending on its memory capacity.
This cache helps the CPU minimize processing time while waiting for data from RAM to be transferred.
When you need to process a data, the CPU will first search the cache first to see if the cache has read / written that value recently. If the cache is available, the CPU will use the value there to get the fastest processing speed. If not, the new CPU finds RAM to get the value it needs.
So, in order for the CPU to increase processing speed and simplify the design, why do chip designers not increase the cache capacity to the same amount of RAM?
In fact, for the CPU to achieve the high speed required, its cache uses static RAM or SRAM. However, even though SRAM is very fast, the amount of power it consumes is huge, not to mention it is quite cumbersome.
To store a data "bit", SRAM needs 6 transistors. This means that 48 billion transistors are needed, in order to have an SRM wall of 1 GigaByte capacity (GB). If compared to the number of transistors on the CPU, that would be a terrible number. Even Intel's Broadwell-E 6-core Core i7-3960X processor only has 2.27 billion transistors, and of course its cache is only 15 MegaByte (MB).
A description of the computer processor.
In the picture above, it is not the computer processors but the integrated circuits of the memory that are the most complicated and space-consuming components. So, if we increase the size of the on-chip cache, we won't have room to put the CPU. Of course, with a limited size, it is obvious that the processor cache has a capacity of several MB per chip.
One of the important issues preventing the increase in cache capacity is cost. The cache itself is made from expensive SRAM, increasing capacity will make the processor cost per CPU and cache increase.
Why not use other types of memory cheaper?
Today's computer RAM modules are made from DRAM, which is cheaper and larger in capacity. In addition, DRAM has a neat structure, only need a transistor for each bit of data. The downside of DRAM is that it is significantly slower than SRAM.
So, why do designers not put DRAM in the CPU to increase the speed and memory capacity for the processor? In fact, Intel has applied that architecture but cannot replace the role of regular RAM.
EDRAM's position in Intel's Haswell processor.
Starting from the Haswell generation chip, Intel has integrated a DRAM memory on the same die chip with the CPU, called eDRAM (or Embedded DRAM - embedded DRAM). On the Coffee Lake generation chip, Intel still uses this eDRAM.
However, although the new architecture has the advantage of performance, it still cannot replace both SRAM and conventional DRAM. The reason is speed, because even when integrated right on the die chip next to the CPU, it still has slower clock speed than the CPU clock, while SRAM has the same clock speed as the CPU. In addition, to not lose data DRAM needs to be constantly refreshed thousands of times per cycle, while that is not needed with SRAM. Therefore, the delay of DRAM or eDRAM is still much larger than that of SRAM and they are only used as L3 or L4 cache next to the CPU.
Currently, eDRAM on CPUs is only 128 MB, while the RAM bars now have capacity up to GigaByte. The huge disparity in capacity also makes eDRAM irreplaceable DRAM.
Intel Kaby Lake G Core i7-8705G is designed with processor with CPU, GPU and RAM attached on a die chip.
Until recently launched Kaby Lake G chips, Intel has just begun to use processors with CPU, GPU and large amount of RAM placed on a single die chip but still have the usual RAM .
Also, different ways of doing things are one of the reasons eDRAM is not a substitute for DRAM. On cache, the data is addressed the same and can be deleted at any time. In RAM, data is placed in separate locations for each application.
In addition, packing RAM and CPU together will make it difficult to upgrade. People may be forced to buy the CPU if they want to increase the amount of RAM, which causes unnecessary waste.
Overall, packing computer CPU and RAM into a single block provides less practical value than the current separation. The CPU itself has integrated many different types of internal memory that can help it increase processing speed significantly.
You should read it
- How does CPU Cache work? What is L1, L2 and L3 Cache?
- These factors determine the speed of the computer
- Instructions on how to clear cache on iPhone or iPad
- What's the difference between DRAM and DRAM-less SSD?
- Learn how Cache works (Part 3)
- Which upgrade will improve your computer's performance the most?
- Learn how Cache works (Part 2)
- Instructions on how to clear the browser cache
May be interested
- Speed up Internet connection on Windows 10 computersinternet acceleration helps to get rid of slow network connection. if you're using windows 10, please refer to the following ways to speed up internet connection.
- Tell you 5 ways to increase network speed extremely fast and effectiveincreasingly, the need to use the internet is increasing. along with that is the network speed affected quite a lot. today, tipsmake will show you 5 simple ways to speed up wifi network.
- 8 ways to speed up network through Regedit in Windows 10there are many applications that promise to give you better network functionality and extremely high internet speeds. usually, these apps are nothing but gimmicky interfaces and offer no practical benefit. some of these options might even be malware.
- How to increase virtual RAM on Win 10not every computer is equipped with a large amount of ram, because of that, the virtual ram feature on windows 10 was born. virtual ram on the computer is a useful solution to improve the ram capacity of the computer and increase processing speed.
- How to increase international Internet speed extremely fast using WARP on phones and computersyou don't know how to install warp 1.1.1.1 to maximize internet speed? this article shows you how to increase international internet speed extremely fast using warp on your phone and computer
- How to Hack Broadband and Increase Network Speedtoday's tipsmake will show you how to improve your broadband internet connection speed in general, as well as how to somewhat increase network speed on windows and mac computers.
- How to Increase Internet Speedthis wikihow teaches you how to increase your internet's speed and consistency. while it isn't possible to increase your internet's speed past the speed for which you're paying your internet service provider, most people don't get the most...
- The best computer acceleration toolscomputer accelerator tool is a great way to improve the speed of computer operation without hardware upgrade.
- How to increase typing speed with PowerToys on Windowswith so much to do in a day, you should find shortcuts or solutions that can speed up your work. one way to get things done faster on windows is to reduce the time spent typing with microsoft powertoys.
- How to Increase Download Speed on PlayStation 4in the past, playstation consoles used to cause discomfort because of their unreasonably slow loading speeds, ps4 is no exception. you can do a few things to improve loading speed on playstation, but it's unlikely to completely fix the problem. to solve this problem, open network settings, then change dns and mtu values to increase ps4 download speed. after editing your ps4 settings, there are a few more things you can do to increase performance and loading speed.