How does Computer Memory Work? 💻🛠

preview_player
Показать описание
Have you ever wondered why it takes time for computers to load programs or video games? Also, ever wonder why your computer uses both DRAM as well as SSDs when they both are used to store data?
Well, most of that time is spent moving data from a hard drive or SSD into DRAM or Dynamic Random Access Memory, which is the working memory inside your computer. In this video, we're going to take a very deep dive into DRAM. We'll see how it connects to other parts of your computer, and then we'll explore how DRAM can store gigabytes of data in nanoscopic capacitors. After that, we'll cover the three main operations of DRAM: Reading, Writing, and Refreshing. And finally, we'll dive deep into some more complex aspects of DRAM that make it so amazingly fast such as folded DRAM architecture. We'll also learn what burst buffers are, and why there are so many banks of DRAM memory cells.

Do you want to support in-depth engineering and technology education?

Table of Contents:
00:00 - Intro to Computer Memory
00:47 - DRAM vs SSD
02:23 - Loading a Video Game
03:25 - Parts of this Video
04:07 - Notes
06:10 - Intro to DRAM, DIMMs & Memory Channels
10:43 - Crucial Sponsorship
12:09 - Inside a DRAM Memory Cell
15:28 - An Small Array of Memory Cells
17:41 - Reading from DRAM
19:38 - Writing to DRAM
21:55 - Refreshing DRAM
23:16 - Why DRAM Speed is Critical
25:06 - Complicated DRAM Topics: Row Hits
26:21 - DRAM Timing Parameters
27:51 - Why 32 DRAM Banks?
29:17 - DRAM Burst Buffers
30:58 - Subarrays
32:02 - Inside DRAM Sense Amplifiers
34:24 - Outro to DRAM

Key Branches from this video are: How do Solid State Drives Work?

Erratum:
At 10m 08s : Cicruit || Should be Circuit
At 21m 54s : 32 Bank Groups || Should be 32 Banks.

Script, Modeling, Animation: Teddy Tablante
Twitter: @teddytablante
Animation: Mike Radjabov
Modeling: Prakash Kakadiya
Voice Over: Phil Lee
Music Editing: Luis Zuleta
Sound Effects: Paulo de los Cobos
Supervising Sound Editor and Mixer: Luis Huesca

Post with Adobe Premiere Pro

References:

DDR5 SDRAM. JEDEC Standard. JESD79-5 July 2020

Dr. Cutress, Ian. "Insights into DDR5 Sub-Timings and Latencies". Oct 6th, 2020.

Dr. El-Maleh, Aiman. "Functions and Functional Blocks: Digital Logic Design" College of Computer Sciences and Engineering. King Fahd University of Petroleum and Minerals.

Hajimiri, Ali. Et al. "Design Issues in Cross-Coupled inverter Sense Amplifier". IEEE. Stanford University 1998

IBM. Understanding DRAM Operation. IBM 1996.

Jacob, Bruce. NG, Spencer W. Wang, David T. "Memory Systems: Cache, DRAM, Disk." Elsevier Inc. 2008

Keeth, Brent. Baker, R Jacob. Johnson, Brian. Lin, Feng. "DRAM Circuit Design: Fundamental and High-Speed Topics." IEE Press 2008.

Kim, Yoongu et. Al. "A Case for Exploiting Subarray-Level Parallelism in DRAM". Carnegie Mellon University

Micron. "DDR4 SDRAM. MT40A4G4. MT40A2G8. MT40A1G16. 16Gb: x4, x8, x16 DDR4 SDRAM Features" Micron Technologies 2018

Micron. "DDR5 SDRAM Product Core Data Sheet DDR5SDRAM Features." Micron Technologies 2020

Ryan, Kevin J. Morzano, Christopher K. Li, Wen. "Write Data Masking for Higher Speed DRAMS" US Patent 6532180 B2 Mar. 11 2003.

Shilov, Anton. "SK Hynix Details DDR5-6400". ANANDTECH. Feb 26th, 2019.

Wikipedia contributors. "CAS Latency". "DDR5 SDRAM". "Dynamics Random-Access Memory". "Memory Timing". "Synchronous Dynamic Random-Access Memory". Wikipedia, The Free Encyclopedia. Wikipedia, The Free Encyclopedia, Visited Nov 2022

#DRAM #CPU #Computer
Рекомендации по теме
Комментарии
Автор

If you want to support us, then liking the video, writing a small comment, and sharing this video with others on Twitter, Reddit, Facebook, WhatsApp, or elsewhere help a TON! Doing this will enable us to create much more in-depth content on how computers work!

Why is it called Dynamic Random Access Memory? Also, why didn't we just call it RAM or just Memory throughout the video? Well, Random Access, means the computer can access any section of data with an equal amount of time before the data is read or written compared to any other section. The opposite is Linear Access Memory, which like a cassette tape. It's 'Dynamic' because the data cells lose charge over time, and thus have to be refreshed multiple times a second. Finally, we didn't call it RAM, because there are many types of RAM. SSDs are technically NVRAM [Non-Volatile RAM] Cache memory in the CPU is SRAM [Static RAM], GPUs use VRAM [Video RAM], which is VERY close in design to DRAM, and additionally there lesser known ones like MRAM [Magnetoresistive RAM], and many more. Also, why not SDRAM [Synchronous Data RAM]? Because all DDR 1, 2, 3, 4, 5 is SD, and non-SDRAM for computers is obsolete by 20ish years- although I'm sure there is non-SD RAM for other applications.

Also- did you spot that we use a DDR4 motherboard? That's because we had to purchase a motherboard and do a very thorough and destructive teardown, and thus we didn't have funds to splurge on the more expensive DDR5 motherboard.

BranchEducation
Автор

It's hard to believe how lucky we are having this content with this level of studies, researches, explanations and animations available for free. Impressive work.

marcoantonelliani
Автор

Dude this video must have taken an insane amount of time to make. The 3D models are extremely extremely detailed. It’s insane. Everyone should comment like and share to support this channel. Jesus that’s a lot of work.

JohnDoe-yqml
Автор

Amazing videos, 30 minutes packs in months of concepts otherwise very poorly taught at university and difficult to find online. I wish you guys could make more content about the actual manufacturing process as well, that'd be really interesting and bring it all together!

rewardilicious
Автор

The video’s quality, the way complex topics are simplified, along with the engaging script and narration, truly make this channel a delight!

SciMinute
Автор

I think this video series should be part of every computer science curriculum in high schools across the country, just so well done!

tylercoombs
Автор

as a computer network engineer can I just say this might have been the best technical video I've ever watched...fantastic

rabbitsfoot
Автор

Your incredible ability to explain and visualize difficult concepts is unparalleled. The amount of time to produce and edit this video must have been intense. Your videos are a gift of knowledge to humanity.

jagrutvaghela
Автор

I start medical school soon so I wanted to find a complicated topic to practice note taking and mind mapping…. I am absolutely floored at the quality of these videos. I’ve never been interested in computers, but you guys have mastered a beautiful balance between teaching, entertaining, and making complex topics obtainable! Bravo!!!

gabeGgriffin
Автор

As a software developer, you often end up forgetting about the intricacies at play in the hardware of a computer system. Even knowing how things work at the 'logical' level, its wonderfully enlightening to know what's going on at the lower levels like this and gain and understanding of why things work the way they do!

NidonocuPoisonBunny
Автор

Didn't expect all this information presented in just one great video. Thanks!

jorgelnx
Автор

I learned so much from you in the past 3 years that it feels really illegal to continue to watch such gold content for free - so here is my first "super thanks" ever - you deserve a lot more than this!
I will look for sure to soon become a patreon member of this channel, 3Blue1Brown and only a few more - but this 2 channels with highest priority... and I am not even an engineer or working in similar field!
Glad to see that you will very soon meet the 1M subscribers finally! Looking forward to the next video, whatever it will be! :)

Adrio
Автор

Incredibly amazing. A 30-minute video explains what teachers in my university couldn’t do in a couple of weeks.

watyadoingDoc
Автор

For me, carefully-crafted animated videos like these are a hundred (even thousand) times better and truly helpful in explaining how things work - as compared to just reading books or manuals. It's very nice to see that in this digital age, there are educators like you who are spending a considerable amount of time and effort in creating these kinds of videos. I'd be a Patreon to creators of high-quality videos like these if only I had a lot to spare. Thank you!

zeytitude
Автор

Videos like this make me appreciate technology even more.

Thank you for answering my questions with your easy to understand yet detailed videos!

andrew
Автор

I am a CSE student your videos helps me to understand computer concept very clearly. Thanks, here is my little support for you.

himanshu_yt
Автор

I must say, I'm truly impressed! Your 3D teaching video on DRAM is absolutely phenomenal. It's rare to find such a clear, engaging, and technically sound explanation of a complex topic. Your creativity in using 3D visualization truly elevates the learning experience and makes understanding DRAM much more accessible. Thank you for sharing your knowledge in such an eloquent and impactful way!

YolkBytes
Автор

Incredible. The animation and voice acting are of insane quality. Thank you for your hard work 🙏

Street_whys
Автор

Amazing! The clearest video about computer devices that I have ever seen. I believe it is more propriate to watch the videos slowly so that the understanding can be comprehensive. Maybe a possible way is to separate one long videos in to several independent ones.

PeterShengt
Автор

The quality of the 3d rendering, the clarity to explain everything, as a narrator and graphically wise, and the pace is perfect.
I would love to create some videos like this for architecture and construction.

I really hope your channel grows to translate it into spanish.

Thanks for this, is a gift to humanity.

Sorry for my english, it is not my native lenguaje.

gerarbendfeldt