L-5.19: Virtual Memory | Page fault | Significance of virtual memory | Operating System

Поділитися
Вставка
  • Опубліковано 10 кві 2018
  • 👉Subscribe to our new channel: / @varunainashots
    Virtual Memory is a storage mechanism which offers user an illusion of having a very big main memory. It is done by treating a part of secondary memory as the main memory. In Virtual memory, the user can store processes with a bigger size than the available main memory.
    ►Operating System (Complete Playlist):
    • Operating System (Comp...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ►Design and Analysis of algorithms (DAA):
    • Design and Analysis of...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Software Engineering:
    • Software Engineering
    ►Data Structure:
    • Data Structure
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on UA-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmashersofficial
    ► Follow us on Threads: www.threads.net/@gate.smashers
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com
    #VirtualMemory#OperatingSystem#CSE

КОМЕНТАРІ • 672

  • @psrikant6828
    @psrikant6828 5 років тому +587

    U made Operating systems concept easy to us.. Thank you so much sir.. 🙏🙏🙏🙏🙏 Feeling sad for no option to click more than one like..☹️

  • @Sonu-te6mu
    @Sonu-te6mu 4 роки тому +8

    *Wow!* *इसे कहते है पढ़ाना* ....👌👌👌
    दुःख इस बात की हो रही है पहले मुझे ऐसे कोई समझाने वाला क्यों नहीं मिला.... पर कोई बात नही, अब लग रहा है मेरे *अच्छे दिन* आ गए..
    *thanks a lot* ....✍️

  • @sambedansahooridul1237
    @sambedansahooridul1237 Рік тому +247

    My exam is tomorrow and I am learning this now😂
    Edit:-The Comment section is more relatable Hence We are The real Engineer 🤗😅
    Edit:-Thank you guy's for 200 like !!!!❤️

    • @Gautami2603
      @Gautami2603 6 місяців тому +21

      My exam is at 9.45 I'm learning this at 8.30

    • @gamingwithaliking3025
      @gamingwithaliking3025 6 місяців тому +6

      Same here 😂😂😂😂 butt thanks to @gatesmasher for so much understanding video

    • @janmejayshah9475
      @janmejayshah9475 6 місяців тому +4

      My exam is today and now I am studying 😂

    • @sambedansahooridul1237
      @sambedansahooridul1237 6 місяців тому +2

      @@janmejayshah9475 all the best Buddy ❤️😇🥳

    • @ankitaparida5145
      @ankitaparida5145 6 місяців тому +1

      Same bro😅😅

  • @siddharthkaushik286
    @siddharthkaushik286 Рік тому +8

    Bhaiya aap jo bhi padhate ho aache se samajh aa jaata hai. You have some supernatural power.

  • @kewtomrao
    @kewtomrao 3 роки тому +77

    A process is divided into multiple pages and placed in frames of the main memory. but if the number of pages is greater than the number of frames then all the pages cannot be fit into the frames available. Hence some pages of the process wouldn't be in a frame but would be in hard disk. Hence when cpu requests for such a page,the page table entry holding the frame number for that page would be empty since it's not yet loaded to a frame in the main memory and is still in the hard disk.It would also have its valid bit set to 0 => invalid page because its in hard disk and not main memory.This causes page fault.
    This page fault generates a trap and hence the mode bit changes from user to kernel or OS mode.Then the OS fetches this page from the hard disk and places it in a frame using Replacement algorithm if no free frame available in the main memory.Then it updates the page table entry and valid bit.It sets the frame number where the page was placed and the valid bit is set to 1.

  • @omnamshiwaaya
    @omnamshiwaaya 4 роки тому +68

    Thank you so much sir cleared my all confusion in virtual memory

  • @vinodkrparida3720
    @vinodkrparida3720 6 років тому +86

    I searched for the same topic 1 month ago but can't find good explanation for my pre University exam and tommorw is my semester and u r a life saver
    Thanks a lot sir

    • @GateSmashers
      @GateSmashers  6 років тому +15

      Prime Art of Life Thank you for love and support..

    • @indra-zd9zu
      @indra-zd9zu 8 місяців тому

      Hii

  • @pratham1325
    @pratham1325 2 місяці тому +3

    00:03 Virtual memory provides illusion of executing larger processes than main memory size
    02:32 Virtual memory allows bringing only required processes/pages into main memory.
    05:24 Virtual memory allows bringing processes into limited main memory without restriction on process size or number.
    07:29 Virtual memory uses page tables to map logical addresses to physical addresses.
    10:09 Interrupts cause context switching from user to the OS
    12:53 Virtual memory management process overview
    15:37 Virtual memory reduces page faults by allowing quicker access to the main memory.
    18:07 Virtual memory reduces main memory access time

  • @soniyajinu6578
    @soniyajinu6578 4 роки тому +11

    Love the way u teach sir...clear and simple way of teaching...❤

  • @thelonewolf9236
    @thelonewolf9236 5 років тому +14

    Top class lecture. Beautifully explained with apt illustrations. Thanks! :D

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

    You’ve made a positive difference in my life.. Thank you so much sir... Well Explained!!

  • @brishtisowmondal6562
    @brishtisowmondal6562 3 роки тому +8

    The way you explain is just awsome Sir..thank you for making my semester easier...and also GATE exam

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

    i have seen almost all your videos ,that were very -very heplful for me to learn the concepts in depth of operating system specially like (virtual memory,paging,segmentations).sir , i have also seen that your concepts is so good .you explain the concepts in so depth,that help me in solving good questions.
    thank you ,sir
    keep it up sir.
    god bless you.
    om sai ram.

  • @enabhaycs92
    @enabhaycs92 4 роки тому +29

    loved it , very clarifying. The way you use mix of hindi and english to explain the examples is very nice. Specially helps Indian students understand core concept properly and its a great crash course on the topic for a guy like me who is trying to revise some topics.
    thanks a lot. Please continue the great work, wish you a lot of success ahead.
    +1 subscriber. :)

  • @geetasoren3555
    @geetasoren3555 Рік тому +6

    I'm so obsessed with ur videos🥰...
    Always it comes to mind that why ur teaching is far better than university lecture..... Always makes videos for us & we r here to support you always❤❤

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

    Thank you Sir for your amazing Lectures. Full concept clarity!

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

    Your explanation is just awesome..
    I have watched all video of.. CPU scheduling. Disk mgmt algorithm, vm. Your way of explaining things by giving example is nice. Thank you. Please make videos on probability in mathematics too.

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

    It's 2:30 in the morning and I am watching this playlist. Lots of love and blessings to you for this!

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

    One of the best explanation of virtual memory....u jst make us to think all the processes in real 👌

  • @hemanthreddy2485
    @hemanthreddy2485 2 роки тому +10

    Sir the way you explain and making it free for students giving us so much of information really thank u so much no words.
    Not just this i am watching, dbms,os which are very helpful.

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

    Very good explanation like always, I don't know why people disliked these tutorials

  • @sandeepmehta7794
    @sandeepmehta7794 6 років тому +2

    You have really worked hard . Appreciating !

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

    as always, clarifying explanation, thank you.

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

    Thank you for the great content sir. Very easy to understand and a life saver in Exams. More power to you.

  • @rianadam1599
    @rianadam1599 3 роки тому +15

    I've watched your videos, and they're great! I learned a lot about computer architecture from your videos. But unfortunately this video doesn't have a caption so it's difficult for me to follow (I'm from Indonesia), please add if possible, thank you!

  • @Baby.Yoda.knows.tech.
    @Baby.Yoda.knows.tech. 3 роки тому +2

    This is the best topic i have ever encountered in Computer Architecture..
    And Thankyou Sir for making this video...
    Kaas aesa koi video mujhe bahot pahele mil chuka hota..

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

    Sir, you clear all the doubts in virtual memory

  • @jyotiverma-iq4br
    @jyotiverma-iq4br 3 роки тому +20

    Why to read whole Galvin when we have gate smasher's videos of O.S ❤️

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

    Thank You so much sir ... u cover all the topics and the way you explain every topic is in depth and easily also ..Great job sir 🙏🙏

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

    I don't understand why some people dislikes such a amazing video.

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

    Best explanation sir... thanks a lot🙏

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

    Thank you Varun sir ..... your lectures are always awesome....with imp points

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

    Amazing video sir.your r the life saver of students life. Thanks sir. Keep going like this sir.

  • @VishalYadav-gk1kg
    @VishalYadav-gk1kg 8 місяців тому +2

    Very nice explanation sir, Thank you !

  • @DEADPOOL-ie5ds
    @DEADPOOL-ie5ds 4 роки тому

    Thanks sir 👍👍👍
    Your teaching style is really good
    And now my all concepts of virtual memory is clear

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

    Sir really it is very good explanation .... Bhut acche se samjh gyi. Thanku so much

  • @gaurangkhodifad182
    @gaurangkhodifad182 6 років тому

    It was nice to learn and your way of explanation is great. Thanks for this video.....!

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

    Very very nyc explanation. Your tutorials very helpful for us. Thanks Sir

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

    Elegantly explained. Awesome video . 🤘

  • @LongNguyen-cn7dp
    @LongNguyen-cn7dp Рік тому

    You deserve a spot in any top universities in Australia. Students here are desperate with abysmal lectures.

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

    Even though I am in in IT field ,these tutorials help me very much for troubleshooting .Thanks Sir .Your way of teaching is very good ..:)

  • @anshjoshi7362
    @anshjoshi7362 3 роки тому +2

    I have my exam tomorrow and here I am watching your videos, instead of studying notes. Because no faculty can teach better than you sir........

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

    What a good explanation.....bnda chahkr v bhul ni skta ...Thank u so much Sir

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

    Sir, you taught me more in a single night than my entire semester in college. Shall be forever grateful. Thank you

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

    Amazing yr thats video about virtual memory very helpful for me thanks sir👌👍

  • @user-jt8hl2ek6p
    @user-jt8hl2ek6p 2 місяці тому +1

    Best Teacher ever❤

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

    You explain the things very well, thanks a lot.
    A small suggestion whilst explaining you tend to repeat the same thing multiple times, on youtube one can easily rewind so you should stop doing it and also cause of it the video size increases.

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

    just can say thank you. you are the best.

  • @Simran123Simran
    @Simran123Simran 5 років тому +7

    May God give u so much success ...life saver u are...before exam

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

    your way of teaching is very impressive and very easier to understand it...❤❤

  • @theEduker
    @theEduker 6 років тому

    Just one day left for my exam and i watched your video and understood very well..damn effective

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

    Thank you. It was really easy to understand. Love from bangladesh. Go ahead.

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

    Before I Am Going Watch This Video Again I Want To Show Some Towards My Best Teacher
    I Am Really Very Thank Full For You It Was Really Comprehensive Lecture Keep It Up

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

    You are clearing the concept thank you sir

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

    your video really helps me a lot sir ..
    just like a instant solution of any subject

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

    u r solution to all problems....ie hard topic that m about to quit...thanks buddy...from Nepal

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

    you made it easiest..god bless you.

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

    Very Good and easily understandable way of teaching

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

    It is very helpful for preparation of my seminar about virtual memory❤❤

  • @Vismitha-mj2un
    @Vismitha-mj2un 4 роки тому +3

    Thank you sir....... Thanksssssssssss a lotttttttt..... 😍😍😍.... Am so confident about my seminar.... Thank you

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

    Nice explanation.. thanks for you videos ..

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

    really love the way u explained ... hats off to u man

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

    i spend 2 days on virtual memory.....but i didnt't get anything.....but when i spend 20 minutes on your video...i get the whole thing about virtual memory...:)

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

    Thankyou sir for amazing explaination.. and concept clearing.. You clear my all concept

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

    Really helpful explanation! Thankyou.

  • @shrikantdwivedi4645
    @shrikantdwivedi4645 5 років тому +19

    thanks sir .....u save my ppt marks..... thankeww so much ab me class me presentation me aag lga dunga

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

    U are lifesaver sir , hatsoff!!

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

    U are an excellent teacher..good job sir👍👍

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

    Thankyou sir, this was beautiful explanation!! ❤

  • @RM-pl4nk
    @RM-pl4nk 2 роки тому

    Thank you so much sir for making OS intresting, easy and simple ❤️

  • @sumanYadav-qk1vd
    @sumanYadav-qk1vd 5 років тому +1

    Good ,easy understand
    Very helpful

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

    You are a great teacher,indeed

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

    Only one word i would like to say that you are AMAZINGGGGGGGGGGGGGGGGGGGGGGGGGG. Thank you as much as possible but still thanks a loooooooooooooooot sir

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

    Very good lecture all my doubts are clear now

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

    it clears my concept of virtual memory:)

  • @vishal..bhardwaj
    @vishal..bhardwaj Рік тому +1

    Thank You Brother for this video ❤️👌

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

    OSSWMMM U R GET
    BEST EXPLANATION FOR EVERY TOPICS OF OS

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

    Thank you sir you are super.
    For explain in detail

  • @mehreenahmed3196
    @mehreenahmed3196 4 роки тому +8

    you are actually a gem of teachers

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

    Thanks Sir for cleaning my all confusions 😊

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

    Bhai, thanks a lot, because of you i am able to learn tough concepts in simple way.

  • @imrans.m6788
    @imrans.m6788 4 роки тому +1

    thank you so much for your help!! make more videos like this!!

  • @laughingbuddha7965
    @laughingbuddha7965 6 років тому +1

    Thank u sir!
    video was very helpful!!!

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

    Thanks man ...gate smashers the life saviour

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

    Sir apke padhane ka style bht acha h..

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

    Amazingly explained each concept

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

    Wow u explained everything so well..👍

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

    Thanku so much sir..aapke video se os kafi acchi tarike se samjh me aata hai..aapke video se padhke class jata hu..or sir ko batata hu concepts..

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

    Very brilliant teaching sir g 🙏 Thanku so much

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

    Well done Brother.. Thanks a lot... Keep up ur good work!!!!.

  • @madhur28053
    @madhur28053 6 років тому +2

    Sir... it is very helpful

  • @h.g.pgamingzone742
    @h.g.pgamingzone742 2 роки тому

    Kya clear concepts hain sir aap ke! 😯😯

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

    sir !!! your videos are excellent and I really loved it . Thanku Sir

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

    SIR, YOU ARE THE BEST... I WANT TO THANK YOU SOOO SOOO MUCH FOR WHAT YOU ARE DOING. YOU EXPLAIN IN SUCH EASY LANGUAGE THAT IT IS EASY TO UNDERSTAND. IF GOD WILLING I BECOME SUCCESSFUL ONE DAY, I AM DEFINITELY GOING TO TAKE YOUR NAME AND MAKE SURE THAT ALL ENGINEERING STUDENTS WATCH YOUR VIDEOS !!! THANK YOU AGAIN, SIR !!!

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

    Thank u sir nice explanation. Aapki wagah se paper kaafi acha gaya.

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

    I LOVE U SIR NICE AND EASY EXPLANATION

  • @gamingwithaliking3025
    @gamingwithaliking3025 6 місяців тому

    Thanks alot sir you make the things and concepts much more easy for us to understand ❤❤❤ Thanks 🥰

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

    Amazing explanation!! N the things u r repeating becoz of that there is no need to read any notes about it.

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

    Sir explanation is so wonderful 👍👌👌thank you so much sir 😊🙏

  • @shivanityagi9560
    @shivanityagi9560 6 років тому +2

    Very nice vedio sir and easily understand....