14 ms·
AMD and Jedec Are Collaborating on DDR5 MRDIMMs at 17,600 MT/S
- gautamcgoel 4y agoWill be interesting to see how this stacks up next to DDR6, which is supposed to come out in 2025 or so, and is also supposed to double bandwidth relative to standard DDR5. My guess is that DDR6 will be more common, with these MRDIMMs reserved for server/HPC builds.
- brucethemoose2 4y ago'Interestingly, the slide also says that the need for DDR6 memory is "unclear" due to uncertainty about its value proposition. It goes on to say "Buffered only to deliver value?" possibly implying that MRDIMM technology could be the order of the day as system RAM moves forward.'
- brucethemoose2 4y agoI know this for server CPUs... but imagine a GPU with these DIMMs for VRAM. It could hold a huge model without the headache of splitting it up. Thats basically what Intel Falcon Shores is, and I am sure AMD is cooking up something similar behind the MI300.
- Tostino 4y agoYeah, i've been incredibly surprised that this hasn't popped up yet. It just seems like a completely logical next step.
- favorited 4y agoIt's been done, just not recently. https://www.amazon.com/ATI-Rage-Video-Card-109-43200-10/dp/B002IALHPC https://www.amazon.com/ATI-Rage-Video-Card-109-43200-10/dp/B...
- kmod 4y agoI'm a bit rusty on the details, but I think the general reason that GPUs have less memory than you want is because they are typically optimized for throughput, which limits capacity in a couple ways. One is higher power consumption, and another is low max distance between processors and memory. We already have the ability to put far more memory in GPUs than they currently have, but we don't because it hurts throughput. I don't think technical advances will change the existence of a throughput/capacity tradeoff, but I do think it's an interesting idea that maybe DL models benefit from a different tradeoff than graphics applications. Personally I'd guess that's a larger factor here than incremental changes in capabilities, because the two types of memory are both improving at the same time. But who knows! Maybe the technologies will converge enough that it will no longer make sense to have two different variants, though I wouldn't bet on it.
- brucethemoose2 4y agoModern "consumer" GPUs have relatively narrow busses, which is a deliberate design choice. But its not about throughput, its about cost and power savings in gaming workloads. Old GPUs like the 290X had a 512 bit bus (like the M1 Max) and 16 GDDRX ICs. Actual ML GPUs transitioned to HBM, but the capacity is relatively limited. I think Nvidia thought 96GB per GPU would be plenty when they were planning things out years ago, but the explosion of model sizes seems to have taken all the hardware manufacturers by surprise.
- Osiris 4y agoI have a VEGA 56 with HBM and a 2048 bit bus. It gets crushed by newer cards with far less bandwidth. It was great for crypto mining though.
- brucethemoose2 4y agoYeah I am not saying older cards were better, just that they were capable of holding much more VRAM with no silicon changes.
- nodja 4y agoNaive question: would this also mean you can also get more memory for cheaper at the cost of space? i.e. instead of using expensive high density 2GB chips you could use 2x1GB or something?
- wmf 4y agoThe multiplexer chip probably cancels out any cost savings.
- snvzz 4y agoHopefully full ECC?
- Cthulhu_ 4y ago[flagged]
- NKosmatos 4y agoSaid someone who hasn’t lost data due to bit flips and/or bad RAM sticks. The small disadvantages of ECC RAM (slightly more expensive and a bit slower) are nothing compared to the main advantage it offers, the extra safety and peace of mind. I’ve seen people investing a lot of money in high spec PCs and storage systems, while at the same time being cheap on the RAM or selecting based on speed and appearance (RGB).
- PetahNZ 4y agoMost people would be better off putting that money into a backup solution.
- 867-5309 4y agohard for that data to bypass RAM, so backing up corrupt data
- gary_0 4y agoSubtle data corruption due to bit-flips isn't necessarily solved by backups. You might not notice until the damage is already done, and having old good data somewhere would be no help at all.
- AndrewDavis 4y agoThis happened to me. Lost a bunch of data. I had backups on an external drive that I'd periodically copy data to. I can't remember the exact sizes but this will still explain in principle what happened. I had a 1TB drive in my desktop. I had a 500GB external drive. At time of purchase I had less than 500GB to back up. At some point in time my desktop hard drive started corrupting data unbeknownst to me. The amount I needed to backup grew beyond 500GB so I purchased a new larger backup drive. I did a full copy (corruption and all) from my desktop to new backup drive. At some point I repurposed the old backup drive for something else erasing it. It is at this point I have irrecoverable data loss and I still don't know. The corruption became so widespread on my desktop drive I became aware of it. I check my backup and discover a non trivial amount of my data was corrupted.
- christkv 4y agoI can't find what this means for latency. Double ?
- wmf 4y agoLatency should be the same if they interleave properly.
- freilanzer 4y agoI just want Cuda or an equivalent for my AMD Gpu...
- Cloudef 4y agoROCm/hip/hipify, the cuda stack and the alternative implementations are a clusterf** though. Can't wait for oneapi or vulkan backends in popular ML frameworks to take over..
- Klaster_1 4y agoThis was exactly my sentiment when reading opening the thread. After purchasing a 7900XTX I feel left out of a lot of fun stuff, like stable-diffusion-webui (SHARK does not provide as much features) or running LLMs locally on Windows. After a bit of search, I found https://github.com/RadeonOpenCompute/ROCm/issues/666 https://github.com/RadeonOpenCompute/ROCm/issues/666, so chances are the situation might improve.
- jiggawatts 4y agoA shower-thought that popped into my brain this morning is that with ~100ns latency to main memory, that's the equivalent of "only" 10 million IOPS (per channel). I say only, because my laptop has an NVMe SSD that can do nearly 1 million IOPS. If you have 96 CPU cores per socket, and only 6 channels per socket, that's a "mere" 625K IOPS per core. Up that to 128 cores (coming soon), then it's just 470K IOPS per core! That's worse in some sense than a laptop SSD for a single-threaded program. Not directly comparable, of course, but you can see why AMD would want to bump this number up. For comparison, the equivalent IOPS for L2 cache is a blistering 260 million IOPS, and L1 cache is 850 million. I see now why there's the phrase "memory is the new disk" is starting to get popular.
- re-thc 4y agoIntel currently has a max of 8 channels (for 60 cores) and AMD 12 (for 96 cores) on the server side. Not to discount what you've said but it's slightly better :p
- foota 4y agoI don't think this is accurate, because the memory protocol doesn't require you to wait for each IOP, it's much more complicated than that.
- adwn 4y ago> with ~100ns latency to main memory, that's the equivalent of "only" 10 million IOPS (per channel) I think you're mixing up latency and throughput. IOPS is throughput, and any single CPU core can have several RAM accesses in flight, not just one. So with DDR4-3200 you have more than 3 billion "IOPS" per channel, not 10 million as in your calculation.
- Tuna-Fish 4y agoNot quite so many. Each memory operation on modern CPUs is a minimum of 64 bytes, so on DDR4-3200 if you saturate a single 64-bit channel, you get 400 million IOPS. On DDR5, channels are 32 bits wide, but there are two in a DIMM, so a normal desktop system is actually "quad-channel", with each channel doing up to that 400 million IOPS if the ram speed is DDR5-6400. In practice, it's of course rare to completely saturate channels, just because of bank conflicts and refreshes, etc.
- ohgodplsno 4y agoDon't get too excited: unless your usecase is about pulling out massive amounts of data organised in a linear fashion out of RAM in a single read, DDR5 is kind of crap for real world usage. Current DDR5-4800 kits (which are pretty much the only things that will work on non-enthusiast hardware) will perform usually worse than a regular DDR4-3200 at most tasks, for a single reason: latency. Most DDR5 these days have a latency of 20ns, compared to 10ns of DDR5. Any bandwidth gains will be destroyed by the fact that you're doing a thousand reads anyways. However, if your usecase is sequentially reading massive chunks of memory, this will be useful for you. But dear god am I afraid of seeing the latencies on these beasts.
- dawidpotocki 4y agoHow do you define "non-enthusiast hardware"? All consumer AMD CPUs should be able to clock up to 6000 MT/s and Raptor Lake should do 6600 MT/s stable at the very least with Hynix M-dies. 5600 MT/s is not even an overclock on Intel CPUs.
- Dalewyn 4y ago>How do you define "non-enthusiast hardware"? That OEM motherboard in your big box tower. >All consumer AMD CPUs should be able to clock up to 6000 MT/s and Raptor Lake should do 6600 MT/s stable at the very least with Hynix M-dies. 5600 MT/s is not even an overclock on Intel CPUs. DDR5 speeds currently crash like a rock if there's more than one DIMM per channel, even moreso if those DIMMs have two ranks rather than one. I've got four sticks of 16GB DDR5 5600MHz in my Intel i7 12700K, Z690 system. The best I can get the RAM going is 4800MHz, which is still an overclock because Intel's memory controller goes down to 4000MHz rated clock speed with this setup (two DIMMs per channel, 1 rank per DIMM).
- dawidpotocki 4y agoYes, that currently doesn't work well, but most people are using 1DPC, not 2DPC. You can't really even find a kit with 4 DDR5 sticks.
- amrb 4y agoGood to see the boost in bandwidth! with NVME hitting 9GB/s did make you think if hbm was, our only path to go faster!
- sounds 4y agoNVME's peak advertised speed is only achievable when you're hitting the NVME's DRAM cache. The PCIe link isn't going to be competitive with the DDR5 link, since both are measuring DRAM access speeds in this case.
- yazaddaruvala 4y agoWith the continued evolution of chiplets, I’m annually shocked we don’t have DDR5 built directly into the processors same wafer. The yield is maybe a factor, but that is solved with experience. Why is no company even trying? Is it an IP issue? I seriously don’t understand (especially for phones) why it is still optimal to keep RAM separate. Could someone help me understand this? and I’d really appreciate leaving “upgradability” out of this conversation. That is a separate topic that can be had but not interesting to me right now.
- larsnystrom 4y agoIsn’t this what Apple is doing with their M-chips?
- krasin 4y agoApple is using HBM2 ([1]) memory, pioneered by AMD for their GPUs. Essentially, yes - it's that, placing memory really close to compute and making a lot of channels for higher bandwidth. 1. https://en.wikipedia.org/wiki/High_Bandwidth_Memory https://en.wikipedia.org/wiki/High_Bandwidth_Memory
- mikewarot 4y agoHopefully this is reliable memory, not subject to rowhammer or other hardware design failure, with full ECC. We have reached the point where memory just can't be trusted otherwise.
- _a_a_a_ 4y agoOh come on! It's a problem all right but we don't need to go overboard.
- formerly_proven 4y ago> This is made possible by placing a mux between the memory and the CPU that combines the two 64-bit accesses into a single 128-bit data path for the CPU. This does not seem to be correct. Modules with an 128-bit data bus would obviously require a lot more pins. Instead what this actually seems to be about is placing a buffer between the two ranks (essentially two completely independent modules) and the data bus (presumably it buffers the command bus as well). The "128 bit" data bus on the host side is achieved by running QDR over the 64 bit wide bus. Basically an evolution of LRDIMMs with a pinch of FBDIMM.
- bogantech 4y ago> Instead what this actually seems to be about is placing a buffer between the two ranks (essentially two completely independent modules) and the data bus AKA a Mux - or Multiplexer
- formerly_proven 4y agoNo, multiplexers are more or less just dumb analog switches, though more specialized ones like e.g. PCIe muxes can include redrivers.
- bogantech 4y agoMultiplexers can be analog or digital https://en.wikipedia.org/wiki/Multiplexer https://en.wikipedia.org/wiki/Multiplexer > In electronics, a multiplexer (or mux; spelled sometimes as multiplexor), also known as a data selector, is a device that selects between several analog or digital input signals and forwards the selected input to a single output line. An example of a common digital multiplexer would be the 74HC157 but if you think they're really not multiplexers I'm sure NXP and Texas Instruments would love to hear from you Multiplexing is a concept anyway, the medium doesn't matter - you can multiplex radio signals, light, sound etc.
- _a_a_a_ 4y agoI certainly don't know, but I think what the guy is saying is that they are necessarily analog switches here because of the speed they have to operate at.
- superkuh 4y agoIt's really not cool how RAM these days is advertised and sold by it's potentially possible XMP overclock speed instead of the Jedec speed it's actually rated for.
- _a_a_a_ 4y agoMaybe for home use but I really doubt it's sold that way for servers.
- toast0 4y agoSelling based on JEDEC ratings only would be unhelpful. Not sure about ddr5, but ddr4 JEDEC ratings only go to 3200; there's good reasons to want to run Ryzen chips at 3600 or higher. I'd rather buy something where the packaging tells me it should work at the speed I want to run it, than have to figure out which skus people say tends to work, when all the boxes just say 3200. Yeah, if you start getting higher speeds, it becomes more a question of if the memory controller on the cpu, the wiring on the motherboard, and the ram itself will work together at that speed, which you can't guess from just the number on the ram packaging. It would be nice if JEDEC offered more ratings, but given that they don't, I'll take the XMP numbers.
- Dalewyn 4y agoI'm not sure why it has to be either-or. Give us both the rated JEDEC clocks and timings and the manufacturer overclock clocks and timings. To use the DDR4-3200 example, it is far more difficult than it should be to figure out whether that's JEDEC 3200MHz or actually JEDEC 2166MHz with 3200MHz XMP overclocking.
- Night_Thastus 4y agoXMP is not like an old-school overclock. Assuming the motherboard isn't faulty, you're pretty much guaranteed to get the clock speeds advertised with no instability. It's plug and play.
- superkuh 4y ago
- RobLach 4y agoOh cool. No reason these muxing ideas can't be pushed to embeddeds.
- alfor 4y agoI thought we were going into chiplets and tighter integrations. A bit like what Apple did with M1/M2, putting ram/flash/cpu/gpu on the same package with very short, wide and fast interconnects. Leaving only IO, specialized chips and power outside of the main package.
- Latty 4y agoFor consumer devices that don't need much RAM, that makes sense, but for servers, I imagine it'll end up as more of an (optionally) tiered set-up, if you look at the Sapphire Rapids chips with HBM on, they can be run with only that, but they can also be run with it as another cache layer, or as a separate faster memory region. If you need an absolute ton of memory, having it all directly on the die becomes impractical at some point.
- tjoff 4y agoHope not, that means you'd only get mainstream hardware. Incredibly limiting and boring.
- faeriechangling 4y agoDIMMS aren't going anywhere anytime soon even if it's plausible that they're going to get phased out of consumer tier products. There's way too many databases out there that need absurd amounts of memory to run performantly. Epyc supports 6tb per socket - try getting that much memory on-package any time soon.
- rasz 4y agoApple marketing worked great on you. Putting ram on package was to upsell you on a higher more expensive model and prevent life cycle prolonging field upgrades. Anything below 1024bits is just cost cutting and forces market segmentation. Xbox has no problem fanning out 320bit bus in addition to pcie lanes, same for hiend GPUs. HMB Apple was alluding to but carefully not saying out loud starts at 4096bits. M1/M2 ram is just 128bit like any other normal mobile processor. M1/M2 Pro comes with 256bit bus (2 custom LPDDR5 chips) and 200 GB/s, M1/M2 Max with 512bit. POP ram makes sure nobody will be able to upgrade, hardware locked recurring revenue.
- sand500 4y agoWhat are the extra pins on the side of the ram stick for?