L-5.9: What is Paging | Memory management | Operating System
ฝัง
- เผยแพร่เมื่อ 11 ก.พ. 2025
- 👉Subscribe to our new channel: / @varunainashots
In this video you will understand the full concept of Paging which most popular topic in memory management. Paging is a function of memory management where a computer will store and retrieve data from a device's secondary storage to the primary storage. Memory management is a crucial aspect of any computing device, and paging specifically is important to the implementation of virtual 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 (Compl...
►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 TH-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/gatesmash...
► Follow us on Threads: www.threads.ne...
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
I'm crying tears of joy here coz I've found your channel. What a wonderful teacher you are
Really yrr ,ek college h jaha paisa bharo aur do kaudi ki education 😏
Nigar Fatima kiya yar 2 kaudi bhi ni , koi value hi ni hain ,
Kam phek chal😅😅😅
Me too same reaction 👍😅
Yes
Seriously, Operating Sytem's best explanation ever. So clear.
Itna khatarnak topic jo itna easily smjha de woi ache teacher ki pehchan hai... univ teachers kabhi itni depth me nhi smjhate paging segmentation ya to smjhana nhi ata ya fir wo khud bhul chuke hai...
Students jyda ques raise na kare isliy jaldi me nipta dete the paging n segmentation..
@varunsingla you are SIMPLY AMAZING 👏
What my teacher failed to explain in whole semester, he explained in 26 mins!
Hats off sir🙌🙌🙌
How can you 2 bytes or 16 bits represents only 1 bit.... ???
My doutes is 2 bytes is 2 bits....??? 14:14
@@ignite1401 First of clear the difference bw bit and a byte. The answer to your questions lies in it.
likes ke liye kuch bhi likhega
Pay attention during class
Anyone help in os
I am here a few days before my Operating System exams, and this young guy explains paging like a piece of cake, then I start to solve numericals for the first time (without making mistakes). Thanks Mr. Varun Singla!
Indian man for the help
He is the best teacher
@@ralsei7170 Yes. Saw the map on his forehead.
🎯 Key points for quick navigation:
00:13 *📏 Paging involves dividing a process into equally sized pages which fit into frames of main memory.*
01:28 *🧩 Pages must match frame sizes so they fit compactly into memory.*
03:49 *🗂️ Memory is byte addressable; CPU accesses memory via byte addresses.*
05:56 *🗃️ Page 0 and Page 1 of a process can be placed in different frames of Main Memory.*
07:02 *🔄 Mapping is needed to convert CPU-generated logical addresses to absolute addresses via the MMU.*
09:12 *📝 A page table for each process maps page numbers to frame numbers in memory.*
11:09 *📊 Logical address includes page number and offset; physical address includes frame number and offset.*
17:55 *🎯 Physical address is determined by binary representation of frame numbers and offsets.*
21:41 *🔍 Logical to physical address mapping involves converting requested byte numbers across different layers.*
24:44 *🔗 Memory Management Unit performs the mapping between logical and physical addresses efficiently.*
Grt explanation sir...😃 I gave my exams for operating system after watching your videos only....😊 And I got 91 out of 100 in my OS exam....all the thanx and credit goes to you sir...I have prepared all the topics in syllabus as well as extra topics also ...which helps me to clear my concept more ...and got this result just becoz of you sir...thanx a lot 😊 Keep going!
Keep Teaching us!😊
Same question, why don't we have same teacher like you in college? Awesome explanation kudos I want to appreciate your all effort keep making such wonderful video keep educated
they dont need gems they prefer waste
College might just have amazing teachers as well but the problem is that you're watching the video alone thus all the attention is diverted towards you. In a class there are 30-50 or even 100 students at times so it kinda becomes hard to understand what teach is teaching.
Because our education system is bad our colleges is just a business
@@sharjeelahmed7913 damn true
bcoz in clg they have a fixed salary, but here on TH-cam, he has to deliver great content to earn!
What an effort. It took three lectures of 60 minutes each in my university class to explain the 10% of what you explained in 25 minutes. You want everyone to learn everything about a topic. I notice one thing in your lectures- you don't want to skip a single thing while teaching a particular topic, you want everyone to understand a topic completely. Great work, I have been watching your already uploaded videos from Sydney. Thanks a lot..❣️
🎯 Key Takeaways for quick navigation:
00:00 🧠 *Contiguous Memory Management Algorithms:*
- Four memory allocation algorithms discussed: First Fit, Next Fit, Best Fit, and Worst Fit.
02:26 🎯 *First Fit Algorithm:*
- Allocates the first available hole that is big enough to accommodate the process size. Simple and fast but may lead to large leftover spaces.
04:19 🔄 *Next Fit Algorithm:*
- Similar to First Fit but starts searching for the next hole from the last allocated position, reducing search time.
05:45 🏆 *Best Fit Algorithm:*
- Searches the entire list for a hole that minimizes internal fragmentation, aiming to leave the smallest leftover space.
07:06 ⚠️ *Worst Fit Algorithm:*
- Selects the largest hole available to maximize leftover space. The opposite of Best Fit, also involves searching the entire list.
08:57 🚀 *Advantages of First Fit:*
- Simple and fast implementation, searching stops at the first available hole that fits the process.
11:16 ⚡ *Advantages of Worst Fit:*
- Maximizes leftover space, allowing potential accommodation of more processes. Slower due to searching the entire list.
12:16 🚫 *Disadvantages of Best Fit:*
- Slow due to searching the entire list and may create small leftover holes that limit further process accommodation.
14:40 🌐 *Comparison Between Best Fit and Worst Fit:*
- Best Fit minimizes remaining space, limiting further process accommodation; Worst Fit maximizes remaining space, allowing potential accommodation of more processes. Both algorithms are slow due to searching the entire list.
Made with HARPA AI
You have shown your passion on teaching sir ji.... Superb lecture...👌
Thank you..Love and blessings
One can only dream of lectures like these. Such conceptual clarity. Thanks a ton for enlightening me.
Teacher of the Decade award goes to Varun Sir.....🙂👍💯
God bless you Sir 🌟🙏
I never saw a clearer explanation of mapping logical address to physical address. Thank you so much for explaining it so simply!
100% clear concept given ❤️
You are the best teacher. 😊
Your concepts literally very clear and the way you teach it's awesome..
One of the best teacher on you tube.
Well doing sir.. Spread your knowledge like this only.
I can definitely say this is the best video for paging in entire youtube
I mean, I am not even a Gate student as I am doing a course in the UK and the syllabus is a bit different (in a very unorganised way), however your way of explaining concepts that are made so difficult by my books and university is just EXCELLENT! I thank you for your existence. I sound super selfish right now, but the compliment is from the heart!
You are an amazing teacher who has turned teaching COA in to 'frames' of story telling sessions which I can easily follow.
Final term of Os is at 11 and i'm watching at 10:45 to my way to University..Thank you Sir for your presious help🥺🥰
Hi
you have time to write comment also😂
😁@@aahil...
Thanks a lot sir May Allah Almighty succeed you further ... Eventually I got bps 17 lecturer post only because of your these fruitful and up to the mark tutorials which you are delivering at our door step ♥♥♥
Thank you so much for this!! Kudos for the way you beautifully explain even the toughest concepts. May god bless you 🥺❤
I got to tell one thing.. Good teaching is 25% preparation and 75% theatre.. U r one .. I m 2005 passed out and trying to give exam after 16 years gap and now i m able to solve problems its all because of your way of teaching.. Thank u..
You are hardworking sir...😍
Interest develop hogya os mn..now my fav subject is os.
Hats Off to you
Varun Jee
आज पहली बार ऑपरेटिंग सिस्टम के इस टॉपिक पर इतनी क्लेरिटी मिली है।
👍👍
Just 30 min ago i was frustrated and thinking that i cannot solve any paging questions ever but now you just cleared all my doubts .....thank you soooo much sir.....you're explanation were outstanding ❤❤❤❤❤❤❤❤lots of love.❤❤
Shuru ke 10 min toh smjh hi nhi aara tha....phir 20 min baad example 2 se ek dum clear ho gya concept..........25 min k patience ke sath baitho....phir smjh ayenga concept...... TQ gatesmashers ❤
Bhai rona aa gaya.
I have never seen such a brilliant explanation of paging 🙌🏻🙌🏻
😣😢😢
one of the toughest part of the OS...Simplified here! un millón de gracias
Brilliant...amazing....!!!😭❤️
Means I don't have any words to say!!
Kya knowledge hai yr✔️
Thank you so much from the bottom of my heart sir!!❤️
Thanks a million 💫
Sir maine gfg ka placement 100 course liya tha os ke liye, but aap jitni detail me aur easily concepts samjhate hai gfg aas paas bhi nahi hai, best explanation ever. 🔥🔥🔥
Doing a course in memory design and testing and this lecture about cache system is very good.
Thanks sir!
Aap jaise samjhate ho jisko computer samajh nahi ata wo bhi samajh jayenge yahan to phir bhi computer students hi hai ..
THis guy is just as amazing as Ravundrababu Ramula or Sanchit Jain (KNOWLEDGE GATE)
ThankYou so much for Big complement..Bless you..
Ravindrababu Ravula*
@@GateSmashers -> even better than them at tyms!!
He's much better than them
@@sushruttabakade6088 don't compare, everyone is trying to help the students in their own way, everyone is putting their best in making videos.
Sir aapka knowledge bilkul hi next level ka hai😊 itna difficult topic ko itna easiest way me explain kiya aapne
I can't describe in words how damn helpful this is. Thanks a lot 🙏
I like how the lecture without any useless introduction. Awesome!
Thank u a lot sir,
Finally I found that "subject is always learn from exports,not from standard books"
Best video ever on Paging. This man cleared my concept within 30 min. If I try to study it myself then surely would have taken a whole day
00:13 Paging splits a process into equally sized pages in main memory
03:33 Understanding the concept of inserting data into frames
06:56 Mapping of CPU-generated addresses to absolute addresses using page tables
10:12 Understanding logical addresses and page frames
13:24 Representing numbers in binary and accessing pages in page table
16:19 Understanding logical and physical addresses in memory management
19:18 CPU generates logical address to access physical memory
22:07 Page tables map logical to physical addresses
13:24 its nit clear whats confusing is including page number till that its fine
Vaaaah
.....no words to appreciate u guru🙏🙏🙏...I was almost seen all videos to get that one point about paging..u clearly phrased it " process divided into pages and pages placed into frames"👌❤️😘😘😘
Such a amazing explanation seriously ,
Varun sir ... You are like stress buster for me...Whenever i Found myself in confused state you make me feel don't worry You are there to help me with this...
You don't know the kind of help to average students like me you are doing , Thanks a lot 🙏
The explanation is so riveting that I was unable to skip the video ..... I am just startled and feeling an inexplicable joy while writing this comment.
nice and clear explanation, Thank you sir
Watching your video after 3-4 years. its like a reunion for me. Wish you a good luck.
Your teaching skills are simply awesome.....haven't seen such description of these hard topics...keep going ahead...thanks for these videos 😊
you have explained a difficult topic in very easy manner , i am a semiconductor engineer in nxp bangalore i had to give presentation on memory management in my team and i explained the same thing what you have explained, i got lot appreciation , thanks for giving such a good content in easy manner
Sir ka channel jaadui hai, normal speed main sunne par saans fulti haii😂.
Just joking Salute to your hard work sir. Really you help us in every subjects.
Today it's proved that if student can study and read all subjects then why not teacher.
And answer is in front of us.
Thank you 😊
Sir I don’t comment often …and seriously I will not hide anything even I closed this video earlier after watching it 5 mins but when I came back and watched full video I could not stop myself appreciating you…thank you…great explanation..and loving this operating system
clear voice and well explanation thanks😊 sir
Sir u are truly a god gifted teacher for us stay always blessed sir🙌🤗
sir ap bohot ache ho, bohot asanise samaj a jati hai apki bat.
Not only operating system but also explained paging with DIGITAL ELECTRONICS........ Wonderful✨😍
Surely the best teacher you are make me able to get highest grade in university.......Lots of love, care and support from PAKISTAN🇵🇰🇵🇰 sir💖💖
At 19.7 minute when he say yessss....ohhhooo in love with his teaching skill❤️❤️❤️
Really, the way he is explains is simply awesome. when my college lecturer explained this I am really can't get anything what is going and the teacher is explaining but this man explains like very easy manner with example just Kudos to him, thank you very much for your work.
Really sir, you are the best teacher...
Your explanation are the best explanation ever.....
GURU VA why didn't I get you at start of my engineering Guru you are danm clear man
I have been struggling a lot in this topic, but now it is clear. Thank you from the bottom of my heart😊
Me : after watching this video 19:07.
jokes apart this topic would have taken atleast 1hr-1.5 hr if i were to read a book your teaching is amazing. Thank you for your efforts.
Wow. Excellent ! I've never come accross such a simplified explanation so far. Fantastic.
Well explained sir 😊😊😊
This really helped me understand the concept of paging in a very detailed but easy manner. Thank You
Excellent explanation!!
Please include a video for Multi Level Paging
CPU generates the logical address which is divided into two parts as page number and page offset.
The page number is used as a index to page table which contains base address of each page in physical memory.This base address is combined with the page offset to define physical memory.
.
Page size is typically a power of 2 .The selection of power of 2 as page size makes translation of logical address in to a page number and page offset easy.
=>If the size of logical-address space is 2^m ,and a page size is 2^n addressing units (bytes or words), the high-order m-n bits of a logical address denote page number and the n low order bits denote the page offset.
Thankyou 😊
KEEP DOING GREAT WORK LIKE THIS❤️
sir your explanation is just out of the world
Sir you are amazing!
Brilliant explanation. Excellent lectures for the GAT Subject preparation.
Wow... Amazing Explanation...
Thank You So Much ...
I don't have words how easily u explained i was reading reference books for 1hour and still can't understand and ur video is life saver. And my whole class is learning os from you.
thanks so much sir
sir thank you for such an clear explanation keep posting ! and if it is possible you could create blog from where we all can download some specific notes or important points to revise for particular topics of computer science! really appreciate your efforts sir...
Thank you for your valuable suggestion. Will work on that
You don't know how much blessings you get on a daily basis!
Thanks for such content and that too for free....
Main jis college me padhta hu waha ka teacher khud Iss sir ka video dekh padhte hai 😂😂 Hats off Varun sir
😂😂
Ye chahiye tha yrr , great ❤
Thankuu sir
You are the best teacher on TH-cam.....Your concepts literally very clear and the way you teach it's awesome.
Make videos on computer organization and architecture subject.....
Please sir.......
✋
Bhot zroori h
one of the toughest topic, very difficult to understand from uni lectures...sir you have rocked it,,salute
All the best for tomorrow 😂😂
😂😂
Thanku
😂
how do you know??😮
@@Pragati-hy6pq 😂
Sir aapki taareef shabdo me to nahi ki ja skti I love you Sir. What a way to give information of anything related to education Thankyou So Much I'm Dieheart Student of you.
sir thank u so much
Best lecture on paging, totally understandable 👍👍
Those who watch these lectures in normal speed are real legends 😂😂
Salute you sir..Such a detailed explanation on paging..no one put so much effort to explain but you are amazing.. thankyou so much sir .May god bless you👍☺️
Sir aap humare college me aajao pls🙏🏻 thank you so much for this explaination
He taught in my college(LPU). most respected faculty in our college
genuine content4u you were lucky
What a wonderful teacher you are Sir! It is very satisfying to learn from you!
21:59 Full board view
after this video......really hats off to you sir from my heart❤!
Rip for the students who listen this video in normal speed 😂😅
Mister your way of explanation is appreciable, You have actual concepts indeed. Keep it up !
***** five stars out of five
Amazing Lecture on Paging. Got a better understanding how paging works.
I wish I found your channel earlier 😭
Superb explanation! Hatsoff to u sir. That so complex things which used to give me a phobia are so sorted now with ur story telling way of teaching.
Padhle bhai pehle , bad me comment dekhna
😂
I love the humour man😂, I hope you get successful in whatever you are looking for.
😊😊😅
Tu bhi padhle bhai bad me comment karna 🤡😂
@@anandmishra9620 khatam ho gya bhai padhai, job mil gyi 😂
Excellent sir beginning se hi bahut badiya bataya✌️✌️👌👌👍👍👍
1.5 speed worked here....
Hard Difficulty --> Converts --> Very easy and useful === Gate Smashers 🔥🔥
Thank you so much for videos like this Varun Sir!!🙇🏻🙇🏻🙇🏻 You are great Sir!!