Paging in Operating Systems with Example & Working - Memory Management
HTML-код
- Опубликовано: 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!
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 ✌️
Always the best in every topic that I may have searched for on RUclips! Thank you for this great explanation.
This is the best explanation of Paging, I've found on RUclips. Awesome work man.
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
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....
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.
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 HAS SOLVED ALL MY WORRIES ON PAGING AS A STUDENT OF OS CONCEPT thanks ✌
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 RUclips 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 😇
"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
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 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!
simply awesome, great work. Thank you.
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 ✌️
So well explained, thanks mate!
Thank you so much for the video.... cleared out all my doubts
"500GB if you are in ancient time"
hahaha, i felt offended. I guess i have to change my hard drive ASAP 🤣🤣🤣
TQ sir your explanation is excellent it's helps me in my exam
I actually think this is the best explanation of the paging concept I have seen so far! Good Job :)
Happy to hear that Thomas!
This was SO helpful - thank you so much for explaining this so succinctly!
Glad it was helpful! Thank you so much 🙂
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 ✌️
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 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!
Thank's a lot bro, it was really helpful.
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 🤟
Thanks! I cleared a few things i was murky about through your video
Excellent!
thanks bro..... literally amazing explained. 😍
Tq you sooo much for uploading this video bro🙏🙏🙏
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 😇
You explain so very well
Thank you :)
Good, Precise, Clear
Thanks
Bro god bless you my $100K professor could not teach this well
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 ✌
you are a lifesaver!
woh bro this helps me a lot bro , thanks man 💓
Impressive teaching skills!
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 😇
Awesome explanations like this is what saves my ass through programming courses
Haha im glad to know my videos save your ass 😂😇
Tq bro, you done a brilliant job . Infat u r not 100% u r 200% well sead than my faculty member
explaned very well, 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 work brother! 🙌🙌
Thank you bro (from a student who is studying 1 hr before exam)
Wow. Man you are a genius. I m impressed.
Thank you so much 😀
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 😇🙏
loved your creation
brooo!
thank you man, 1000 times better than our doctor
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.
excellent vid! thank u !
thank you for the video!
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: ruclips.net/p/PLIY8eNdw5tW-BxRY0yK3fYTYVqytw8qhp
Thank you sir great explanation with neat diagrams.👏
Glad you liked it
Excellent explanation!
Excellent presentation and explanation
This is so very helpful. Thanks a million
So glad!
Thank for simple explanation
nice , it gave me some understanding
thanks bruh all the best
You made my day 🤜🤛
Very fantastic video!
amazing video and explanation
Superb explanation 👍thanks man
it is very helpful thanks
Absolute beauty
Thank you so much buddy for this wonderful feedback😇✌️
Please do share this video with your friends and contacts too bro 😇✌️
Very good explanation
Thank you bro for the explanation. ✌
Most welcome buddy. Please share the video with your friends too 😁
Very good explanation for beginners compared to other videos
Thank you so much 🙂
Very good video!!
This is the best explanation of paging I have found. Thanks!
Hehe thats amazing to know Thomas 😇 Do share it with your friends too 😇
awesome video bro
Thank you so much!!!!!!!!
Really super 👌 explanation
very very good explaination. woah. thank you so much!!!!!
You're very welcome!✌ I am glad you liked it 😇
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 ✌
Appreciate your work ✌🏼
Thank you so much buddy 😊 means alot to me 😊
Very helpful... 🙏🏽🙏🏽🙏🏽🙏🏽
The page tables are actually stored in the RAM memory and not in the HDD no ?
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 🙏✌
Thanks!
Hi Tanmay Great lectures as always, Can u tell which book u are following?
Excellent
super explanation
I have a doubt though...
Where is the page table mapping for every process stored?
Like when we need to access process x..p5
How does the CPU know where the page table of X is stored in the main memory?
Super bro👌👌🔥🔥
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 ?
Your Amazing
great lecture .... Thank you...
You're most welcome
Fantastic, nicely explained with diagram. Clearly understood about paging. Thank you very much. Make Some more videos on Device driver and computer architecture.
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 😇
Is there full explanation on os for sybca students??
very helpful 😀
Can anyone please help me with Page Table, some videos say it's in Physical Memory(Ram), some say it's in Secondary Memory(Hard disk), just where the heck is it stored??? If it's in RAM, then what's the point of even creating page table, it just decreases the size of the single page, the total memory used by process is still the same
isn't the concept which you describe actually a description of swap memory?
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 ✌️