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

КОМЕНТАРІ • 249

  • @SimpleSnippets
    @SimpleSnippets  5 років тому +62

    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
      @banglainformer9584 4 роки тому

      How to create this kind of diagram ...

    • @aniketsharma1597
      @aniketsharma1597 Рік тому

      Very nice video and very nice explanation of every single step .
      All doubts about paging clear 👍👍👍👍👍👍

    • @beatit2537
      @beatit2537 7 місяців тому

      Please create more videos about Operating Systems' topics.

  • @hgjghjkhify
    @hgjghjkhify 2 роки тому +20

    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!

  • @albertdavidbangura7271
    @albertdavidbangura7271 2 роки тому +4

    Always the best in every topic that I may have searched for on UA-cam! Thank you for this great explanation.

  • @rijubakkarmakar8616
    @rijubakkarmakar8616 8 місяців тому +2

    This is the best explanation of Paging, I've found on UA-cam. Awesome work man.

  • @traderit1
    @traderit1 5 років тому +48

    brother u actually done the work ,BEST ONE ON INTERNET ......BEST ONE I AGAIN SAY

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +3

      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 ✌️

  • @Amina-jb6mh
    @Amina-jb6mh 3 роки тому +3

    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.

  • @manthangandhi1692
    @manthangandhi1692 4 роки тому +60

    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

  • @bhaktipriyanayak3718
    @bhaktipriyanayak3718 3 роки тому +3

    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....

  • @tafadzwamabika5514
    @tafadzwamabika5514 3 роки тому +5

    "500GB if you are in ancient time"
    hahaha, i felt offended. I guess i have to change my hard drive ASAP 🤣🤣🤣

  • @nekhasenthil2316
    @nekhasenthil2316 2 роки тому +1

    That's a great relief during the last minute study. Thank you!! :)

  • @wolfcompany2
    @wolfcompany2 3 роки тому +3

    THANK YOU VERY MUCH FOR THIS!!!!!! you provided a flow which my professor didnt.

  • @michalsejak
    @michalsejak 4 роки тому +79

    "500GB HDD is from the ancient times"
    *me, a zoomer owning precisely such drive*: _surprised pikachu face_

  • @nayebarepeter6941
    @nayebarepeter6941 Рік тому

    THIS HAS SOLVED ALL MY WORRIES ON PAGING AS A STUDENT OF OS CONCEPT thanks ✌

  • @yangliu3754
    @yangliu3754 4 роки тому +2

    Your explanation is very CLEAR and maybe the best explanation on youtube!!! Thank you very much!!

    • @SimpleSnippets
      @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 ✌️

  • @renga14185
    @renga14185 3 роки тому

    simply awesome, great work. Thank you.

  • @amayaamarasinghe5838
    @amayaamarasinghe5838 Рік тому +1

    Thank you so much for the video.... cleared out all my doubts

  • @kurrynDev
    @kurrynDev 5 років тому +242

    exam 1hour from now. watching in 1.25 speed

  • @user-zz7qw6rb7m
    @user-zz7qw6rb7m 8 місяців тому +1

    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...

  • @OutMagic
    @OutMagic 2 роки тому

    So well explained, thanks mate!

  • @Kujou12
    @Kujou12 4 роки тому +4

    This is way better than my univeristy's class.

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Thanks Pete, glad you liked it. Please do share this video with your friends too 🙏

  • @user-vg5fk5zs6i
    @user-vg5fk5zs6i Рік тому +1

    thanks bro..... literally amazing explained. 😍

  • @amlamarra
    @amlamarra 4 роки тому +4

    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?

  • @malleshaholeyache4464
    @malleshaholeyache4464 3 роки тому +3

    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

    • @SimpleSnippets
      @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 😇

  • @kapsiakchris
    @kapsiakchris 5 років тому +22

    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
      @SimpleSnippets  5 років тому +2

      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 ✌️

  • @vishnugajulapalli5305
    @vishnugajulapalli5305 4 роки тому +1

    Thank's a lot bro, it was really helpful.

  • @agastyaasthana3318
    @agastyaasthana3318 Рік тому +1

    Bro god bless you my $100K professor could not teach this well

  • @khanumer5763
    @khanumer5763 5 років тому +4

    Its help me a lot bro thank you so much for this video ❤❤I have quickly understood all the concept about paging

    • @SimpleSnippets
      @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 😊

  • @RevathiRevathi-cs2bq
    @RevathiRevathi-cs2bq Рік тому +1

    TQ sir your explanation is excellent it's helps me in my exam

  • @nvfpv
    @nvfpv Рік тому +1

    Great work brother! 🙌🙌

  • @pdivyapdivya7455
    @pdivyapdivya7455 2 роки тому +2

    Tq you sooo much for uploading this video bro🙏🙏🙏

  • @nightfury8119
    @nightfury8119 4 роки тому +5

    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
      @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 ✌️

  • @Psykorr
    @Psykorr 3 роки тому +1

    Impressive teaching skills!

  • @chinmairhallikar
    @chinmairhallikar 4 місяці тому +2

    Thank you bro (from a student who is studying 1 hr before exam)

  • @UnseenOct
    @UnseenOct Рік тому +1

    you are a lifesaver!

  • @kimberlycaritas
    @kimberlycaritas 3 роки тому +9

    This was SO helpful - thank you so much for explaining this so succinctly!

    • @SimpleSnippets
      @SimpleSnippets  3 роки тому

      Glad it was helpful! Thank you so much 🙂

  • @rahulmeena1402
    @rahulmeena1402 3 роки тому

    Good, Precise, Clear
    Thanks

  • @thomascarlsen8097
    @thomascarlsen8097 4 роки тому +6

    I actually think this is the best explanation of the paging concept I have seen so far! Good Job :)

  • @satyarthranjan7025
    @satyarthranjan7025 10 місяців тому +1

    what an amazing vedio all concepts are cleared thans bro
    pls make more content like this. most underrated channel.

    • @SimpleSnippets
      @SimpleSnippets  10 місяців тому +1

      I will try my best. Please help me by sharing our channel and videos with your friends too!

  • @heera551
    @heera551 5 місяців тому +1

    loved your creation
    brooo!

  • @alyagomaa5101
    @alyagomaa5101 5 років тому +3

    you're awesome, sir. THANK YOU!

    • @SimpleSnippets
      @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 🤟

  • @yashashreemahale3456
    @yashashreemahale3456 2 роки тому

    You explain so very well
    Thank you :)

  • @codepoachers6870
    @codepoachers6870 2 роки тому

    Very fantastic video!

  • @mikekk5192
    @mikekk5192 4 роки тому +3

    Very well explained. Keep up the good work!

    • @SimpleSnippets
      @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 ✌

  • @chenul_L
    @chenul_L Рік тому

    woh bro this helps me a lot bro , thanks man 💓

  • @chit3560
    @chit3560 Рік тому

    explaned very well, thanks

  • @abcdabcd8605
    @abcdabcd8605 Рік тому +1

    amazing video and explanation

  • @annapoorania8860
    @annapoorania8860 4 роки тому +1

    Thanks! I cleared a few things i was murky about through your video

  • @Hellowhatup98
    @Hellowhatup98 3 роки тому

    excellent vid! thank u !

  • @user-ng8rl3jb1i
    @user-ng8rl3jb1i 2 роки тому

    nice , it gave me some understanding

  • @dr.t.mirandalakshmi6604
    @dr.t.mirandalakshmi6604 2 роки тому

    Excellent presentation and explanation

  • @deepakreddy6617
    @deepakreddy6617 Рік тому +1

    awesome video bro

  • @amrhaithem7064
    @amrhaithem7064 2 роки тому

    thank you man, 1000 times better than our doctor

  • @kshitijpatil6488
    @kshitijpatil6488 4 роки тому +2

    Great Content.
    You've explained it in pretty simple language. 😊

    • @SimpleSnippets
      @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 😇

  • @pruthvirajpatil1644
    @pruthvirajpatil1644 3 роки тому +1

    Thank you..
    You have good knowledge with excellent communication skill.

    • @SimpleSnippets
      @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 😇

  • @harikpriyatirumalaraju674
    @harikpriyatirumalaraju674 3 роки тому

    Excellent explanation!

  • @sathwik7632
    @sathwik7632 2 роки тому

    thanks bruh all the best

  • @mums2109
    @mums2109 Рік тому

    thank you for the video!

  • @chakriundapalli751
    @chakriundapalli751 5 років тому +1

    Tq bro, you done a brilliant job . Infat u r not 100% u r 200% well sead than my faculty member

  • @sandro-nd6ir
    @sandro-nd6ir 2 роки тому

    Very good video!!

  • @lostsoulcar7130
    @lostsoulcar7130 2 роки тому

    Superb explanation 👍thanks man

  • @sripoojitha4887
    @sripoojitha4887 3 роки тому

    Really super 👌 explanation

  • @danym-98
    @danym-98 3 місяці тому

    Very good explanation

  • @ranjanbs7449
    @ranjanbs7449 2 роки тому

    You made my day 🤜🤛

  • @eyobed1795
    @eyobed1795 2 роки тому

    it is very helpful thanks

  • @DRAGONBALLX1998
    @DRAGONBALLX1998 5 років тому +1

    Thankx a lot man.... very impressive teaching style

    • @SimpleSnippets
      @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 😊✌️

  • @UkammakU
    @UkammakU 4 роки тому +2

    Awesome explanations like this is what saves my ass through programming courses

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Haha im glad to know my videos save your ass 😂😇

  • @hishamkhhassan9635
    @hishamkhhassan9635 2 роки тому

    Thank for simple explanation

  • @spacesimulation5
    @spacesimulation5 2 роки тому

    Excellent

  • @CuriousKiruTV
    @CuriousKiruTV 3 роки тому +1

    Wow. Man you are a genius. I m impressed.

  • @Zickcermacity
    @Zickcermacity 2 роки тому

    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.

  • @primeoptumas8435
    @primeoptumas8435 3 роки тому +1

    Thank you sir great explanation with neat diagrams.👏

  • @priyankabehera8288
    @priyankabehera8288 2 роки тому

    Very helpful... 🙏🏽🙏🏽🙏🏽🙏🏽

  • @revanth6476
    @revanth6476 3 роки тому

    Super bro👌👌🔥🔥

  • @shirish-meshram
    @shirish-meshram 3 роки тому

    This is so very helpful. Thanks a million

  • @shehzadabbasi1861
    @shehzadabbasi1861 5 років тому +2

    Absolute beauty

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Thank you so much buddy for this wonderful feedback😇✌️
      Please do share this video with your friends and contacts too bro 😇✌️

  • @sumanth8761
    @sumanth8761 2 роки тому

    super explanation

  • @Sauravgpt34
    @Sauravgpt34 4 роки тому +3

    Your lectures are just wow! One request from my side can you please add some concepts of multilevel paging.

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому +2

      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 😇🙏

  • @anthonyvenable3048
    @anthonyvenable3048 2 роки тому

    Your Amazing

  • @sweatshakti
    @sweatshakti 4 роки тому +1

    Amazing work man!

    • @SimpleSnippets
      @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 ✌

  • @KnowhowtoCI
    @KnowhowtoCI Рік тому

    Very good video

  • @sreelekshmi4929
    @sreelekshmi4929 2 роки тому

    very helpful 😀

  • @ivar6413
    @ivar6413 4 роки тому +1

    very very good explaination. woah. thank you so much!!!!!

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      You're very welcome!✌ I am glad you liked it 😇

  • @rockmanvnx6
    @rockmanvnx6 5 років тому +4

    Thank you, best out of other videos I found on youtube. You mentioned another video about page fault, however I cannot find it.

    • @SimpleSnippets
      @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: ua-cam.com/play/PLIY8eNdw5tW-BxRY0yK3fYTYVqytw8qhp.html

  • @Theilahi
    @Theilahi 4 роки тому +1

    Thank you bro for the explanation. ✌

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Most welcome buddy. Please share the video with your friends too 😁

  • @kartik8713
    @kartik8713 11 місяців тому +1

    great vdo man, thanks

  • @tiyas1915
    @tiyas1915 8 місяців тому

    Thanks!

  • @alexandterfst6532
    @alexandterfst6532 3 роки тому +1

    Very good explanation for beginners compared to other videos

  • @priyahuddar9628
    @priyahuddar9628 3 роки тому

    Thank you so much!!!!!!!!

  • @WADS-rr9wy
    @WADS-rr9wy 4 роки тому +2

    This is the best explanation of paging I have found. Thanks!

    • @SimpleSnippets
      @SimpleSnippets  4 роки тому

      Hehe thats amazing to know Thomas 😇 Do share it with your friends too 😇

  • @mohammedk.h.f3016
    @mohammedk.h.f3016 3 роки тому +1

    great lecture .... Thank you...

  • @anusha9930
    @anusha9930 2 роки тому +1

    Superb explanation

    • @SimpleSnippets
      @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 🙏😊

  • @laharishlakku
    @laharishlakku 5 років тому +1

    Appreciate your work ✌🏼

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      Thank you so much buddy 😊 means alot to me 😊

  • @KiranKumar-mt3of
    @KiranKumar-mt3of 4 роки тому +1

    Best explanation till date about paging 👏👍👍👌

    • @SimpleSnippets
      @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 🙏✌

  • @muhammadzakiahmad8069
    @muhammadzakiahmad8069 2 роки тому

    Hi Tanmay Great lectures as always, Can u tell which book u are following?

  • @ayushsinghrathore7186
    @ayushsinghrathore7186 3 роки тому +1

    amazing bro

    • @SimpleSnippets
      @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! 😇

  • @keerthanam6728
    @keerthanam6728 Рік тому +1

    Super

  • @davidcossa7970
    @davidcossa7970 4 роки тому +2

    Bravo....Legend

    • @SimpleSnippets
      @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 😇

  • @williamgirgis865
    @williamgirgis865 3 роки тому

    The page tables are actually stored in the RAM memory and not in the HDD no ?

  • @msd5495
    @msd5495 3 роки тому

    impressed

  • @vergil9397
    @vergil9397 5 років тому +1

    Its so good !!
    Thanks alot

    • @SimpleSnippets
      @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
      @vergil9397 5 років тому

      Does document/memory map in Linux is always a multiple of the page size, which is 4k on x86 ??
      Am i right ?