Paging in Operating Systems with Example & Working - Memory Management
ฝัง
- เผยแพร่เมื่อ 25 ส.ค. 2024
- 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....
Simple Snippets on Facebook -
/ simplesnippets
Simple Snippets on Instagram -
/ simplesnippets
Simple Snippets on Twitter -
/ simplesnippet
Simple Snippets Google Plus Page -
plus.google.co...
Simple Snippets email ID -
simplesnippetsinfo@gmail.com
For More Technology News, Latest Updates and Blog articles visit our Official Website - simplesnippets....
#Paging #OperatingSystems #OS
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 ✌
How to create this kind of diagram ...
Very nice video and very nice explanation of every single step .
All doubts about paging clear 👍👍👍👍👍👍
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
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 ✌️
exam 1hour from now. watching in 1.25 speed
All the best ✌️
Same here but in 2 days
Watching 2x speed exam in 1 hour
@@realslik2029 Good luck man
Hey, how did the exams go, Ive got mine in 2 weeks time
"500GB if you are in ancient time"
hahaha, i felt offended. I guess i have to change my hard drive ASAP 🤣🤣🤣
This is the best explanation of Paging, I've found on TH-cam. Awesome work man.
Always the best in every topic that I may have searched for on TH-cam! Thank you for this great explanation.
My exam is in 5 minutes and I can’t find the button for playing this at 4 times speed 😮
"500GB HDD is from the ancient times"
*me, a zoomer owning precisely such drive*: _surprised pikachu face_
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....
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
Hello manthan Gandhi. I have small doubt related to PTBR. How can I contact you..
I need some suggestions from you
This is way better than my univeristy's class.
Thanks Pete, glad you liked it. Please do share this 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...
Glad it helped!
THANK YOU VERY MUCH FOR THIS!!!!!! you provided a flow which my professor didnt.
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.
Your explanation is very CLEAR and maybe the best explanation on youtube!!! Thank you very much!!
Thank you buddy ✌️ this really means a lot to me 😇 I would really request you to please share the video with your friends too ✌️
This was awesome!!! Reading about in text is a little dry and hard to fully understand, you explained this perfectly!! Will be watching more.
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
TQ sir your explanation is excellent it's helps me in my exam
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... ♥️♥️
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 ✌️
Tq you sooo much for uploading this video bro🙏🙏🙏
That's a great relief during the last minute study. Thank you!! :)
I actually think this is the best explanation of the paging concept I have seen so far! Good Job :)
Happy to hear that Thomas!
what an amazing vedio all concepts are cleared thans bro
pls make more content like this. most underrated channel.
I will try my best. Please help me by sharing our channel and videos with your friends too!
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 TH-cam only .they only make you to grow up
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 😇
thanks bro..... literally amazing explained. 😍
Bro god bless you my $100K professor could not teach this well
This was SO helpful - thank you so much for explaining this so succinctly!
Glad it was helpful! Thank you so much 🙂
you're awesome, sir. THANK YOU!
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 HAS SOLVED ALL MY WORRIES ON PAGING AS A STUDENT OF OS CONCEPT thanks ✌
you are a lifesaver!
Thank you bro (from a student who is studying 1 hr before exam)
Thanks! I cleared a few things i was murky about through your video
Excellent!
Very well explained. Keep up the good work!
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 ✌
Its help me a lot bro thank you so much for this video ❤❤I have quickly understood all the concept about paging
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 😊
Awesome explanations like this is what saves my ass through programming courses
Haha im glad to know my videos save your ass 😂😇
Great work brother! 🙌🙌
Thank you, best out of other videos I found on youtube. You mentioned another video about page fault, however I cannot find it.
Hello, most welcome buddy for such a wonderful comment. Here's the link to the full playlist bro - Paging & Page Replacement Algorithms - Operating Systems: th-cam.com/play/PLIY8eNdw5tW-BxRY0yK3fYTYVqytw8qhp.html
Wow. Man you are a genius. I m impressed.
Thank you so much 😀
Thank you..
You have good knowledge with excellent communication skill.
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 😇
Gemini 1.5 Pro: Paging is a memory management scheme used in computer operating systems. It divides the physical memory (RAM) and secondary storage (hard disk) into fixed-size blocks called frames and pages respectively. When a program is too large to fit in RAM entirely, paging allows the program to be divided into pages and stored in both RAM and secondary storage. The memory management unit (MMU) tracks the location of each page and translates logical addresses (addresses used by the CPU) into physical addresses (addresses of RAM). This technique creates the illusion of a larger contiguous memory space for the program.
Here are the key points of paging covered in the video:
* Paging is a memory management scheme that divides physical memory and secondary storage into fixed-size blocks called frames and pages respectively.
* Programs are divided into pages and can be stored in both RAM and secondary storage.
* The MMU tracks the location of each page and translates logical addresses into physical addresses.
* Paging creates the illusion of a larger contiguous memory space for the program.
The video also mentions page faults, which occur when a program tries to access a page that is not currently in RAM. The MMU will need to retrieve the page from secondary storage before the program can continue. Page faults will be covered in a future video.
thank you man, 1000 times better than our doctor
Great Content.
You've explained it in pretty simple language. 😊
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 😇
Very good explanation for beginners compared to other videos
Thank you so much 🙂
Superb explanation
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 🙏😊
Good, Precise, Clear
Thanks
Your lectures are just wow! One request from my side can you please add some concepts of multilevel paging.
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 😇🙏
explaned very well, thanks
Tq bro, you done a brilliant job . Infat u r not 100% u r 200% well sead than my faculty member
Best explanation till date about paging 👏👍👍👌
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 🙏✌
Very good explanation
amazing video and explanation
awesome video bro
woh bro this helps me a lot bro , thanks man 💓
loved your creation
brooo!
Thank's a lot bro, it was really helpful.
Absolute beauty
Thank you so much buddy for this wonderful feedback😇✌️
Please do share this video with your friends and contacts too bro 😇✌️
nice , it gave me some understanding
Thank you sir great explanation with neat diagrams.👏
Glad you liked it
This is the best explanation of paging I have found. Thanks!
Hehe thats amazing to know Thomas 😇 Do share it with your friends too 😇
Everytime I see and intro like that, I just know it will be an idian tutorial
Is there a non-indian kind of intro? i'd love to make that kind too 😂
@@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! :)
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 ✌️
simply awesome, great work. Thank you.
thank you from bangladesh brother
Loved this lesson, just came from a long lecture video of just showing slides from the book and I think that type of teaching is rather poor. This however is far better, thanks!
great vdo man, thanks
Glad you liked it!
Impressive teaching skills!
very very good explaination. woah. thank you so much!!!!!
You're very welcome!✌ I am glad you liked it 😇
Excellent presentation and explanation
So well explained, thanks mate!
You explain so very well
Thank you :)
it is very helpful thanks
Thankx a lot man.... very impressive teaching style
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 😊✌️
great lecture .... Thank you...
You're most welcome
Salute for snippets❤
Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@@SimpleSnippets sure 😊😘
thank you for the video!
Thank for simple explanation
excellent vid! thank u !
amazing bro
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
Very helpful... 🙏🏽🙏🏽🙏🏽🙏🏽
You made my day 🤜🤛
7:39 You have made a small error. Frames are the 2kb portion kept in the VRAM. Pages are the 2kb portion in the actual RAM. Then the page table uses the logical address (of the page) and converts it to the physical address (of it's corresponding frame).
Bravo....Legend
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 😇
This is so very helpful. Thanks a million
So glad!
thanks bruh all the best
Thanks great tutorial
Glad it was helpful!
super explanation
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?
Excellent explanation!
Excellent
Very good video
*Without Indian TH-camrs there wouldn't be any engineers in the world.*
❤️😊
Very fantastic video!
Superb explanation 👍thanks man
My professor is an incompetent idiot + way too demanding. Thank god I found your video
thnks for using english to communicate ua audience is global
Yes that will always be there ✌
Thank you bro for the explanation. ✌
Most welcome buddy. Please share the video with your friends too 😁
Very good video!!
Amazing work man!
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 ✌
Fantastic, nicely explained with diagram. Clearly understood about paging. Thank you very much. Make Some more videos on Device driver and computer architecture.