'Consider a system with no DRAM' replaced by a 'recycling fiber loop': John Carmack envisages bold future to avoid AI-driven RAM crisis
https://www.techradar.com/computing/memory/a-cure-for-the-memory-crisis-john-carmack-envisions-fiber-cables-replacing-ram-for-ai-usage-which-would-mean-a-better-future-for-us-all
171 points · 51 comments · view on lemmy.world
51 Comments
CubitOom@infosec.pub · 85 pts · 183d
Or we could just like...not do the terrible thing that is bad in everyway.
edgemaster72@lemmy.world · 49 pts · 184d
and then the datacenters adopt that tech and hoard it all too
JasonDJ@lemmy.zip · 69 pts · 184d
That's the idea. It's pretty worthless for home use, but for AI workloads, it might make sense, the problem is that it's not quite scalable yet.
Essentially, if you've got 256Tb/s going over 200km of fiber, that means that there's quite literally 32,000,000,000 bytes (32GB) "in flight", living on the fiber at any period of time.
So it's essentially it's a revolving sushi belt of bytes, roughly as large as London (inside M25), moving at nearly the speed of light.
Of course, it doesn't have to be the size of London. You could wind it into something about the size of a softball. Theoretically.
It's a cool idea and Carmack is no doubt a brilliant man. It seems far fetched but it's kind of been done before... https://en.wikipedia.org/wiki/Core_rope_memory
Morphit@feddit.uk · 15 pts · 183d
It's an optical delay-line memory. Early computer memories were acoustic in some manner.
I can't imagine that the latency of 'delay line RAM' would be acceptable to anyone today. Maybe there's some clever multiplexing that could improve that but it would surely add more complexity that just making more RAM ICs.
tal@lemmy.today · 7 pts · 183d
Neural net computation has predictable access patterns, so instead of using the thing as a random access memory with latency incurred by waiting for the bit you want to get around to you, I expect that you can load the memory appropriately such that you always have the appropriate bit showing up at the time you need it. I'd guess that it probably needs something like the ability to buffer a small amount of data to get and keep multiple fiber coils in synch due to thermal expansion.
The Hacker's Jargon File has an anecdote about doing something akin to that with drum memory, "The Story of Mel".
http://www.catb.org/~esr/jargon/html/story-of-mel.html
Schmoo@slrpnk.net · 5 pts · 183d
Couldn't resist being a bit of a stickler but 🤓 erm... technically it is moving at the speed of light through a medium, which is slightly less than c, the speed of light in a vacuum. Fun fact, when things move faster than the speed of light through a medium - such as water - it produces Cherenkov radiation, the glowing blue light associated with some nuclear reactors, which is sorta like a sonic boom but with light instead of sound.
JasonDJ@lemmy.zip · 4 pts · 183d
That's pretty cool but I did say 'nearly' :-)
meme_historian@lemmy.dbzer0.com · 3 pts · 183d
Also would it really be Random Access Memory? Seems like we would have to optimize a lot of things for sequential data access
vacuumflower@lemmy.sdf.org · 1 pts · 183d
Also optical fiber is used a lot on battlefields now. It just remains there. There's a lot to be assembled.
mrnobody@reddthat.com · 11 pts · 184d
Then all the necessary mineral prices will shoot up 3,648%.
Goodlucksil@lemmy.dbzer0.com · 1 pts · 183d
Is that a decimal comma or a digit separator comma
mrnobody@reddthat.com · 1 pts · 183d
Digit separator comma
brucethemoose@lemmy.world · 43 pts · 183d
The issue with AI is “now”
Can they power with solar? Nuclear? Hell, even a natural gas plant? Nope, the data centers need the power right this second, so they get gas turbines on site. Same with cooling; evaporative is just the quickest and cheapest to set up.
Same with its architecture. There’s no time to fix temperature/sampling issues, no time to try bitnet or any of a bazillion interesting papers that came out. A shippable product (model) is needed yesterday; just scale up what we have. “Fail” a single experiment? Your team is fired, which is exactly what happened at Meta.
Everything has to happen right now because of corporate FOMO. So, while this is an interesting musing and maybe Intel or someone will play with it, the actual AI labs could not care less because they can’t get it immediately.
RobotToaster@mander.xyz · 29 pts · 184d
I'm pretty sure 200km of fibre isn't going to be cheap either
adespoton@lemmy.ca · 23 pts · 183d
Fibre is just strands of extruded glass; one of the most common substances on earth.
Sure beats the blood minerals needed for memory, and to scale up, you just extrude longer strands.
e8CArkcAuLE@piefed.social · 10 pts · 184d
there is a bit of surplus of fibre wire in Ukraine, i hear… /s
UniversalBasicJustice@quokk.au · 8 pts · 184d
I'm not sure which job sounds less appealing; collecting it or splicing it
acosmichippo@lemmy.world · 5 pts · 184d
could be cheaper than enterprise grade DIMMs.
CosmoNova@lemmy.world · 1 pts · 184d
Probably cheaper than tens of thousands of satellites.
solrize@lemmy.ml · 22 pts · 184d
Delay line memory in gigabytes? Bold indeed.
whaleross@lemmy.world · 14 pts · 183d
Throw in some AI and a Blockchain and you'll get the cryptobros hooked. Then use it to store NFTs.
boonhet@sopuli.xyz · 6 pts · 183d
It's being proposed for AI literally. As in AI doesn't TECHNICALLY need RAM, it could also use SAM and this stuff could provide excellent sequential access performance.
ms_lane@lemmy.world · 10 pts · 183d
It's an interesting idea, but what's the floor size for a pair of 200TB/s fibre transceivers vs. 32GB of HBM?
It's it's not significantly less, this doesn't seem like it'd be particularly helpful outside the 200TB/s of streaming data.
tal@lemmy.today · 5 pts · 183d
I'm assuming that the point is the bandwidth.
goes looking for HBM bandwidth
https://en.wikipedia.org/wiki/High_Bandwidth_Memory
It says that HBM 4, which came out one year ago, can do 2 TiB/s.
eleitl@lemmy.zip · 7 pts · 183d
They never mention the word latency even once. It's a delay line SAM and speed of light in glass is some 200000 km/s. This is hard drive latency.
tal@lemmy.today · 7 pts · 184d
Note that this is from last month, though I haven't seen it submitted.
NotMyOldRedditName@lemmy.world · 6 pts · 183d
So we'll soon have houses built with a place to hold a spool of 200km multi fiber cable (which shouldn't be too big, Ukrainian drones carry 40km worth of single strand but this couldbe 10 or 20 strand) and we can plug our computers into it.
KairuByte@lemmy.dbzer0.com · 2 pts · 183d
You can carry multiple wavelengths over a single strand.
NotMyOldRedditName@lemmy.world · 1 pts · 182d
The article was saying the spool would give them 32gb of ram, hence the multi strand thought. Were going to want hundreds of gb to run a decent model.
sturmblast@lemmy.world · 4 pts · 183d
Save us John
ooterness@lemmy.world · 6 pts · 183d
Were you talking to John Carmack or John Connor?
KillerWhale@orcas.enjoying.yachts · 3 pts · 183d
Yes
Sxan@piefed.zip · -2 pts · 182d
I prefer Ăľe real John... John Carter.
architect@thelemmy.club · 3 pts · 183d
No. I will always have computers. Fuck you.
sepi@piefed.social · 3 pts · 183d
Random Access how?
boonhet@sopuli.xyz · 8 pts · 183d
If you read the article, it's sequential access but that's fine for AI use.
ryannathans@aussie.zone · 4 pts · 183d
RAM more like SAM
boonhet@sopuli.xyz · 3 pts · 183d
Yes, but for a niche use case where SAM is fine, not for consumers
sepi@piefed.social · 2 pts · 183d
I read the article title and it said RAM. Now you're trying to pull a sam altman bamboozle - "it's not random, it's sequential" - then it ain't RAM.
Fuck the law and fuck the article yeehaw
boonhet@sopuli.xyz · 1 pts · 183d
Current title seems a bit better.
Essentially since the access patterns in AI usage are predictable, they could hypothetically replace their heavy RAM usage with this. Which would mean more RAM for the rest of us.
humanspiral@lemmy.ca · 3 pts · 183d
while bandwidth is high, storage is low. Even dropping speed to 10Tb/sec, it would mean 1.25GB of effective ram.
geekwithsoul@piefed.social · 2 pts · 183d
I don't pretend to understand how this would actually work, but wouldn't this essentially be like token ring networking but used as memory?
cmnybo@discuss.tchncs.de · 11 pts · 183d
It's delay line memory. It was common back in the days of vacuum tube computers.
tal@lemmy.today · 5 pts · 183d
A little bit, but normally Token Ring didn't just keep data running around in a circle on and on --- Token Ring works more like a roundabout, where you enter at a given computer on the ring and then exit at another device. Without looking, I suspect that, like Internet Protocol packets, Token Ring probably had a TTL (time-to-live) field in its frames to keep a mis-addressed packet from forever running around in circles.
Also, I'm assuming that an implementation of Carmack's idea would have only one...I don't know the right term, might be "repeater". You need to have some device to receive the data and then retransmit them to keep the signal strong and from spreading out. You wouldn't want to have a ton of those, because otherwise it'd add cost. On Token Ring, you'd have a bunch of transceivers, to have a bunch of "exits", since the whole point is to move data from one device to another.
just_another_person@lemmy.world · 1 pts · 183d
This is... incredibly stupid. This man has done so many drugs he no longer realizes how computers or electricity works.
ETA: https://www.reddit.com/r/answers/comments/23nd6a/i_remember_in_the_90s_illegal_or_black_box_cable/
Shadow@lemmy.ca · 18 pts · 183d
https://en.wikipedia.org/wiki/Delay-line_memory
nova_ad_vitum@lemmy.ca · 11 pts · 183d
The lack of investment in more production capacity for RAM is based on a roughly 3-year horizon for this insane extra AI demand.
Creating workable consumer-grade alternatives with delay line memory of all things would take longer than that, and the market would collapse the moment AI demand for RAM dried up. This is one of those things that is theoretically possible but due to both technology and market conditions will absolutely not be a thing.
tal@lemmy.today · 15 pts · 183d
I think that this is intended not to replace DIMMs in PCs, but to replace HBM for AI use. If you're doing neural net computation, you have very predictable access patterns, so you can store your edge weights such that the desired data is showing up at just the right time.
just_another_person@lemmy.world · -6 pts · 183d
It's not that we don't know what it is, it, again, is just INCREDIBLY FUCKING STUPID.
doorknob88@lemmy.world · 7 pts · 183d
John Carmack is on drugs?
greybeard@feddit.online · 1 pts · 183d
Maybe he confused him with John McAfee.
SuspciousCarrot78@lemmy.world · 1 pts · 183d