Virtual Memory: 3 What is Virtual Memory?

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 253

  • @zhukevin-bq9qv
    @zhukevin-bq9qv 2 года назад +27

    After almost 10 years, I still find this is the best one on explaining how Virtual Memory works.

  • @XxDivaxLoverxX
    @XxDivaxLoverxX 7 лет назад +213

    Another youtube hero deserving some honourable mention on my degree! Thanks for explaining what my lecturers failed to explain.

    • @damejelyas
      @damejelyas 6 лет назад

      great idea, you can put the link here for the paper if it is publicly accessbile, that would mean a lot to him i think!

    • @abysswatcher4907
      @abysswatcher4907 2 года назад +2

      Sometimes lecturers went too deep into one topic and failed to realize the majority of students don't even understand the basics, experience gap in my opinion.

  • @seal3081
    @seal3081 8 лет назад +417

    Man this is amazing, the crappy slides my profs use are horrible compared to this. I also like the use of real world examples.

    • @sanzidhossaingetyourgameon
      @sanzidhossaingetyourgameon 7 лет назад

      LOL

    • @yatr7732
      @yatr7732 6 лет назад +8

      At least they use slides, mine use crappy white board and marker with poor drawing skills

    • @retardedead5124
      @retardedead5124 6 лет назад

      Brother, where is stack in this scenario? I couldn't find it 🤔

    • @lmn6440
      @lmn6440 4 года назад +3

      we need an education revolution, i see comments like this on every educational video
      homeschooling / private tuition / autodidactism is the way forward

    • @bruhm0ment767
      @bruhm0ment767 3 года назад

      lol my professor's audio just cuts entirely mid way T-T

  • @johnnylasers
    @johnnylasers 2 года назад +2

    This guy is by far the best in explaining this subject

  • @BangMaster96
    @BangMaster96 4 года назад +41

    I want my College fees back, you deserve my professor's salary

  • @Krazevsc05
    @Krazevsc05 7 лет назад +2

    I was so confused on virtual memory. So many videos from non english speakers which were very unclear to me. Finding your video playlist was a blessing. Crystal clear explanations that cover every detail I had a question about. Thank you very much.

  • @S2AnnyS2
    @S2AnnyS2 8 лет назад +44

    Best tutorial! I was struggling so much to understand Virtual Memory and you made it so much easier! Thaanks!

  • @SwaggyP2233
    @SwaggyP2233 5 лет назад +15

    I'll never understand how youtube videos explain things better than my college class that I pay money for.

    • @BonktYT
      @BonktYT 3 года назад +1

      This guy is a professor in sweden, he uses the videos in his course

    • @deshawnsamuel
      @deshawnsamuel Год назад

      There are many professors, there are fewer EDUCATORS. The serious educators have RUclips videos as they love EDUCATING.

  • @Mr1989deny
    @Mr1989deny 8 лет назад +4

    Best explanation I have found on RUclips

  • @brianolsen87
    @brianolsen87 8 лет назад +10

    Wow, hats off to you David for the concrete save dialog example!

    • @davidblack-schaffer219
      @davidblack-schaffer219  8 лет назад +1

      +Brian Olsen Glad you liked it! (Too bad I don't have the in-class demo recorded as it's a lot of fun to see PowerPoint loading fonts and how their sharing state changes.)
      -David

  • @ufufu001
    @ufufu001 6 лет назад +2

    What an incredibly clear way of explaining a very confusing topic. Thank you!

  • @rOnNiecHaRles16
    @rOnNiecHaRles16 Год назад

    Thanks to you, now I finally understand, I spent almost day to understand the realm of this topic.

  • @PhilipinaShine
    @PhilipinaShine 9 месяцев назад

    virtual memory savior is here. Thank you prof

  • @sonisingh6781
    @sonisingh6781 8 лет назад +5

    I cant have words for these tutorials u r like an angel..... keep up the excellent work :)

  • @Aug-xf5fo
    @Aug-xf5fo 2 года назад

    Best tutorial about VM on the internet

  • @chuckfaber7521
    @chuckfaber7521 4 года назад +8

    Why do I even pay for a college degree? This was so much better of an explanation than why my professors provide me.

  • @52Sierra
    @52Sierra Год назад

    short series of watchable videos that contains actual information. pog

  • @Caneladorada
    @Caneladorada 4 года назад

    oh, man. this is the BEST explanation I've ever got for this subject!!! is not that complicated, you make it so much easier. Thank you.

  • @zorkman111
    @zorkman111 7 лет назад +1

    Thank you so much for making this tutorial. An Operating Systems Class I'm taking really lays the complexity all at once, with this I can transition knowing the idea of VM and what problems it solves, to understanding its implementations.

  • @MohitGupta-ke7wu
    @MohitGupta-ke7wu 4 года назад

    The best way virtual memory can be explained !!!! Thanks Really learned a lot

  • @jaymixo607
    @jaymixo607 4 года назад

    this is much better than the incomprehensible ppt slides my prof uses

  • @samliao2393
    @samliao2393 2 года назад

    I love how you explain a complex concept.

  • @meyanh6238
    @meyanh6238 3 года назад +1

    Hands down one of the best explanations I've ever seen, I was struggling to find access to this topic but you made it so easy, thank you!

  • @Linaiz
    @Linaiz 4 года назад

    This is the best explanation series on this topic I've seen so far on youtube! So glad I found this

  • @eXtremeElectronics
    @eXtremeElectronics 4 года назад +1

    Very good, I have worked with Cortex M series CPUs, when moving to A series CPU I wanted to know about virtual memory and this gave me nice introduction! Thank you

  • @0ManishSharma0
    @0ManishSharma0 6 лет назад +25

    The mapping is done by MMU(Memory Management Unit).

  • @yashkapoor2k
    @yashkapoor2k 3 года назад

    Simple with context of real world examples ♥️♥️♥️
    Your way of teaching is so good!!!
    This video was way better than all those forums and posts I went through.

  • @rsssl
    @rsssl 10 месяцев назад

    This is the best explanation on VM. Thanks a lot for the video.

  • @NghiaNguyen-lp1us
    @NghiaNguyen-lp1us 6 лет назад

    1000000000000000000000000 times better than my lecturer's explanation!!

  • @Arjunsiva
    @Arjunsiva 5 лет назад +9

    Simply freakin awesomeeeeeee!!!! man I 've never seen someone using Powerpoint slides more effective than yours. The profs at college do shitty slides and u r just great.

  • @GTaCzZ
    @GTaCzZ 5 лет назад +1

    this dude is underrated i've seen so many other channels explaining the same stuff but not close to this mans level. subbed. hope to see more from you in the future really appreciated the lectures. thank you!

  • @bhavjotsingh3190
    @bhavjotsingh3190 7 месяцев назад

    Best Lectures on VM! ❤

  • @albancapaj234
    @albancapaj234 5 лет назад

    this is WAYYYYYYYYYYYYYYYYYYYYYYYY more useful than my teacher's slides

  • @Mrvenmer
    @Mrvenmer 6 лет назад

    The BEST Tutorial with Nice Graphics!!

  • @tiofercancel
    @tiofercancel 9 лет назад +57

    Thanks for making these videos, they are really simple to understand!
    I found a typo at 6:44 when you write 2. Program 2 stores your video game score at address 1204, it should say 1024

    • @IStMl
      @IStMl 4 года назад +25

      @@Ruturaj22 ??? He's just offering a correction. If you get offended/insecure every time someone corrects something that's not even about you, I don't get how you survived till now.

  • @66javi66
    @66javi66 7 лет назад +3

    Thank you very much for this tutorial. You help me a lot of. In 2 days i have an exam and i didn't understand MV. Regards from Spain :D

  • @bonbonpony
    @bonbonpony 4 года назад

    00:22 Position-dependent code and memory fragmentation enter the chat ;>
    02:12 That's a huge oversimplification. Disks cannot be directly addressed like memory. More correct would be to say that we SWAP some memory page to hard disk to free up some space in physical memory, then we can use that memory for our next mapping.
    05:58 This doesn't solve the problem though, it only shifts them one level deeper. Because you still can have fragmentation in your virtual address space and virtual memory won't help you with that :q

  • @ПавелИльин-н6г
    @ПавелИльин-н6г 2 месяца назад

    Хорошо что есть Русский перевод!!!!! Очень понятно!!!

  • @shalsteven
    @shalsteven 7 лет назад

    you have helped me pass the exam! thank you

  • @HonglingRuan
    @HonglingRuan Год назад

    easy for beginner to understand, really appreciate it

  • @PomegranateAmazing79
    @PomegranateAmazing79 7 лет назад

    thanks a lot. ur videos saved my exam

  • @SSB2706
    @SSB2706 3 года назад

    Salute you man, what a simple and easy to understand explaination

  • @Jonlin11
    @Jonlin11 5 лет назад

    Really excellent video with excellent narration!

  • @arvindhganesan
    @arvindhganesan 3 месяца назад +1

    Hey! Amazing video, you absolutely deserve more recognition and praise for the efforts you put in making such complex topics look so much easier.
    I just have one small question. When we're talking about #3 keeping programs secure, whats the guarantee that the mapping doesnt write to the same location in the RAM? Had this doubt cz if programs can access same memory location without mapping, is there some condition in the mapping that solves this problem? I wasnt finding very convincing answers on the internet so I thought Ill ask! Once again, great video!

  • @Sanskrutikoujalagi122
    @Sanskrutikoujalagi122 7 лет назад

    Thanks David, very nice explanation of Virtual memory!!!

  • @SexualPotatoes
    @SexualPotatoes 8 лет назад

    Props to you, +David Black-Schaffer. Super accessible.

  • @SamiN709
    @SamiN709 6 лет назад +1

    Man i was struggling so much to understand it but you made it easier thanks !

  • @sbera87
    @sbera87 7 месяцев назад

    Amazing. Thank you . Most helpful and clear explanation

  • @amarputsala4090
    @amarputsala4090 9 лет назад

    Nice explanation with pictures and easy for me to understand...thank u

    • @davidblack-schaffer219
      @davidblack-schaffer219  9 лет назад +4

      amar putsala, please feel free to take a look at the whole course if you're interested at test.scalable-learning.com, enrollment key YRLRX-25436

  • @jagadishbagul8634
    @jagadishbagul8634 5 лет назад

    well done. Thanks for sharing your knowledge and realization of virtual memory

  • @hafizmfadli
    @hafizmfadli 4 года назад

    thanks sir, this help me to prepare my final exam

  • @ajaidx
    @ajaidx 2 года назад

    I salute u .Finally understood the concept

  • @cherifaly6757
    @cherifaly6757 6 лет назад

    You have a misconception about virtual memory, Virtual memory combines active Ram and inactive memory on disk to form a large range of contiguous addresses. There is also a memory map that comes along with the virtual memory, so the virtual memory and the memory map is a completely different things.

  • @cocomidnight
    @cocomidnight 5 лет назад

    Amazing video. Helped me understand my assignment greatly!

  • @BishwajitDas-qp5ny
    @BishwajitDas-qp5ny 6 месяцев назад

    great explanation, very impressive

  • @bashanzuo2142
    @bashanzuo2142 6 лет назад

    This is so amazing! Please keep making more videos! Thank you !

  • @SudarshanSaxenatherockstar
    @SudarshanSaxenatherockstar 7 лет назад

    best explanation ever bro... you rock...!!!!!!!!

  • @elestirel3131
    @elestirel3131 5 лет назад

    Great content with proper expressions, thanks!

  • @michaldorsett
    @michaldorsett 7 лет назад

    Thank you for this set of excellent lectures!

  • @aiaiaiaiaiya
    @aiaiaiaiaiya 8 лет назад

    Thanks! It's really helpful. Your explanation and ppt is easy to understand.

  • @mayue6195
    @mayue6195 6 лет назад

    best videos on youtube

  • @emrearslan1
    @emrearslan1 5 лет назад

    Probably the best course on virtual memory. Thabk you. Could you please prepare for the Paging Mechanism as well?

  • @woompaloompa
    @woompaloompa 7 лет назад

    youre explanation is awesome af.

  • @不染铅华
    @不染铅华 7 лет назад +1

    Nice! Really appreciate it, love the visuals, can tell you spent a lot of time preparing. Thank you!

  • @jennwng
    @jennwng Год назад +1

    Questions about page out at 4:08: I guess in that example, we can page out program 0 cuz we assume it's no longer needed. But what if we need to process program 0 + 1 + 2 + 3 all at once (like if these 4 programs need to interact with each other and thus need to be in memory together for us to process them)? Q1: In that case, if we cannot page out anything, and we no longer have space for program 3, what would happen? Q2: In real life, what are the solutions to avoid this situation? Thanks very much :)

  • @lightningllama
    @lightningllama Год назад

    Clear as day, thanks a bunch!

  • @akashnarang6747
    @akashnarang6747 4 года назад

    such lucid explanation, thank you for this.

  • @jalaj61
    @jalaj61 7 лет назад +2

    amazingly explained . Wow

  • @justinbuildcarss
    @justinbuildcarss 8 лет назад

    for 6:40. it should be 1024 instead of 1204 for the program 2 address

  • @ajaychandran4459
    @ajaychandran4459 5 лет назад

    thanks 4 the real world example sir..

  • @athanasiosziakas2290
    @athanasiosziakas2290 Год назад

    Your explaying it so good and it helped

  • @johnzhang1821
    @johnzhang1821 9 лет назад

    Definitely deserve a thumb up, but i can't see how many people already thumbed up for ya....

  • @DanushkaFernandosampath
    @DanushkaFernandosampath 4 года назад

    Upto the point Explanation

  • @Jonathan-ru9zl
    @Jonathan-ru9zl 2 года назад

    Hi 👋 so basically virtual address 1.make life for program easier cuz virtual means contagious
    2.can add another means of memory like hard disk

  • @tombert512
    @tombert512 3 года назад

    Excellent video, really helped me out!

  • @vrashok1
    @vrashok1 5 лет назад

    Good Job...David
    Keep it up

  • @joe4real231
    @joe4real231 Год назад

    Thank you! Simply explained!

  • @vinuprasad6846
    @vinuprasad6846 4 года назад

    Clear and concise!!

  • @superdahoho
    @superdahoho 2 года назад

    8 minutes of youtube worth 2 hours of lecture
    2022

  • @lebahmad56
    @lebahmad56 3 года назад

    thanks a lot, the recordings for my OS class with simple slides are really not clear, especially for this type of class, we need something like this.

  • @saudgl
    @saudgl 2 года назад

    Reallly very good you save my time thank you

  • @codepoachers6870
    @codepoachers6870 3 года назад

    The mapping of addresses from the secondary storage to RAM is actually done by the Memory Management Unit(MMU) and NOT the virtual memory. Virtual memory is the 'deceitful' picture the kernel gives the program that ALL the RAM size belongs to it and it ALONE.

  • @iiN1GH7M4R3ii
    @iiN1GH7M4R3ii 7 лет назад

    Thank you so so much!! Explained very well to beginners and I love the example.

  • @ВолодимирК-р6т
    @ВолодимирК-р6т 2 года назад

    Good explanation. Thanks!

  • @Cygnus0lor
    @Cygnus0lor 5 лет назад

    Fascinating! Solved a lot of my questions...

  • @Joske369
    @Joske369 7 лет назад

    Excellent explanation

  • @vinaypandey9172
    @vinaypandey9172 6 лет назад

    A grand salute to u , amazing explanation

  • @bruhstfuu
    @bruhstfuu Год назад

    this actually helped so much

  • @makesh948
    @makesh948 6 лет назад

    Nice tutorial with great slides :)

  • @kuchulaanitha5323
    @kuchulaanitha5323 5 лет назад

    Explain about the storage management with examples

  • @frank430588
    @frank430588 5 лет назад

    Big thanks for this..really appreciate your efforts on this

  • @TinuMehra
    @TinuMehra 8 лет назад

    nice presentation

  • @nakhabalaherbert2122
    @nakhabalaherbert2122 2 года назад

    Good explanation

  • @ahmetalper8537
    @ahmetalper8537 5 лет назад +1

    What a hero !

  • @sean123654
    @sean123654 7 лет назад

    My god trying to make sense of this from the Tanenbaum book is honestly mental. Why would you explain this concept using 1 illustration and 9 paragraphs???!!!! lol I'm glad other people feel the same.

  • @maxsteel8031
    @maxsteel8031 3 года назад

    @David Black-Schaffer *I don't want any paging on my hard drive, I want to export it to an external drive connected via USB, but when I go to my paging options only C: is listed, (not even D) I have a thumbdrive plugged in too, but that doesn't who either. How do I get my OS to recognize a new drive? And how much can I use for paging? p.s. if you're feeling generous, can you tell me, how I might be able to "dedicate" cores in my CPU so that they don't get shared by other programs?*

  • @suyashneelambugg
    @suyashneelambugg 4 года назад +1

    The first time I heard Virtual Memory, all the concept came intuitively in my mind, but then I watched a crappy tutorial which by someone unable to speak proper english and vomiting their mugged up statements with unnecessary complexity. Now watching this is a so reassuring of the simple intuition that one may get hearing the term "virtual memory" or "logial address space" ... it can be infinite. One thing we must add is that the RAM is hellish faster and while processes are being run, the old pages get removed so quickly that there are always new empty holes... it barely needs to access Secondary memory unless we are running 5 applications all at the same time. Still, there is external USB drive that used to help in the past. Now we have 64 bit address space and 32GB DDR RAMs in laptops.

    • @isaacgarcia8686
      @isaacgarcia8686 4 года назад

      When I think virtual I think of something not Physical. But here it is being saved on another type of storage.

  • @haoyuli6006
    @haoyuli6006 5 лет назад

    Thanks so much for the time and effort.

  • @mehdisaffar
    @mehdisaffar 5 лет назад

    Amazingly clear. Thank you so much!

  • @PushpendraKumar-ck8op
    @PushpendraKumar-ck8op 4 года назад

    Excellent 👍