Paging in Operating Systems with Example & Working - Memory Management
Вставка
- Опубліковано 9 вер 2018
- 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
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!
Always the best in every topic that I may have searched for on UA-cam! Thank you for this great explanation.
This is the best explanation of Paging, I've found on UA-cam. Awesome work man.
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 ✌️
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.
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
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....
"500GB if you are in ancient time"
hahaha, i felt offended. I guess i have to change my hard drive ASAP 🤣🤣🤣
That's a great relief during the last minute study. Thank you!! :)
THANK YOU VERY MUCH FOR THIS!!!!!! you provided a flow which my professor didnt.
"500GB HDD is from the ancient times"
*me, a zoomer owning precisely such drive*: _surprised pikachu face_
THIS HAS SOLVED ALL MY WORRIES ON PAGING AS A STUDENT OF OS CONCEPT thanks ✌
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 ✌️
simply awesome, great work. Thank you.
Thank you so much for the video.... cleared out all my doubts
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
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!
So well explained, thanks mate!
This is way better than my univeristy's class.
Thanks Pete, glad you liked it. Please do share this video with your friends too 🙏
thanks bro..... literally amazing explained. 😍
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?
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 UA-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 😇
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's a lot bro, it was really helpful.
Bro god bless you my $100K professor could not teach this well
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 😊
TQ sir your explanation is excellent it's helps me in my exam
Great work brother! 🙌🙌
Tq you sooo much for uploading this video bro🙏🙏🙏
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 ✌️
Impressive teaching skills!
Thank you bro (from a student who is studying 1 hr before exam)
you are a lifesaver!
This was SO helpful - thank you so much for explaining this so succinctly!
Glad it was helpful! Thank you so much 🙂
Good, Precise, Clear
Thanks
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!
loved your creation
brooo!
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 🤟
You explain so very well
Thank you :)
Very fantastic video!
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 ✌
woh bro this helps me a lot bro , thanks man 💓
explaned very well, thanks
amazing video and explanation
Thanks! I cleared a few things i was murky about through your video
Excellent!
excellent vid! thank u !
nice , it gave me some understanding
Excellent presentation and explanation
awesome video bro
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 😇
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 😇
Excellent explanation!
thanks bruh all the best
thank you for the video!
Tq bro, you done a brilliant job . Infat u r not 100% u r 200% well sead than my faculty member
Very good video!!
Superb explanation 👍thanks man
Really super 👌 explanation
Very good explanation
You made my day 🤜🤛
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 😊✌️
Awesome explanations like this is what saves my ass through programming courses
Haha im glad to know my videos save your ass 😂😇
Thank for simple explanation
Excellent
Wow. Man you are a genius. I m impressed.
Thank you so much 😀
I have a 2015 Toshiba laptop with Windows 10 Home edition.
6 months ago I discovered that Windows was paging madly to the HDD(hard disk drive), even though it was using only 2.5gb of the factory 4gb of RAM.
I installed 4gb more RAM, which Windows and other programs readily recognized, bringing the total physical RAM to 8GB, usable 7.8.
For a couple of weeks, the system performance sped up, and it wasn't paging to HDD nearly as much.
But since then, it has fallen back into old habits, using between 2.5-3gb of the physical RAM, but mad ass paging!
I reduced the page file size to its bare minimum, but my IT friend said "be careful - if you reduce paging you could crash the whole laptop".
I have read that excessive paging is a common issue with Win10.
Any other suggestions please?
Otherwise the laptop is running fine.
Thank you sir great explanation with neat diagrams.👏
Glad you liked it
Very helpful... 🙏🏽🙏🏽🙏🏽🙏🏽
Super bro👌👌🔥🔥
This is so very helpful. Thanks a million
So glad!
Absolute beauty
Thank you so much buddy for this wonderful feedback😇✌️
Please do share this video with your friends and contacts too bro 😇✌️
super explanation
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 😇🙏
Your Amazing
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 ✌
Very good video
very helpful 😀
very very good explaination. woah. thank you so much!!!!!
You're very welcome!✌ I am glad you liked it 😇
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: ua-cam.com/play/PLIY8eNdw5tW-BxRY0yK3fYTYVqytw8qhp.html
Thank you bro for the explanation. ✌
Most welcome buddy. Please share the video with your friends too 😁
great vdo man, thanks
Glad you liked it!
Thanks!
Very good explanation for beginners compared to other videos
Thank you so much 🙂
Thank you so much!!!!!!!!
This is the best explanation of paging I have found. Thanks!
Hehe thats amazing to know Thomas 😇 Do share it with your friends too 😇
great lecture .... Thank you...
You're most welcome
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 🙏😊
Appreciate your work ✌🏼
Thank you so much buddy 😊 means alot to me 😊
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 🙏✌
Hi Tanmay Great lectures as always, Can u tell which book u are following?
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
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 😇
The page tables are actually stored in the RAM memory and not in the HDD no ?
impressed
Its so good !!
Thanks alot
Thank you so much Brian! Happy to hear this. I would request you to please share the video with your friends too ✌️😊
Does document/memory map in Linux is always a multiple of the page size, which is 4k on x86 ??
Am i right ?