Virtual Memory: 4 How Does Virtual Memory Work?

  Рет қаралды 322,192

David Black-Schaffer

David Black-Schaffer

Күн бұрын

Пікірлер: 89
@ThumpingThromnambular
@ThumpingThromnambular 9 жыл бұрын
My final's in 4 hours. I'm confident you're actually saving my ass right now. Wish I saw this before because it's so plainly laid out, and easy to understand. Seriously, I'm impressed.
@altalena9139
@altalena9139 8 жыл бұрын
How'd you do?
@ThumpingThromnambular
@ThumpingThromnambular 8 жыл бұрын
I failed the class. I passed it and graduated the next semester though .
@sreeharshaparuchuri6115
@sreeharshaparuchuri6115 4 жыл бұрын
SAME but in 1.5 hours =p
@Huehhee7777
@Huehhee7777 2 жыл бұрын
Lol my final's in 5 hour
@Eyenn_n
@Eyenn_n 6 жыл бұрын
OMG I have been struggling with understanding Virtual Memory for weeks, and now I finally get what it is and how it works. THANK YOU SOOOOOOOOOOOOOOO MUCH, SIR!!!!!!
@dz-algorithms9119
@dz-algorithms9119 9 ай бұрын
the most simple & efficient way to explain VM , better than long lectures from fAnCy universities
@sicklecuthammerfall
@sicklecuthammerfall 6 жыл бұрын
My professors this quarter have been absolutely terrible at teaching. Thank god that professors like you exist.
@purleedef
@purleedef 4 жыл бұрын
Thank you for your video series on MIPS and virtual memory. I really wish you would upload more, and I don't understand why there are so many college professors and "youtube educators" that can't pull off explanations this cleanly. You make it look so ridiculously easy.
@JonnyInChina
@JonnyInChina 2 жыл бұрын
Bro you are a blessing for the world!! This is so much better explained than in my university
@_chilliy
@_chilliy 6 жыл бұрын
Best series on this topic by far.
@wafaabkl
@wafaabkl 4 жыл бұрын
thank you very much for this playlist. I am a doctorat student, my instructor shared with us one of your videos. it is really helpful. thanks again.
@leandrormor
@leandrormor Жыл бұрын
thanks for sharing, I'm still on the beginning but I'm loving it already, you have a gift to tech
@ashishmehar1996
@ashishmehar1996 2 жыл бұрын
you are doing agreat job for helping guys like me. these animations help in better understanding the Concepts. Keep it Up. Thanks for helping
@HassaanRaza
@HassaanRaza 4 жыл бұрын
your explanation is very neat and clean super easy to understand.
@Squirroo
@Squirroo 4 жыл бұрын
THANK YOU SIR FOR HELPING ME OUT. I really need this kind of visuals (lol) to fully understand the concepts and although my book is very clear and understandable, I still don't feel it works as well as some amazing videos people like you put on the internet! You are appreciated, keep up the good work!
@galai4162
@galai4162 3 жыл бұрын
still saving butts in 2021!! Thanks!!
@MsDudin
@MsDudin 9 жыл бұрын
You, sir, are amazing. Thank you.
@vishwajeetsb694
@vishwajeetsb694 4 жыл бұрын
Really helpful. Understanding VM in short span.
@weallareearthling
@weallareearthling 9 жыл бұрын
Awesome tutorial.I needed that.
@이범진-z6i
@이범진-z6i Жыл бұрын
sending love from south korea !!
@jinxiali7157
@jinxiali7157 3 жыл бұрын
From what I understood is that 1)Virtual Memory is NOT what the program sees, the program instead sees virtual address. (Virtual Memory refers to storage cells on DISK, which stores swap files).2) Virtual Address will be translated into Physical address, if there's not enough space on RAM for a certain program, then there'll be unused pages swap out to disk (which is actually what the Virtual Memory refers) to make room for the current running program, (indeed this will be updated on the page table). When the swapped out page are paged back when needed again.
@thivantran2322
@thivantran2322 2 жыл бұрын
best series ever sir
@morgard211
@morgard211 4 жыл бұрын
I'm very greatful for these videos. Thank you, sir!
@utopianice4574
@utopianice4574 5 жыл бұрын
These videos are actually PogU Thanks for making them
@joonlokyap8392
@joonlokyap8392 3 жыл бұрын
Thanks for your clear and concise lecture! 😎
@alopexcheung2525
@alopexcheung2525 5 жыл бұрын
Helpful Effective and Awesome !
@guilherme_viveiros
@guilherme_viveiros 6 жыл бұрын
Very cleared presentation , rly nice job
@robituszin
@robituszin 8 жыл бұрын
Amazing video, really helpful. One question: is the MAP (translation) = MMU (Memory Management Unit) ?
@rootrl6247
@rootrl6247 2 жыл бұрын
No. it's page table. in next lecture
@Boxhit98745
@Boxhit98745 4 жыл бұрын
at 0:30 the author says something that I can't understand due to my low English listening skills. Did he mention ISA which stands for Instruction set architecture?
@floridaman964
@floridaman964 4 жыл бұрын
Yes, the MIPS address space is 32 bits. At 0:30 he says "this is what the ISA promises" referring to how each program gets its own virtual memory space (32 bits).
@yuvaliko
@yuvaliko 6 жыл бұрын
Perfect. thanks for being so accurate and clear
@arielsilver7005
@arielsilver7005 2 жыл бұрын
AMAZING video!
@ashu5214
@ashu5214 Жыл бұрын
MMU is also a kind of Translation unit
@anamikaahmed4887
@anamikaahmed4887 6 жыл бұрын
Thank you
@anigem71
@anigem71 7 жыл бұрын
Nicely explained. Thanks david
@j.k.notrowling2449
@j.k.notrowling2449 2 жыл бұрын
you saved my life
@gabrielfriedmann2043
@gabrielfriedmann2043 7 жыл бұрын
The mapping table and the information how frequently ram is accessed has to be stored somewhere, too ... isn't this MUCH overhead? Thanks in advance! Gabriel
@rany615
@rany615 7 жыл бұрын
it depends on the memory evacuation policy, it can be parallel to other memory accesses
@harodl6663
@harodl6663 5 жыл бұрын
fantastic video
@mallikarjunfp23
@mallikarjunfp23 8 жыл бұрын
Great explanation
@zanyarzohourian9398
@zanyarzohourian9398 7 жыл бұрын
superb! facinating!
@subee128
@subee128 8 ай бұрын
Thank you very much
@hannahsaseun2381
@hannahsaseun2381 4 жыл бұрын
This was really helpful Thank you so much
@timuryalta
@timuryalta 8 жыл бұрын
Very nice explanation Where can I find all of topics u covered? Found one more youtube channel with usefull information as well. Prob. some more exist?
@davidblack-schaffer219
@davidblack-schaffer219 8 жыл бұрын
Timur, please go to test.scalable-learning.com and use the enrollment key YRLRX-25436 to see all the lectures.
@utpalkant6112
@utpalkant6112 7 жыл бұрын
I need a Data structure course! Can you help with an enrollment key??
@stupossibleify
@stupossibleify 3 жыл бұрын
Does the translation only happen if the program selects a segment value it hasn't used recently? Otherwise every memory access will take many more cycles than the couple I might expect from an "ld" opcode
@hugeturnip3520
@hugeturnip3520 5 ай бұрын
Thank you so so so much
@kevinsadi5890
@kevinsadi5890 Жыл бұрын
You are a legend
@tananyAR
@tananyAR 27 күн бұрын
very cleart thanks
@fuahuahuatime5196
@fuahuahuatime5196 5 жыл бұрын
So... what does this all reside? Like, abstraction is good and all, but if you don't have the understanding of the implementation.... ld r3, 20(r0)
@wadewang574
@wadewang574 3 жыл бұрын
At 3:18, the PA is disk, how to determine the PA is disk, then the Map how to know where is the data in the disk, and the computer hwo to know where is the destination in the RAM to load
@Sam-ib6xl
@Sam-ib6xl 6 жыл бұрын
That last question, it actually uses the VM to map to RAM right? itll take the oldest from ram and map that to disk. right?
@namangupta2228
@namangupta2228 5 жыл бұрын
dont you think that after incrementig EIP we have to map that address (VA ) to PA .
@grantpankratz4428
@grantpankratz4428 4 жыл бұрын
And here I am as a finance major who just wants to know why my work computer says it has virtual memory. I can confidently say this entire video went over my head. Probably did not help that I started with episode 4.
@purleedef
@purleedef 4 жыл бұрын
Even if you started on episode 1, he has an entire video series on MIPS that comes before this video series, so this is really like episode 20 in the full series. There's also probably a good bit of prerequisite knowledge you should know to fully understand THAT series. This video is really well explained, but it's definitely not a starting point by any means.
@Arjunsiva
@Arjunsiva 5 жыл бұрын
Awesome !hats off
@vortyx090
@vortyx090 8 жыл бұрын
Great tutorial :D
@samahabsi696
@samahabsi696 8 жыл бұрын
thank so much .....I understood it
@uyannurbayan2234
@uyannurbayan2234 3 жыл бұрын
Thnks..
@awezshaikh2683
@awezshaikh2683 6 жыл бұрын
In o to 2^32-1 , in this why '-1'? What is the purpose of it?
@amallkrishna
@amallkrishna 6 жыл бұрын
It is because you are starting to count from 0. If you count from 1 to 10 or 0 to 9, you'll have to count till 10 either way. Similarly, 1-2^32 and 0-2^32-1
@cassandrabailey2428
@cassandrabailey2428 8 жыл бұрын
you're a godsend
@Niividaaw25
@Niividaaw25 6 жыл бұрын
awesome ... thank you
@k0jackdoeverything733
@k0jackdoeverything733 6 жыл бұрын
Thank u, sir, that's amazing
@bresonable
@bresonable 8 жыл бұрын
You're a legend!
@mohabmetwally5749
@mohabmetwally5749 8 жыл бұрын
at 4:21 why R12 has VA 1536 instead of 0 ?
@brianolsen87
@brianolsen87 8 жыл бұрын
+mohab mohamed It is 1536 due to the behavior of the MIPS load instruction. ld R3, 0(R12) in plain English would say "Take what is at address location (R12) + 0 and load it into R3". In this case since the value that R12 points to is 1536 the address location would be 1536 + 0. I think you may have thought the 0(R12) means multiply but the parenthesis in assembly work similar to the deference * operator in C/C++.
@GamersCreedTeam
@GamersCreedTeam 6 жыл бұрын
Thanks Brian!
@chezhiyanspartan5080
@chezhiyanspartan5080 6 жыл бұрын
thank you sooooooooooooooooooooooooooooooo much
@aaditya4125
@aaditya4125 8 жыл бұрын
can anyone explain the answer to the last question
@firstglance5204
@firstglance5204 8 жыл бұрын
if the data that the virtual memory needs is too big for the ram(doesnt fit in physical address space) then it will be disk only. On one of the example before that, if its in disk u would put it in physical address space (ram) then grab it from ram everytime but if its too big for ram u always grab from disk
@s4valueedition802
@s4valueedition802 7 жыл бұрын
can i use 300gb as virtual ram does it make any diffrence
@rany615
@rany615 7 жыл бұрын
your computer probably wont use more than a couple
@tunder.bamidele7434
@tunder.bamidele7434 7 жыл бұрын
how can i download form youtube
@HelloMyAwesomeName
@HelloMyAwesomeName 9 жыл бұрын
This is why I don't like go to the school lol
@bluex217
@bluex217 9 жыл бұрын
+又日新 To hell with 100''s of thousands of debt for people who can't even explain properly.. I'm self teaching via internet and books..get some certs and launch your career
@mohabmetwally5749
@mohabmetwally5749 8 жыл бұрын
+又日新 the same here :) happy learning
@putrapalguna
@putrapalguna 8 жыл бұрын
i dont get it
@shersingh-hv8pd
@shersingh-hv8pd 8 жыл бұрын
tooo good
@nathanupfold3694
@nathanupfold3694 7 жыл бұрын
does it make a difference to gaming if I upgrade my virtual ram?
@rany615
@rany615 7 жыл бұрын
probably not , just get more ram
@rany615
@rany615 7 жыл бұрын
or faster ram , or faster hdd
@nufaeilaziz5432
@nufaeilaziz5432 8 жыл бұрын
i feel like a nerd watching this..........
@mariamzayed91
@mariamzayed91 4 жыл бұрын
💖💖💖🥺❤️
@frankynakamoto2308
@frankynakamoto2308 7 жыл бұрын
Ram is not physical memory And virtual memory is wrongly explain, is explained intentionally wrong
Virtual Memory: 5 Page Tables
6:32
David Black-Schaffer
Рет қаралды 329 М.
Virtual Memory: 3 What is Virtual Memory?
8:47
David Black-Schaffer
Рет қаралды 682 М.
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 25 МЛН
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 294 М.
16.2.2 Basics of Virtual Memory
12:20
MIT OpenCourseWare
Рет қаралды 47 М.
What is virtual memory? - Gary explains
11:28
Android Authority
Рет қаралды 308 М.
How a CPU Works
20:42
In One Lesson
Рет қаралды 8 МЛН
Processes and threads - Gary explains
7:36
Android Authority
Рет қаралды 133 М.
Operating System Basics
23:16
Brian Will
Рет қаралды 668 М.
CPU Cache Explained - What is Cache Memory?
4:51
PowerCert Animated Videos
Рет қаралды 1 МЛН