What is virtual memory? - Gary explains

  Рет қаралды 316,687

Android Authority

Android Authority

Күн бұрын

Пікірлер: 315
@unlokia
@unlokia 7 жыл бұрын
Gary, you are a marvelous teacher. Clear, concise, precise, relaxed, happy... and no irritating "KZbin 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.
@srakhtar
@srakhtar 3 жыл бұрын
your welcome my man. cheers.
@alienwarex51i3
@alienwarex51i3 2 жыл бұрын
@@srakhtar not OP but ok
@ajhalomaster
@ajhalomaster Жыл бұрын
😂😂😂
@tanishbansal1058
@tanishbansal1058 7 жыл бұрын
when you are taught the same in class but Gary explains better 😀
@technobrend0
@technobrend0 7 жыл бұрын
If Gary was my teacher I would have passed a few more classes :/
@PaladioBlaze
@PaladioBlaze 7 жыл бұрын
tanish bansal even I understand this and I know nothing about programming and what not.
@CarlitoProductions
@CarlitoProductions 7 жыл бұрын
that's why i'm here too lol
@dben9986
@dben9986 2 жыл бұрын
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 🙌🏻
@aRoamingDuck
@aRoamingDuck 7 жыл бұрын
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!
@thomyhr
@thomyhr 7 жыл бұрын
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
@trueblue9091
@trueblue9091 7 жыл бұрын
Don't know how much AA pay you, Gary, but you should get a pay rise
@pratikrai6407
@pratikrai6407 7 жыл бұрын
Tim Derek Scott and Darcy lacouvee are the owners and co founders of AA
@morganmatthias5684
@morganmatthias5684 3 жыл бұрын
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 3 жыл бұрын
@Morgan Matthias instablaster :)
@morganmatthias5684
@morganmatthias5684 3 жыл бұрын
@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 3 жыл бұрын
@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
@AElShahawy
@AElShahawy 7 жыл бұрын
Playlist of Gary explains, the best ever !
@BraveCarnage
@BraveCarnage 5 ай бұрын
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 жыл бұрын
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 Жыл бұрын
wow you actually have seen the evolution of basic computer and microprocessors... wow
@ahmetbozkurt9830
@ahmetbozkurt9830 7 жыл бұрын
After a Gary video, i feel smarter.
@--Paws--
@--Paws-- 7 жыл бұрын
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.
@fezspencer
@fezspencer 7 жыл бұрын
Who are the butttrolls who dislike excellent productions such as this. Wow.
@kun_fu_taco4775
@kun_fu_taco4775 4 жыл бұрын
Virtual A Holes
@sivlyte2892
@sivlyte2892 3 жыл бұрын
😂
@sshknt5
@sshknt5 7 жыл бұрын
I'm stupid but Gary makes me smart.
@Trident_Euclid
@Trident_Euclid 7 жыл бұрын
Suyash Kant You are not stupid if you want to learn.
@1MarkKeller
@1MarkKeller 7 жыл бұрын
Say it again Ibraheem!
@Cygnus0lor
@Cygnus0lor 6 жыл бұрын
@@Trident_Euclid that's not true
@qwedschy8285
@qwedschy8285 4 жыл бұрын
I'm stupid and Gary can't save me
@LeBeautiful
@LeBeautiful 7 жыл бұрын
such a good teacher. Thanks Gary!
@SteveTheTechy
@SteveTheTechy 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.
@noobaeon
@noobaeon 7 жыл бұрын
It's always a pleasure listening to your explanations Gary. Keep up the good work :D
@djknight00
@djknight00 7 жыл бұрын
I'm a computer science student and Gary has helped me pass in atleast a couple of subjects.
@Shivamrouniyaar
@Shivamrouniyaar 3 жыл бұрын
I got a smile after learning from you in much clear details
@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!!!
@saulgoodman9368
@saulgoodman9368 Жыл бұрын
Glazing
@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.
@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!
@MrMysticphantom
@MrMysticphantom 7 жыл бұрын
This has been the best of Gary Explains vids Nice job sir .....
@GeorgeKarayannis
@GeorgeKarayannis 7 жыл бұрын
Thanks again Gary, for a great video. may the L2 TLB be always in your favour!
@_Agosto_
@_Agosto_ 7 жыл бұрын
Best format of this channel
@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.
@fuzz33594
@fuzz33594 7 жыл бұрын
Gary - your ability to explain the complex is unsurpassed.
@eyassh6747
@eyassh6747 2 ай бұрын
Damn....if there were more teachers like you on this platform it would be perfect. 🧠🧠
@chenruwu2425
@chenruwu2425 2 ай бұрын
That's so clear and easy to understand! Thanks Gary!
@NKernytskyy
@NKernytskyy 3 жыл бұрын
Finally understood what TLB is. Great video! Keep making quality content!
@rummy692
@rummy692 5 жыл бұрын
Thanks Gary! This was clear and complete and much more interesting than the same topic coverage in class.
@saikirankummari631
@saikirankummari631 7 жыл бұрын
actually searched many vedios for this detailed explanation..thanks gary
@dsal3389
@dsal3389 2 жыл бұрын
hands down the best tutorial on this topic
@adithyabhat4770
@adithyabhat4770 7 жыл бұрын
He teaches so nice , better than my teachers
@DJKITES007
@DJKITES007 7 жыл бұрын
Gary, thanks for making a video on this topic. Great Job.
@ArrayCodes
@ArrayCodes 7 жыл бұрын
Garry sir you are really great. I always sleep in my computer class but i like your realxing voice and amazing explaination video.
@topherno
@topherno 5 жыл бұрын
Concise, clear, informative, and entertaining. Well done!
@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 KZbin 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! 🍀 💜 🎶 👻
@senethys
@senethys 5 жыл бұрын
5:40 - "Even for 300MB program you would need 79 million entries for such an entry table to do such mapping". Why specifically 79 million?
@undefBehav
@undefBehav Жыл бұрын
I have been wondering the same thing.
@junioli6862
@junioli6862 3 жыл бұрын
You're the man, Gary.
@rowanmakesfilms
@rowanmakesfilms 7 жыл бұрын
i LOVE this series, it brings out my inner nerd.
@axelp5-w2m
@axelp5-w2m 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.
@thelebbies
@thelebbies 4 жыл бұрын
Best explanation i have heard on virtual memory
@Soraviel
@Soraviel 7 жыл бұрын
I've always wondered how my computers handles this on a constant basis
@lookforaniket
@lookforaniket 7 жыл бұрын
A gr8 video by Master Gary ! keep em comin 👌
@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 🙂
@andrewrichardson9486
@andrewrichardson9486 4 жыл бұрын
Great. Thank you very much for that. I have found all your Gary Explains videos really good. 👍
@riteshpatel2999
@riteshpatel2999 Жыл бұрын
Excellent explanation and great teacher
@jimbononeya8376
@jimbononeya8376 7 жыл бұрын
awesome content Gary!
@ravivashatkar5585
@ravivashatkar5585 4 жыл бұрын
Great video that brushes all the fundamentals.
@williamjones6159
@williamjones6159 7 жыл бұрын
man Gary is on a roll to educate the masses lol
@vasireddyganesh
@vasireddyganesh 3 жыл бұрын
I think the main use of virtual memory is when there is a need of loading an app that is larger than ur ram then the Virtual Memory concept will be used to load that app by dividing it into some Modules and Only some of the modules of that app will only be loaded into ram.
@benjmiester
@benjmiester 7 жыл бұрын
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.
@behrouzbeheshti
@behrouzbeheshti 4 жыл бұрын
I'm not sure where "79 million entries" is coming in @5:50 for 300 MB program?
@MrGyges
@MrGyges 7 жыл бұрын
Thank you, Gary
@AnesuC
@AnesuC 7 жыл бұрын
Did this at Uni last year, It's a good feeling actually understanding what is going on LOL
@theodore1801
@theodore1801 7 жыл бұрын
Wow very good explanation, Gary is a veryvery good teacher
@parthasarathighosh1614
@parthasarathighosh1614 7 жыл бұрын
Awesome job Gary 👍
@kevinbenavides92
@kevinbenavides92 3 жыл бұрын
Great explanation and visuals. Thank you!
@isilcagirici5969
@isilcagirici5969 6 жыл бұрын
Thank you Gary. It was a great help.
@venkataravieluri9625
@venkataravieluri9625 6 жыл бұрын
Thanks Gary for such a nice explanation.
@sahilmalik6245
@sahilmalik6245 4 жыл бұрын
Seriously this cleared all the doubts
@haraldlons
@haraldlons 7 жыл бұрын
This was so easy to understand. Thanks!
@mallew32
@mallew32 7 жыл бұрын
OMG THIS WAS FANTASTIC!!! Like I understand, and that's amazing!
@arielfuxman8868
@arielfuxman8868 3 жыл бұрын
Brilliantly explained
@TripedalTroductions
@TripedalTroductions 6 жыл бұрын
2:42-2:54 you said that on a 32-bit machine a process has 32 bits of memory to work with which is of course 4 GB. What do you mean by that? I thought a 32-bit OS was simply an OS that utilizes a 32-bit maximum instruction word length supported by a 32-bit processor. I don't understand.
@VVVhitesnake
@VVVhitesnake 6 жыл бұрын
Think he means that 32-bit architectures support 4GB of RAM only.
@alexdiezg
@alexdiezg 7 жыл бұрын
Gary in AA is like Gandalf in the fellowship of the Ring.
@Jakupdam
@Jakupdam 3 жыл бұрын
That was a very good overview, thanks! :)
@aranzaf.3970
@aranzaf.3970 5 жыл бұрын
This was an amazing explanation, thank you!
@compsci91
@compsci91 7 жыл бұрын
Thanks, Gary! Great explanation!
@deepkumar-hk6wl
@deepkumar-hk6wl 5 жыл бұрын
excellent discription about virtual and phycial memory..........
@kkirubanantham
@kkirubanantham 3 жыл бұрын
Explained beautifully.
@ArdaX95
@ArdaX95 5 жыл бұрын
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 😀
@EnriqueCondoFolgado
@EnriqueCondoFolgado 7 жыл бұрын
thanks! professor Gary! nice job!!
@PaladioBlaze
@PaladioBlaze 7 жыл бұрын
Very interesting and great explanation.
@MrTomro
@MrTomro 4 жыл бұрын
damn, this guy explained virtual memory in 11 minutes better than my professor in 4 hours....
@tmthylthm
@tmthylthm 7 жыл бұрын
Is that background music from Acoustica Mixcraft? I made a song about 10 years ago with that same background track!
@VincentUghachukwuV
@VincentUghachukwuV 7 жыл бұрын
Thank you very much for the video
@SekharPariga
@SekharPariga 6 жыл бұрын
Dear Gary, in this video around at 6:20 to 6 :40 mints, For 300 MB memory it needs only 76800 max entities required in MMS Lookup table ,but I see you said in the video 77000 entries in MMS lookup are required for 300 MB please explain how come 200 entries require ? Why ? My calculation: 300MB = 75 * 1024 * 4K = 76800 4K pages Please explain 200 more entries ? 🤔
@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!
@jean-jayvester1358
@jean-jayvester1358 3 жыл бұрын
Excellent explanation!
@naveenfrancis444
@naveenfrancis444 4 жыл бұрын
Thanks a lot Gary!
@abs8090
@abs8090 7 жыл бұрын
GREAT EXPLANATION!!! Thanks a lot
@Garythefireman66
@Garythefireman66 7 жыл бұрын
Gary could seriously make the phone book sound interesting (apologies for anyone who doesn't know what that is)
@giovannidonato-iz8xr
@giovannidonato-iz8xr 7 ай бұрын
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
@pseudonym9215
@pseudonym9215 5 жыл бұрын
Are all the addresses for different VM of processes the same( as in pro1 has VM address form 0x0000 to0x FFFF and pro2 has VM address from 0x0000 to 0xFFFF). If they are the same, then how does the OS distinguish between memory access for VM 0xFFEE by pro1 and pro2, and redirect the request to corresponding Phy memory? Hmm ..... this sounds like a question for StackExchange.
@prabugirish50
@prabugirish50 7 жыл бұрын
Gary the man !! cheers :)
@yonatannisenboym2548
@yonatannisenboym2548 Жыл бұрын
you're the man! thank you for a great video
@maxemore
@maxemore 4 жыл бұрын
I learned this in computer engineering school, but I came here to see how he explains it
@IamAWESOME3980
@IamAWESOME3980 4 жыл бұрын
watching this for my midterm in my operating system course.
@iantang2866
@iantang2866 3 жыл бұрын
The music overwhelmed you and I couldn’t focus on what you were saying
@CassioBocchese
@CassioBocchese 3 жыл бұрын
Thank you Gary!
@paulozhang1340
@paulozhang1340 Жыл бұрын
When a page is swapped and allocated to another process, how does the MMU know it’s now belongs to process 2 when process 1 tries to access it?
@BakaOctopus
@BakaOctopus 7 жыл бұрын
please explain SD cards , SSD's and all flash memory write cycles limits and I/O scheduler !!!!!!!!!!! have got many flash memory cards in read only mode ! and even about heap sizes
@kunalnarang1912
@kunalnarang1912 7 жыл бұрын
Thanks Gary, can you do a video on how benchmark tests are created and how are they implemented.
@GarySims
@GarySims 7 жыл бұрын
That is an intriguing idea, but there isn't much to tell, it would be like a 2 minute video!!! Is there something particular that you are trying to find out?
@kunalnarang1912
@kunalnarang1912 7 жыл бұрын
Gary Sims I always wanted to find out how these benchmark scores are calculated. And also I'd like to know how your benchmarks (the 3D simulation of water droplets falling into a container, or the one with the hash tables or the first million primes) are different from popular benchmarks like Geekbench and Antutu. Now I know that you did a video on this recently, but I'd like to say that my question is completely different from that. Anyway, I'd really like you to explain this to me, as other people on this channel will too, even if that means you creating a two minute video. I hope it would not be too much trouble but whenever knowledge is concerned, there could never be too much trouble. Cheers Gary, thanks again for the video!
@SekharPariga
@SekharPariga 6 жыл бұрын
Dear Gary, when we have lookup table entities to look into particular Vaddress , why wee need extra MMU translation ? 🤔
@andrewryabchenko2407
@andrewryabchenko2407 3 жыл бұрын
Thank you! It is great explanation!
@griffielliott279
@griffielliott279 7 жыл бұрын
hello Gary Sims, can you explain what is LTE/GSM/UMTS/CDMA/Global and explain which is best to use in the US and why?
@GarySims
@GarySims 7 жыл бұрын
GSM is 2G, basically voice only. UMTS is 3G, voice and data CDMA is a type of 3G network that you basically only find in the USA (plus a few other places), I don't know much about it as I don't live in the USA. Most of the world uses LTE. LTE is 4G, voice and data, faster than 3G.
@griffielliott279
@griffielliott279 7 жыл бұрын
Gary Sims thank you, I understand it better now.
@primalmachine7945
@primalmachine7945 5 ай бұрын
starts with "nowdays we have the word virtual in everything" me looks at the video upload data, see its 7 years ago so it checks out. nowdays we have the word AI in everything.
@amiga1509
@amiga1509 4 жыл бұрын
Tbh it's much harder than I thought it to be!! And I didn't get a single word 😭
@vasubhatt6160
@vasubhatt6160 4 жыл бұрын
So can we say that more than one processes can have the same virtual address but due to MMU + OS their physical location will be different?
@yumiko579
@yumiko579 7 жыл бұрын
please thumbs up this video for our man gary.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 327 М.
Processes and threads - Gary explains
7:36
Android Authority
Рет қаралды 133 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
What's Virtual Memory? - Computerphile
22:40
Computerphile
Рет қаралды 180 М.
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,4 МЛН
Virtual Memory: 3 What is Virtual Memory?
8:47
David Black-Schaffer
Рет қаралды 688 М.
What is a kernel - Gary explains
9:50
Android Authority
Рет қаралды 964 М.
How a Clever 1960s Memory Trick Changed Computing
20:05
LaurieWired
Рет қаралды 452 М.
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 995 М.
AT&T Archives: The UNIX Operating System
27:27
AT&T Tech Channel
Рет қаралды 2 МЛН
Paging (OS)
29:12
Casey Cole
Рет қаралды 88 М.
Assembly language and machine code - Gary explains!
8:21
Android Authority
Рет қаралды 439 М.
Your Computer is Lying To You (Virtual Memory)
6:51
Jacob Sorber
Рет қаралды 17 М.