Paging in Operating Systems with Example & Working - Memory Management
Support Simple Snippets by Donations -
Google Pay UPI ID - tanmaysakpal11@okicici
PayPal - paypal.me/tanmaysakpal11
--------------------------------------------------------------------------------------------- Paging Definition -
1. In computer operating systems, paging is a memory management scheme by which a computer stores and retrieves data from secondary storage for use in main memory.
2. In this scheme, the operating system retrieves data from secondary storage in same-size blocks called pages.
Paging is an important part of virtual memory implementations in modern operating systems, using secondary storage to let programs exceed the size of available physical memory.
3. Non-contiguous memory allocation
4. Helps prevent external fragmentation
5. Logical address space is divided into equal size pages
6. physical address space is divided into equal size frames
7. Page Size = Frame Size
A. Logical Address or Virtual Address (represented in bits): An address generated by the CPU
B. Logical Address Space or Virtual Address Space( represented in words or bytes): The set of all logical addresses generated by a program
C. Physical Address (represented in bits): An address actually available on memory unit
D. Physical Address Space (represented in words or bytes): The set of all physical addresses corresponding to the logical addresses
Simple Snippets Official Website -
simplesnippets.tech/
Simple Snippets on Facebook -
/ simplesnippets
Simple Snippets on Instagram -
/ simplesnippets
Simple Snippets on Twitter -
/ simplesnippet
Simple Snippets Google Plus Page -
plus.google.com/+SimpleSnippets
Simple Snippets email ID -
simplesnippetsinfo@gmail.com
For More Technology News, Latest Updates and Blog articles visit our Official Website - simplesnippets.tech/
#Paging #OperatingSystems #OS
Пікірлер: 249
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
@banglainformer9584
4 жыл бұрын
How to create this kind of diagram ...
@aniketsharma1597
Жыл бұрын
Very nice video and very nice explanation of every single step . All doubts about paging clear 👍👍👍👍👍👍
@beatit2537
7 ай бұрын
Please create more videos about Operating Systems' topics.
I struggled to understand this using my textbook, which assumed I'm already fluent in computer science lingo. You made this relevant and easy to understand. The pictures, color and hearing you say it helped to reinforce my learning. Thank you! Well done!
brother u actually done the work ,BEST ONE ON INTERNET ......BEST ONE I AGAIN SAY
@SimpleSnippets
5 жыл бұрын
Wow, thank you so much bro. I'm so happy to hear such a wonderful comment from you 👍 Please do share the video with your friends and keep up the support ✌️
This is the best explanation of Paging, I've found on KZread. Awesome work man.
Always the best in every topic that I may have searched for on KZread! Thank you for this great explanation.
Thank you so much! I couldn't understand it from my book. The way you explained visually helped a lot! Thank you for clearing my concepts.
Watching ur video when we r not attending lecture due to this pandemic... Ur video is very useful. Exam is after 10 days.. Nd concept is now clear about paging.. Thanks a lot....
exam 1hour from now. watching in 1.25 speed
@SimpleSnippets
5 жыл бұрын
All the best ✌️
@kamelfosare1527
3 жыл бұрын
Same here but in 2 days
@realslik2029
3 жыл бұрын
Watching 2x speed exam in 1 hour
@kamelfosare1527
3 жыл бұрын
@@realslik2029 Good luck man
@kiche_allan
3 жыл бұрын
Hey, how did the exams go, Ive got mine in 2 weeks time
That's a great relief during the last minute study. Thank you!! :)
Things you should cover more in this video: Page table is kept in main memory Page-table base register (PTBR) points to the page table Page-table length register (PRLR) indicates size of the page table In this scheme every data/instruction access requires two memory accesses. One for the page table and one for the data/instruction. The two memory access problem can be solved by the use of a special fast-lookup hardware cache called associative memory or translation look-aside buffers (TLBs) Some TLBs store address-space identifiers (ASIDs) in each TLB entry - uniquely identifies each process to provide address-space protection for that process
@durgaprasadnaredla5832
Жыл бұрын
Hello manthan Gandhi. I have small doubt related to PTBR. How can I contact you..
@durgaprasadnaredla5832
Жыл бұрын
I need some suggestions from you
THIS HAS SOLVED ALL MY WORRIES ON PAGING AS A STUDENT OF OS CONCEPT thanks ✌
THANK YOU VERY MUCH FOR THIS!!!!!! you provided a flow which my professor didnt.
Your explanation is very CLEAR and maybe the best explanation on youtube!!! Thank you very much!!
@SimpleSnippets
4 жыл бұрын
Thank you buddy ✌️ this really means a lot to me 😇 I would really request you to please share the video with your friends too ✌️
I can't thank you enough for this video ... I was browsing the internet for more than 5 hours... 17 mins of your explaining and now I'm good to proceed to the next topic...
@SimpleSnippets
8 ай бұрын
Glad it helped!
simply awesome, great work. Thank you.
What a such proper information you have bro🙏🙏.I really thank you for explanation and presentation. And ya keep doing great videos because all engineering students guru will be KZread only .they only make you to grow up
@SimpleSnippets
3 жыл бұрын
Thank you so much 🙂 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
This is way better than my univeristy's class.
@SimpleSnippets
4 жыл бұрын
Thanks Pete, glad you liked it. Please do share this video with your friends too 🙏
"500GB if you are in ancient time" hahaha, i felt offended. I guess i have to change my hard drive ASAP 🤣🤣🤣
Great work brother! 🙌🙌
So well explained, thanks mate!
thanks bro..... literally amazing explained. 😍
Really, your explanation was awesome .. I am feeling the beauty of your words.. They are perfect.. Your English, pronunciation, words, flowness And the content which is most important ... Everything was good... ♥️♥️
@SimpleSnippets
4 жыл бұрын
Thank you so much buddy 😇 this was really a wonderful feedback. This motivates me to make more educational content 🤘 I would request you to please share the videos with your friends too. That's the biggest help and support ✌️
"500GB HDD is from the ancient times" *me, a zoomer owning precisely such drive*: _surprised pikachu face_
Its help me a lot bro thank you so much for this video ❤❤I have quickly understood all the concept about paging
@SimpleSnippets
5 жыл бұрын
Thank you very much buddy. I am so happy that you liked this video and it was helpful to you😇 I would request you to share the video with your friends too ✌️ that will be very helpful 😊
This was awesome!!! Reading about in text is a little dry and hard to fully understand, you explained this perfectly!! Will be watching more.
@SimpleSnippets
5 жыл бұрын
Thank you so much my friend 😁✌️ really happy to hear this from you 😊 I would request you to please share the video with your friends too ✌️
Thank you so much for the video.... cleared out all my doubts
you're awesome, sir. THANK YOU!
@SimpleSnippets
5 жыл бұрын
Most welcome buddy 😊 I'm glad to hear this from you and happy that this video helped you. Please do share the video with your friends too 🤟
This was SO helpful - thank you so much for explaining this so succinctly!
@SimpleSnippets
3 жыл бұрын
Glad it was helpful! Thank you so much 🙂
I actually think this is the best explanation of the paging concept I have seen so far! Good Job :)
@SimpleSnippets
3 жыл бұрын
Happy to hear that Thomas!
loved your creation brooo!
Impressive teaching skills!
Thank's a lot bro, it was really helpful.
what an amazing vedio all concepts are cleared thans bro pls make more content like this. most underrated channel.
@SimpleSnippets
9 ай бұрын
I will try my best. Please help me by sharing our channel and videos with your friends too!
Very well explained. Keep up the good work!
@SimpleSnippets
4 жыл бұрын
Thank you Mike, I am really glad to hear this comment from you bro. Thank you for the positive feedback. I request you to please share our channel and videos with your friends too & ask them to subscribe and join our community as well 😇 That is the biggest help and support you can provide ✌
you are a lifesaver!
Good, Precise, Clear Thanks
Great Content. You've explained it in pretty simple language. 😊
@SimpleSnippets
4 жыл бұрын
Glad you think so! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Awesome explanations like this is what saves my ass through programming courses
@SimpleSnippets
4 жыл бұрын
Haha im glad to know my videos save your ass 😂😇
Thanks! I cleared a few things i was murky about through your video
@SimpleSnippets
4 жыл бұрын
Excellent!
TQ sir your explanation is excellent it's helps me in my exam
You explain so very well Thank you :)
woh bro this helps me a lot bro , thanks man 💓
thank you man, 1000 times better than our doctor
Very fantastic video!
Excellent explanation!
thanks bruh all the best
amazing video and explanation
Wow. Man you are a genius. I m impressed.
@SimpleSnippets
3 жыл бұрын
Thank you so much 😀
Tq you sooo much for uploading this video bro🙏🙏🙏
explaned very well, thanks
Excellent presentation and explanation
Superb explanation 👍thanks man
Bro god bless you my $100K professor could not teach this well
Thankx a lot man.... very impressive teaching style
@SimpleSnippets
5 жыл бұрын
Thank you so much for the positive feedback buddy. Really happy to hear this from you. I would request you to please share the video with your friends 😊✌️
awesome video bro
nice , it gave me some understanding
Thank for simple explanation
Thank you.. You have good knowledge with excellent communication skill.
@SimpleSnippets
3 жыл бұрын
Thats really great to know buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Really super 👌 explanation
Very good explanation
You made my day 🤜🤛
Amazing work man!
@SimpleSnippets
4 жыл бұрын
Thank you so much bro, this means a lot to me. Please support me by sharing this channel with your friends too. Thats the biggest help and support ✌
Tq bro, you done a brilliant job . Infat u r not 100% u r 200% well sead than my faculty member
excellent vid! thank u !
Thank you sir great explanation with neat diagrams.👏
@SimpleSnippets
3 жыл бұрын
Glad you liked it
Very good video!!
Great video! Though you didn't really describe how this allows programs to exceed the size of available physical memory. Do they just leave unused pages in virtual memory? What if one of those pages is needed? Wouldn't you get a page fault for trying to access it?
Absolute beauty
@SimpleSnippets
5 жыл бұрын
Thank you so much buddy for this wonderful feedback😇✌️ Please do share this video with your friends and contacts too bro 😇✌️
Appreciate your work ✌🏼
@SimpleSnippets
5 жыл бұрын
Thank you so much buddy 😊 means alot to me 😊
Thank you bro (from a student who is studying 1 hr before exam)
Your lectures are just wow! One request from my side can you please add some concepts of multilevel paging.
@SimpleSnippets
4 жыл бұрын
Thank you so much Saurav, really glad to know this. Unfortunately currently I am too occupied with DSA and then I have other subjects lined up too. So chances of your requested topic are pretty slim. Dont want to lie or keep you waiting hence being honest 😇🙏
Thank you bro for the explanation. ✌
@SimpleSnippets
4 жыл бұрын
Most welcome buddy. Please share the video with your friends too 😁
it is very helpful thanks
thank you for the video!
This is so very helpful. Thanks a million
@SimpleSnippets
3 жыл бұрын
So glad!
Very good explanation for beginners compared to other videos
@SimpleSnippets
3 жыл бұрын
Thank you so much 🙂
Thank you, best out of other videos I found on youtube. You mentioned another video about page fault, however I cannot find it.
@SimpleSnippets
5 жыл бұрын
Hello, most welcome buddy for such a wonderful comment. Here's the link to the full playlist bro - Paging & Page Replacement Algorithms - Operating Systems: kzread.info/head/PLIY8eNdw5tW-BxRY0yK3fYTYVqytw8qhp
very very good explaination. woah. thank you so much!!!!!
@SimpleSnippets
4 жыл бұрын
You're very welcome!✌ I am glad you liked it 😇
Its so good !! Thanks alot
@SimpleSnippets
5 жыл бұрын
Thank you so much Brian! Happy to hear this. I would request you to please share the video with your friends too ✌️😊
@vergil9397
5 жыл бұрын
Does document/memory map in Linux is always a multiple of the page size, which is 4k on x86 ?? Am i right ?
Best explanation till date about paging 👏👍👍👌
@SimpleSnippets
4 жыл бұрын
Thank you very much Kiran. I am glad you liked this video. Please do support me by subscribing to our channel and sharing it with your friends 🙏✌
great lecture .... Thank you...
@SimpleSnippets
3 жыл бұрын
You're most welcome
great vdo man, thanks
@SimpleSnippets
10 ай бұрын
Glad you liked it!
super explanation
Superb explanation
@SimpleSnippets
2 жыл бұрын
Thanks buddy, I'm glad to hear this. Please do share the videos with your friends too. That's the biggest help and support you can give back to me 🙏😊
Very helpful... 🙏🏽🙏🏽🙏🏽🙏🏽
Nice work bro👍
@SimpleSnippets
5 жыл бұрын
Thank you so much Tejas ✌️🙏 Please share the video and spread the knowledge. That'll be the best support 🙏
Bravo....Legend
@SimpleSnippets
4 жыл бұрын
Thank you so much David. I am glad to see this response from you. Please do subscribe to this channel & share the videos with your friends too. That will be the biggest help and support for everyone 😇
Excellent
very helpful 😀
This is the best explanation of paging I have found. Thanks!
@SimpleSnippets
4 жыл бұрын
Hehe thats amazing to know Thomas 😇 Do share it with your friends too 😇
Very good video
amazing bro
@SimpleSnippets
3 жыл бұрын
Thanks bro, please do share the videos & our channel with your friends too. Thats the biggest help and support you can give back to this channel! 😇
Super bro👌👌🔥🔥
Salute for snippets❤
@SimpleSnippets
4 жыл бұрын
Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@onepathnetwork7767
4 жыл бұрын
@@SimpleSnippets sure 😊😘
Your Amazing
thank you from bangladesh brother
Fantastic, nicely explained with diagram. Clearly understood about paging. Thank you very much. Make Some more videos on Device driver and computer architecture.
Thank you so much!!!!!!!!
good job bro!!
@SimpleSnippets
4 жыл бұрын
Appreciate it! 😇
Everytime I see and intro like that, I just know it will be an idian tutorial
@SimpleSnippets
4 жыл бұрын
Is there a non-indian kind of intro? i'd love to make that kind too 😂
@Sokar599
4 жыл бұрын
@@SimpleSnippets I think it's a bit too long. And I'd make a very simple and calm intro. Like swiping in your logo with a little sound effect or something. I think longer intros make viewers not want to watch the video and this one feels very MLG gamer-ish haha, not trying to be mean, just helpful! :)
@SimpleSnippets
4 жыл бұрын
This was genuinely a good suggestion. And yes I have felt the same somewhere that long intros lose audience attention. I'll work on a simple shorter one 😊 thanks man ✌️