What is virtual memory? - Gary explains

Поділитися
Вставка
  • Опубліковано 6 сер 2024
  • Before virtual reality and virtual currency there was virtual memory. Windows has it, iOS has it and so does Android. What is it and how does it work? Read the post: goo.gl/NyzJms
    There is a thread over at the Android Authority forums if you want to connect with Gary and chat some more about Virtual Memory: www.androidauthority.com/commu...
    Download the AndroidAuthority App: play.google.com/store/apps/de...
    Subscribe to our UA-cam channel: ua-cam.com/users/subscription_c...
    ----------------------------------------------------
    Stay connected to Android Authority:
    - www.androidauthority.com
    - google.com/+androidauthority
    - / androidauthority
    - / androidauth
    - / androidauthority
    Follow the Team:
    Josh Vergara: / jvtechtea
    Joe Hindy: / thatjoehindy
    Lanh Nguyen: / lanhnguyenfilms
    Jayce Broda: / jaycebroda
    Gary Sims: / garysims
    Kris Carlon: / kriscarlon
    Nirave Gondhia: / nirave
    John Velasco: / john_c_velasco
    Bailey Stein: / baileystein1
  • Наука та технологія

КОМЕНТАРІ • 317

  • @tanishbansal1058
    @tanishbansal1058 7 років тому +501

    when you are taught the same in class but Gary explains better 😀

    • @technobrend0
      @technobrend0 7 років тому +38

      If Gary was my teacher I would have passed a few more classes :/

    • @PaladioBlaze
      @PaladioBlaze 7 років тому +3

      tanish bansal even I understand this and I know nothing about programming and what not.

    • @CarlitoProductions
      @CarlitoProductions 6 років тому +2

      that's why i'm here too lol

    • @dben9986
      @dben9986 2 роки тому +1

      I ask B, my lecturer interpret it as A and answers C. In this case, the Internet becomes my friend 😂

    • @ketutaguscahyadinanda623
      @ketutaguscahyadinanda623 2 роки тому

      Yeah same thing here 🙌🏻

  • @trueblue9091
    @trueblue9091 7 років тому +260

    Don't know how much AA pay you, Gary, but you should get a pay rise

    • @pratikrai6407
      @pratikrai6407 7 років тому +2

      Tim Derek Scott and Darcy lacouvee are the owners and co founders of AA

    • @morganmatthias5684
      @morganmatthias5684 2 роки тому

      You all prolly dont give a damn but does anyone know a trick to get back into an Instagram account?
      I somehow lost my login password. I love any tips you can offer me

    • @kristophergunnar9551
      @kristophergunnar9551 2 роки тому

      @Morgan Matthias instablaster :)

    • @morganmatthias5684
      @morganmatthias5684 2 роки тому +1

      @Kristopher Gunnar thanks for your reply. I got to the site through google and I'm in the hacking process atm.
      Looks like it's gonna take quite some time so I will get back to you later with my results.

    • @morganmatthias5684
      @morganmatthias5684 2 роки тому

      @Kristopher Gunnar It worked and I now got access to my account again. I'm so happy:D
      Thank you so much, you really help me out :D

  • @thomyhr
    @thomyhr 7 років тому +4

    Knew most of this from the course in Operating Systems in the University, but it is always nice to hear Gary explain stuff. And I got to repeat the things I knew too. Please never stop making these videos, Gary! :D

  • @unlokia
    @unlokia 6 років тому +24

    Gary, you are a marvelous teacher. Clear, concise, precise, relaxed, happy... and no irritating "UA-cam persona". From an engineer, let me tell you this - you *really do* sound like you know your subjects well, so thank you for being you and for articulating so effectively and clearly. You are an asset to the engineering world.
    God bless you! 😀
    Matthew, England.

  • @aRoamingDuck
    @aRoamingDuck 7 років тому +11

    I never would have thought I would end up going to Android Authority to help study for my OS' exam... As always Gary your videos are probably the best on AA. Keep it up!

  • @AElShahawy
    @AElShahawy 7 років тому +3

    Playlist of Gary explains, the best ever !

  • @BraveCarnage
    @BraveCarnage Місяць тому +1

    Saving this to favorites. Best explanation I’ve seen on this subject. Gonna have to rewatch 5x until everything makes sense but I’m finally understanding it.

  • @RockstarBruski
    @RockstarBruski 7 років тому +35

    excellent tutorial. I've been working on computers since 1980 and never have heard this explained so clearly as you did in this video. love the charts and diagrams as well as those really help! and the funny kids pics made me laugh. cheers! 😎

    • @plumSlayer
      @plumSlayer Рік тому +1

      wow you actually have seen the evolution of basic computer and microprocessors... wow

  • @rummy692
    @rummy692 4 роки тому

    Thanks Gary! This was clear and complete and much more interesting than the same topic coverage in class.

  • @noobaeon
    @noobaeon 6 років тому +1

    It's always a pleasure listening to your explanations Gary. Keep up the good work :D

  • @optimisms
    @optimisms 2 роки тому

    Thank you so much! I've read this section in my textbook four times now and just couldn't understand it, but this clears things up so well!

  • @jerrymachado1943
    @jerrymachado1943 4 роки тому

    Hi Gary. I was trained as an EE, but went to the dark side of sales, so I am only dimly aware of all the subjects you discuss. Thanks for the context and thanks for putting the puzzle together for me.

  • @ahmetbozkurt9830
    @ahmetbozkurt9830 7 років тому +36

    After a Gary video, i feel smarter.

  • @MrMysticphantom
    @MrMysticphantom 7 років тому

    This has been the best of Gary Explains vids
    Nice job sir .....

  • @topherno
    @topherno 4 роки тому

    Concise, clear, informative, and entertaining. Well done!

  • @DJKITES007
    @DJKITES007 7 років тому

    Gary, thanks for making a video on this topic. Great Job.

  • @LeBeautiful
    @LeBeautiful 7 років тому +3

    such a good teacher. Thanks Gary!

  • @clairebear8182
    @clairebear8182 7 років тому

    When ever Gary explains, I understand. He is the only way I am going to get through my systems architecture exam, so thanks!!!

  • @Shivamrouniyaar
    @Shivamrouniyaar 3 роки тому

    I got a smile after learning from you in much clear details

  • @bodeghost
    @bodeghost 2 роки тому

    Greetings world! I'm very new to, Gary's channel & all I can say is, I've been asleep at the wheel for far too long. Sir, this channel is marvelous! From the quality video/audio & editing, to your ability to explain things in a manner with which most anyone can comprehend /completely understand the inner-workings of all this technology that changes every 27 seconds, if you will...😉 I love reading this communities feedback & shared knowledge! Love & Light To You All out there in UA-cam Land and Beyond the world over. Many thanks, Gary for taking what has to be a great amount of time you invest so that, we the viewers, can be educated correctly, efficiently & with absolute ease! 🍀 💜 🎶 👻

  • @andrewrichardson9486
    @andrewrichardson9486 4 роки тому

    Great. Thank you very much for that. I have found all your Gary Explains videos really good. 👍

  • @rsdwall466
    @rsdwall466 2 роки тому

    Oh my god . Mr. Simps thanks a lot for explains this. When you explained this , it seems so simple. Other people make it sound so tough. I wish I had listen to your lectures earlier. So so good.
    Thanks you very much from a student trying to explore world of computers.

  • @GeorgeKarayannis
    @GeorgeKarayannis 7 років тому +3

    Thanks again Gary, for a great video. may the L2 TLB be always in your favour!

  • @riteshpatel2999
    @riteshpatel2999 Рік тому

    Excellent explanation and great teacher

  • @NKernytskyy
    @NKernytskyy 3 роки тому

    Finally understood what TLB is. Great video! Keep making quality content!

  • @Mrtechguy
    @Mrtechguy 7 років тому

    Garry sir you are really great. I always sleep in my computer class but i like your realxing voice and amazing explaination video.

  • @saikirankummari631
    @saikirankummari631 6 років тому

    actually searched many vedios for this detailed explanation..thanks gary

  • @--Paws--
    @--Paws-- 7 років тому +2

    In other words the physical representation of memory and virtual memory is equivalent to how inventory is shipped to a warehouse and memory is the amount of space the warehouse can store of that shipment. Virtual memory is a shipment being processed to go either in its storage location or to be used in either to be once again shipped out or for some function in the warehouse/facility.

  • @kevinbenavides92
    @kevinbenavides92 3 роки тому

    Great explanation and visuals. Thank you!

  • @theodore1801
    @theodore1801 7 років тому

    Wow very good explanation, Gary is a veryvery good teacher

  • @aranzaf.3970
    @aranzaf.3970 4 роки тому

    This was an amazing explanation, thank you!

  • @axelfzurital
    @axelfzurital 7 років тому

    It wast just the topic for today in OS class, what a coincidence! But, Gary, your explanation was very good, thank you for all this Explaining videos.

  • @ravivashatkar5585
    @ravivashatkar5585 4 роки тому

    Great video that brushes all the fundamentals.

  • @haraldlons
    @haraldlons 6 років тому

    This was so easy to understand. Thanks!

  • @sshknt5
    @sshknt5 7 років тому +61

    I'm stupid but Gary makes me smart.

    • @Trident_Euclid
      @Trident_Euclid 7 років тому +10

      Suyash Kant You are not stupid if you want to learn.

    • @1MarkKeller
      @1MarkKeller 7 років тому +4

      Say it again Ibraheem!

    • @Cygnus0lor
      @Cygnus0lor 5 років тому

      @@Trident_Euclid that's not true

    • @qwedschy8285
      @qwedschy8285 4 роки тому +2

      I'm stupid and Gary can't save me

  • @lookforaniket
    @lookforaniket 7 років тому +1

    A gr8 video by Master Gary ! keep em comin 👌

  • @compsci91
    @compsci91 6 років тому

    Thanks, Gary! Great explanation!

  • @jimbononeya8376
    @jimbononeya8376 7 років тому +1

    awesome content Gary!

  • @venkataravieluri9625
    @venkataravieluri9625 6 років тому

    Thanks Gary for such a nice explanation.

  • @thelebbies
    @thelebbies 4 роки тому

    Best explanation i have heard on virtual memory

  • @isilcagirici5969
    @isilcagirici5969 5 років тому

    Thank you Gary. It was a great help.

  • @_Agosto_
    @_Agosto_ 7 років тому +1

    Best format of this channel

  • @PaladioBlaze
    @PaladioBlaze 7 років тому +1

    Very interesting and great explanation.

  • @EnriqueCondoFolgado
    @EnriqueCondoFolgado 7 років тому

    thanks! professor Gary! nice job!!

  • @dsal3389
    @dsal3389 2 роки тому

    hands down the best tutorial on this topic

  • @rowanmakesfilms
    @rowanmakesfilms 7 років тому +3

    i LOVE this series, it brings out my inner nerd.

  • @SteveTheTechy
    @SteveTheTechy 7 років тому +7

    Machines have been using virtual memory since the 70's. Gary in his run down of computers did not mention the IBM Mainframes where we had the MVS and VM operating systems which ran very much as Gary explained. There was the additions of the Link Pack Area (or on DOS/VS) machines the SVA (shared Virtual Area) where common routines used by multiple programs would be loaded into memory and shared between all the address spaces, saving real memory.
    The small operating systems like DOS/VS though only had one address space, so multiple processes would be loaded in to memory in several contiguous regions called partitions. So partition 1 had memory say from 100K to 200K, partition 2 from 200K to 500K, partition 3 500K to600K etc. It was still virtual because address translation between a virtual address and a real address still had to happen. There was not enough memory, so memory was swapped out to disk when it was not required. Often then machines ran with 200K of memory, and ran order processing, payroles, stock processing and even some development all at the same time.
    This contiguous space for multiple partitions could lead to the two problems which Gary mentioned early on. One program accessing the memory of another, and relative addressing.
    Each partition was protected from access from another by a protection key. each partition having a different key. A partition when scheduled was allocated the key for its memory. Should it try and access the memory of another partition, then it would fail.
    The relative addressing was addressed by the loader program .Often a branch address would be loaded form a table to access a routine. If the program was loaded in the partition starting at 200K, or it was loaded in the partition starting at 500K, then this address had to change. That was the job of the loader program, it would correct these addresses as the program was loaded into memory.
    Yes address spaces as used by MVS and VM were much easier, but they also still had loader programs as you can't predict where routines are loaded into memory in the address space.

  • @MrGyges
    @MrGyges 7 років тому +2

    Thank you, Gary

  • @naveenfrancis444
    @naveenfrancis444 3 роки тому

    Thanks a lot Gary!

  • @arielfuxman8868
    @arielfuxman8868 2 роки тому

    Brilliantly explained

  • @deepkumar-hk6wl
    @deepkumar-hk6wl 5 років тому

    excellent discription about virtual and phycial memory..........

  • @fuzz33594
    @fuzz33594 7 років тому

    Gary - your ability to explain the complex is unsurpassed.

  • @jean-jayvester1358
    @jean-jayvester1358 2 роки тому

    Excellent explanation!

  • @adithyabhat4770
    @adithyabhat4770 7 років тому +2

    He teaches so nice , better than my teachers

  • @Jakupdam
    @Jakupdam 2 роки тому

    That was a very good overview, thanks! :)

  • @VincentUghachukwuV
    @VincentUghachukwuV 7 років тому +4

    Thank you very much for the video

  • @parthasarathighosh1614
    @parthasarathighosh1614 7 років тому

    Awesome job Gary 👍

  • @djknight00
    @djknight00 7 років тому +6

    I'm a computer science student and Gary has helped me pass in atleast a couple of subjects.

  • @petermainwaringsx
    @petermainwaringsx Рік тому

    I'm six years late to the party, but as always there is still so much to learn. Thank you Gary for sending me back from the future, in your video on the demise of 32 bit mode in June 2023. I'm going to look at the one from 2022 now 🙂

  • @fezspencer
    @fezspencer 7 років тому +78

    Who are the butttrolls who dislike excellent productions such as this.
    Wow.

  • @sahilmalik6245
    @sahilmalik6245 4 роки тому

    Seriously this cleared all the doubts

  • @gauravgulati3693
    @gauravgulati3693 2 роки тому

    Awesome explanation!

  • @abs8090
    @abs8090 7 років тому

    GREAT EXPLANATION!!!
    Thanks a lot

  • @mallew32
    @mallew32 6 років тому

    OMG THIS WAS FANTASTIC!!! Like I understand, and that's amazing!

  • @CassioBocchese
    @CassioBocchese 2 роки тому

    Thank you Gary!

  • @abdulazeez.98
    @abdulazeez.98 7 років тому

    Great video as always !
    Please can you explain the effect of screen resolution on performance ? how much does a higher screen resolution effect performance?

  • @DinaAshraf143
    @DinaAshraf143 3 роки тому

    Great explanation!

  • @kkirubanantham
    @kkirubanantham 3 роки тому

    Explained beautifully.

  • @HShango
    @HShango 7 років тому +14

    I've always wondered how my computers handles this on a constant basis

  • @XxepIcsnIpexX1
    @XxepIcsnIpexX1 5 років тому

    Really informative video, thanks a lot! :)

  • @junioli6862
    @junioli6862 2 роки тому +1

    You're the man, Gary.

  • @hahavv7058
    @hahavv7058 3 роки тому

    This is really a great viedo taht answers my doubts!thanks sir~

  • @prabugirish50
    @prabugirish50 7 років тому +1

    Gary the man !! cheers :)

  • @ArdaX95
    @ArdaX95 5 років тому +2

    What happens when some programs are using dynamic memory allocation? How does the MMU can determine how much space does a program need in run time to avioid overwriting? Appreciate any help 😀

  • @yonatannisenboym2548
    @yonatannisenboym2548 9 місяців тому

    you're the man! thank you for a great video

  • @andrewryabchenko2407
    @andrewryabchenko2407 2 роки тому

    Thank you! It is great explanation!

  • @rohitkijbile
    @rohitkijbile 7 років тому

    sweet .. very useful thanks Garu

  • @AnesuC
    @AnesuC 7 років тому

    Did this at Uni last year, It's a good feeling actually understanding what is going on LOL

  • @benjmiester
    @benjmiester 7 років тому +5

    Cool. I remember when some dumb ass was trying to argue with me, saying android didn't have VM. At first he tried to claim he thought I meant VM was video memory, then tried to say it doesn't have virtual memory either when I explained that was what VM meant. Now I have something to link to explain it to them, if it happens again.

  • @krithigaperumal
    @krithigaperumal 3 роки тому

    What an explanation!

  • @pomegranate8593
    @pomegranate8593 3 роки тому

    excellent video!

  • @groveroq
    @groveroq 7 років тому

    That is awesome Gary :)

  • @YounesLayachi
    @YounesLayachi 7 років тому

    digging these videos

  • @julianeccleshall8397
    @julianeccleshall8397 7 років тому

    under 200 wiew! this is something i know and i work on it everyday, but you still make me learned something new!

  • @maxkmvv
    @maxkmvv 5 років тому

    Thank you for this.

  • @gokulnath9473
    @gokulnath9473 7 років тому

    awesome video.Thank you very much

  • @williamjones6159
    @williamjones6159 7 років тому

    man Gary is on a roll to educate the masses lol

  • @TheEmeraldTiger
    @TheEmeraldTiger 6 років тому +1

    Thanks Gary

  • @SAR2325
    @SAR2325 6 років тому

    Awesome video.

  • @IamAWESOME3980
    @IamAWESOME3980 4 роки тому

    watching this for my midterm in my operating system course.

  • @aniketdubey8362
    @aniketdubey8362 7 років тому

    can you do a video on CPU governors and tell which are the best governors

  • @udit7057
    @udit7057 7 років тому

    Gary I have questions regarding androids battery saving function
    Well I have noticed that during battery saver is on battery save more than normal , what does the software actually does which it doesn't do in normal mode. As I don't any differents (I get notification, data is on) everything is same {as I heard that it reduces cpu performance, but using my Rn3 I don't feel like the performance is reduced. So what exactly it is?

  • @Schnitzer325ci
    @Schnitzer325ci 7 років тому

    Gary.. You Legend!

  • @giovannidonato-iz8xr
    @giovannidonato-iz8xr 2 місяці тому

    Good morning and congratulations for your precision, unfortunately I didn't understand one thing, but what does offset contain (where on the page we are) can you explain it to me with a more detailed example, thanks in advance

  • @amiga1509
    @amiga1509 4 роки тому +7

    Tbh it's much harder than I thought it to be!!
    And I didn't get a single word 😭

  • @1000x_run_crypto
    @1000x_run_crypto 7 років тому

    this man is awesome!!

  • @cnsujeer
    @cnsujeer 4 роки тому

    Just wow! U made it look so simple ,😎

  • @maxemore
    @maxemore 3 роки тому

    I learned this in computer engineering school, but I came here to see how he explains it

  • @tomatrix7525
    @tomatrix7525 3 роки тому

    What a legend holy moly so good

  • @alexdiezg
    @alexdiezg 7 років тому +4

    Gary in AA is like Gandalf in the fellowship of the Ring.