4 ms·
So what is this memory wall? > this concept revolves around the idea that computer processing units (CPUs) are advancing at a fast enough pace that will leave
by Dylan16807 7y ago
So what is this memory wall?
> this concept revolves around the idea that computer processing units (CPUs) are advancing at a fast enough pace that will leave memory (RAM) stagnant
> According to Moore’s Law, which states that the number of transistors in a circuit doubles every two years, CPUs will eventually become too fast to yield any noticeable difference in computing speed. Once we reach this so-called memory wall, program/app execution time will depend almost entirely on the speed at which RAM can send data to the CPU. So even if you have an incredibly fast processor in your computer, it’s function may be limited to the speed of your RAM.
Oh, it's utter nonsense.
For one, it's ignoring that the cache speeds scale right along with the CPU. You could get rid of DRAM entirely to prove there is no 'wall'.
But what really kills the argument is a proper analysis of how memory is set up. Internal to the RAM chip, there's a ridiculous amount of bandwidth. The bottleneck is using a 64-bit-wide bus to communicate with the CPU. But that bottleneck is only a cost saving measure on top of Moore's Law. If we back off to pure Moore's Law, we can quite easily add more and more memory width/channels and not hit any limits.
- deleted 7y ago[deleted]
- dokem 7y agoIt's not just about bandwidth but latency. Sure I can double the bandwidth by widening the bus but that won't get me any closer to servicing a r/w request within a clock cycle and remove the need for memory stalling.
- Dylan16807 7y agoLatency exists. But they're talking about it being literally impossible to feed the cores. Nonsense. One memory channel per (modern-ish) core is always going to be able to feed it.
- p1esk 7y agocache speeds scale right along with the CPU This is true only for L1 cache. If you’re ok with having 64KB total memory in your computer then sure. Re memory bus width: you’re forgetting about latency. Also, a wider bus is usually a slower (in terms of frequency) bus, for multiple reasons.
- stcredzero 7y agoIf you’re ok with having 64KB total memory in your computer then sure. It worked in the days of the Apple ][+ and the Commodore 64.
- yetihehe 7y agoWhen you need some tls, it stops working, also displaying anything useful like results of your CFM model on screen is super painful and requires disk trashing (aka external memory).
- gnode 7y agoTalking about "speed" is confusing. The problem is not a bandwidth bottleneck, but a latency bottleneck. Having cache doesn't always solve this problem. If an application requires random memory access over a range much larger than the cache, then it will fall down on the latency of main RAM.
- Dylan16807 7y agoThe latency bottleneck came into existence decades ago. It's not a wall. And it's not getting much worse, because it's impossible to squeeze many more GHz out of silicon. What's happening from Moore's Law is that we get more transistors, and make more cores, which causes a bandwidth bottleneck. But you can fix that by keeping a fixed ratio of math units to memory channels. It's also not a wall.
- gumby 7y agoCache is not a solution, it's a work-around. We didn't use caches in the days when memory was faster than CPU. Multicore machines have a lot of circuitry and performance costs around access to memory that could potentially go away. That would be fantastic.
- deleted 7y ago[deleted]
- Dylan16807 7y agoIf you get rid of DRAM, the cache is no longer cache, it's main memory. I'm suggesting it not as a practical matter, but as a very simple thought experiment disprove the idea of a "wall". There's no point where cores outpace the ability to feed them, with no way to fix it, because you can put the memory that feeds the core on the same die and it will grow faster 1:1 with the core. If you then say "well what about feeding the memory?" then I'll point to how SSDs have been increasing in speed at a blistering pace, far outperforming Moore's Law. But that's just the quick dismissal. The more detailed dismissal is based on adding more memory channels.