For anyone wondering why its k^2 and not 2k,think of K as the probability that a process would spend its time doing I/O. Hence if all the 2 process P0 and P1 are doing I/O,then the total probability would be: P(both the process are doing I/O) = P(P0 is doing I/O)*P(P1 is doing I/O) = k*k = k^2. This is total probability from class 12.
lets simplify this one step more suppose we have 4 process in the main memory as we have single processor which can only execute one process at a time. In this video sir talk about the probability probability(Process utilizing CPU ) = 0.3 Probability(Process utilizing I/O ) = Probability(Process NOT utilizing CPU) = 0.7 Lets say ( Worst Situation) ----> this is the only situation when the CPU will be in idle position. P1 go to CPU and Then go to I/O in that period then , P2 use CPU and then it also go to do some I/O operation , same for P3 and P4. Now at this time every process is doing I/O operation so CPU is Not doing anything( Not utilizing). So to find the probability of the situation where all the process P1,P2,P3 and P4 are doing I/O operation we can use Independent Probability concept. Probability( P1 and P2 and P3 and P4 -----> all doing I/O operation) = Probability(P1 utilizing I/O ) * Probability(P2 utilizing I/O ) * Probability(P3 utilizing I/O ) * Probability(P4 utilizing I/O ) = 0.7 ^ 4 = 0.24 probability of the situation where all the process P1,P2,P3 and P4 are doing I/O operation = 0.24 so in all other cases( Situation) CPU will be Busy processing the Instructions To find the Probability when (Not all process doing I/O operation ) = 1 - Probability( P1 and P2 and P3 and P4 -----> all doing I/O operation) = 1 - 0.24 = 0.76 This says 76% of the time CPU will be doing some work and 24 % it will be idle not doing any thing. If you can relate Leave a Like : )
Thanks brother, this makes sense. The answer is wrong at 14:51 in the video. 1 - (0.7)^2 = 0.51, so CPU utilisation should be 51% for 2 processes in the RAM This comment saved a lot of time. Lag raha tha maths hi bhul gya XD
for those who wonder how the formula came in 14:40 , i didnt understand at the first glance too , so this explanation might help you too :) let me clear you first how you get 1-k^2 , theres two program in the in the RAM ( 4+ 4) now , theres % given its actually the probability that helps you understand for how much time a process can go for IO operation , now here if 1 process go to IO operation then the other 4 Mb process will be exicuted , the Only time CPU can stay in Idle mode is when both the process gone for the io operation at the same time , now the probability of going under IO operation at the same time is K*K , you can understand that , so the probablity that CPU remain idle = 1 - k*k = 1 - k^2 and yes the ans is 51% , but anyhow the cpu utilization increased , thats enough
2 years back I had OS subject.. I remember seeing this video one day before my exam to clear some confusion… and now I’m back here watching the entire playlist while preparing for placements.Still,i remember what u taught till today which is very unusual cuz I forgot whatever was taught by my sir in class…. excellent video sir
00:00 Memory management in Operating System is managing various types of memory efficiently. 03:13 RAM is crucial for CPU to execute processes from secondary memory 06:24 Degree of Multiprogramming improves CPU utilization and system performance. 09:22 RAM and process size affect number of processes in RAM 12:28 Increasing RAM size leads to higher CPU utilization 15:30 Increasing RAM size leads to higher CPU utilization 18:31 Increasing RAM size leads to higher CPU utilization 21:13 Degree of Multiprogramming and Memory Management Crafted by Merlin AI.
The K values are probabilities. He is mentioning them as "percentages of time" for simplification. So overall probability that N processes will be independently performing I/O is just K^N (independent events/independent trials). Prob. that any one of the processes will perform CPU operation will be 1 - K^N. Best to do math before any other CS subject if you are preparing for GATE.
@@kirtipurohit1237 If there are n independent events with success probability P1, P2, P3, ..., Pn. Then the probability of all events occurring successfully together is P1*P2*P3*...*Pn (not P1+P2+P3+...+Pn) Thus, the probability of atleast one event failing is 1-(P1*P2*P3*...*Pn)
@𝕄𝕚𝕣 ℤ𝕦𝕓𝕒𝕚𝕣 bhai paper me tu numerical question ke answer me concept likh aaiyo aur neeche likh diyo ki "Concept is more important than calculation.. You can do this silly mathematical calculation of your own"
🎯 Key Takeaways for quick navigation: 00:00 *📚 Memory management in operating systems manages different types of memories like RAM, hard disk, and registers efficiently.* 00:28 *💻 The primary focus of memory management is on RAM since it directly interacts with the CPU.* 02:30 *💰 Increasing RAM size directly affects the system cost, so a balance is needed for normal users.* 03:31 *🚚 Programs are stored in secondary memory and need to be brought into RAM for CPU execution.* 06:05 *🌐 Multiprogramming brings multiple processes into RAM for efficient CPU utilization.* 08:53 *📈 A numerical example shows higher CPU utilization with more processes in RAM.* 17:38 *🔑 Increasing RAM size allows more processes, increasing degree of multiprogramming and CPU utilization.* 20:02 *🧰 Memory management handles allocation, deallocation, and security of RAM for processes.* 21:56 *🧩 Processes can be divided into blocks and brought into RAM for efficiency.* Made with HARPA AI
The K values are probabilities. So probability that N processes together will be performing I/O at the same time (when all of them perform I/O simultaneously is the only case when CPU will be idle) is K^N . Thus we can say that probablity that CPU will be idle is K^N. So probability that CPU is not idle, or CPU utilization is 1 - K^N.
Sir really whenever you teach us ,it seems as I'm CPU and I'm processing several process at a time and managing as you explained. Sir ,i got understand each and every point. Thanks you my honorable teacher
Sir I'm a HCL TECHBEE SCHOLAR . We were told that we will get the best trainer but I think you are the best trainer who teaches all the deficult concept very smoothly. Thank you, Thank you so much sir ❤️
Thank you Sir, because of your teaching I really was able to study OS which seemed to me very hard earlier. Thank you sir again. I wish teachers like you exist in our KIIT college also.
Waah Sir aap to cha gaye...! Maza hi agaya....this is the very first time I am learning this topic and I understood it very well..Thanks for this playlist.. and yeah those figures for k^2 is 51% and for k^4 is 76%..but i understood the point you were presenting.
Sir u r the best teacher I found on UA-cam for computer science ... Sir pdf notes bhi provide kr dete to speed me course ho jata notes bnane me bahut time lgta hai
I did MscIt IN 2017 but today learning concepts in 2020. Thank you very much. Please keep making such wonderful nice and knowledgeable video and keep trying your best and then you will deserve more and more views. and please never hesitate to speak Urdu during English lectures. The objective is to convey to us the concept. You are doing a good job. Thanks a lot. and alot of love from across the border Pakistan.
Sir I followed your chanel previous two years and I want some suggestions to you for my future thank you!! Please reply Sir Give me your mail id coz i want contact you Sir I don't use any social media app please please give me your mail id
Brother, you may want to give a look at the mathematics here: 1-(0.7*0.7)=.51 which denotes 51% when k=2; but you have written 76%{1-(0.7*0.7*0.7*0.7)} which is true if k would be 4; Please do give a check. Thank You
We divide k^2 by 2 bcz its a rule of probability in arrangement (selection n arrangement) If p0 p1 perform same i/o operation simultaneously we use multiplacation rule ie is k^2/2 as they both are same (performing same task just like in probability same n identical objects) ..... Thanks sir🙏
I'm from Kerala , tomorrow I have semester exm, sir thank u so much I really like the of ur presentation and everything is perfect and the concept s clear🥰 in my 4 yr of btech life u help me in every exams ❤️thank you so much
hello sir, how you get 76% because I am trying this I am getting 51%. So please can you explain. I am a big fan of your lectures are easy n very helpful for understanding the concepts.
If each process is going to spend a fraction "p" of its time doing I/O operations, then the probability that two processes are doing I/O at the same time (simultaneously) can be calculated using the concept of independent events. Since each process's I/O operations are independent of each other, the probability of both processes performing I/O at the same time is the product of their individual probabilities of performing I/O at that time. Mathematically, the probability of both processes doing I/O at the same time (simultaneously) can be calculated as: Probability = Probability(Process A doing I/O) * Probability(Process B doing I/O) If "p" is the fraction of time that each process spends doing I/O, then: Probability(Process A doing I/O) = p Probability(Process B doing I/O) = p Therefore, the probability of both processes A and B doing I/O at the same time is: Probability = p * p = p^2 This is the probability that both processes are simultaneously doing I/O operations at any given moment. Remember that this calculation assumes that the I/O operations of each process are independent of each other and that there is no interaction or synchronization between the processes' I/O activities.
A 20% I/O time for a process could be interpreted as "At any given time, there's a 20% chance that the process is performing I/O operation and CPU is idle". If we have n processes in RAM, and we want CPU idle time, we are essentially trying to figure out "For what time, all the processes in the RAM would be performing I/O operations, leaving the CPU idle". Now think about it, if we have n processes, and every process' CPU idle time is x%, what are the chances that all the processes are performing I/O operations at the same time? that'd be (x/100)^n and that's how you get the CPU idle time. You could think of it as an upper bound idle time since it's just a probability measure of all the processes undergoing I/O operation at the same time.
Nice explanation, just few correction * K is probability * 15:05 time calculation mistake or it will be (0.07)^2 * both will use k time and k time so K^2, its basically both will go simultaneously for i/o is K^2. keep up the good work
00:04 Memory management in operating system is crucial for efficient use of different types of memories. 03:16 RAM is crucial for CPU to execute processes from secondary memory. 06:23 Degree of Multiprogramming increases CPU utilization and system performance. 09:20 RAM size and process size affect multiprogramming 12:42 Increasing RAM size leads to higher CPU utilization 15:52 Increasing RAM size increases CPU utilization 18:49 Increasing RAM size leads to increased CPU utilization and process accommodation 21:21 Memory management and degree of multiprogramming are crucial for system efficiency
I believe that how mesmerized you must be feeling, reading these lovely comments. You should be proud of yourself for doing this wonderful job of imparting your knowledge to us!!!!!!🎉 Want to meet you some day dear Varun
Sir, for the formula: CPU utilisation = 1 - p ^ n Does p stand for 'waiting for I/O' or 'time spent doing I/O'? Because in my textbook it is mentioned 'time waiting for I/O to complete', which in that case would be: 1 - (1-0.7) ^ 2 Can someone please confirm???
In case of 1- k^4 ans is coming about 74%
And in case of 1-k^2 it is about 51%
In case of 1-k^8 it is about 94%
in case of k^4 it is coming about 75.99 %
yess
Even I was wondering how come 2 process case wil b 74% ,it should be 51% ,thanks for your explanation
I was going to comment this too😅
I was scrolling the comments to spot the same error😂
For anyone wondering why its k^2 and not 2k,think of K as the probability that a process would spend its time doing I/O.
Hence if all the 2 process P0 and P1 are doing I/O,then the total probability would be:
P(both the process are doing I/O) = P(P0 is doing I/O)*P(P1 is doing I/O) = k*k = k^2.
This is total probability from class 12.
Thanks very much
Thanks
tnx bro
Brilliant
Thanks
lets simplify this one step more
suppose we have 4 process in the main memory as we have single processor which can only execute one process at a time.
In this video sir talk about the probability
probability(Process utilizing CPU ) = 0.3
Probability(Process utilizing I/O ) = Probability(Process NOT utilizing CPU) = 0.7
Lets say ( Worst Situation) ----> this is the only situation when the CPU will be in idle position.
P1 go to CPU and Then go to I/O in that period then ,
P2 use CPU and then it also go to do some I/O operation ,
same for P3 and P4.
Now at this time every process is doing I/O operation so CPU is Not doing anything( Not utilizing).
So to find the probability of the situation where all the process P1,P2,P3 and P4 are doing I/O operation we can use Independent Probability concept.
Probability( P1 and P2 and P3 and P4 -----> all doing I/O operation) = Probability(P1 utilizing I/O ) * Probability(P2 utilizing I/O ) *
Probability(P3 utilizing I/O ) * Probability(P4 utilizing I/O ) = 0.7 ^ 4 = 0.24
probability of the situation where all the process P1,P2,P3 and P4 are doing I/O operation = 0.24
so in all other cases( Situation) CPU will be Busy processing the Instructions
To find the Probability when (Not all process doing I/O operation ) = 1 - Probability( P1 and P2 and P3 and P4 -----> all doing I/O operation)
= 1 - 0.24 = 0.76
This says 76% of the time CPU will be doing some work and 24 % it will be idle not doing any thing.
If you can relate Leave a Like : )
Thanks brother, this makes sense. The answer is wrong at 14:51 in the video.
1 - (0.7)^2 = 0.51, so CPU utilisation should be 51% for 2 processes in the RAM
This comment saved a lot of time. Lag raha tha maths hi bhul gya XD
what a explanation bro i was confused
Thanks😅
Tanx sir i m from Pakistan we often learn educational material from Indian instructor .... like U ... U r proud of ur country....
We should not study ,allah will do everything, Only pray 10 times a day for allah , we can crack any exam.
@@pruthvi7798 hahahahaha
Pride hota hai bhai
@@kumarshivam4317 thumara hasny ki waja jaan saktha ho
Pr k to ap b phr koi bna len chenal ta k ap b kisi k liy proud bn jai
for those who wonder how the formula came in 14:40 , i didnt understand at the first glance too , so this explanation might help you too :)
let me clear you first how you get 1-k^2 , theres two program in the in the RAM ( 4+ 4) now , theres % given its actually the probability that helps you understand for how much time a process can go for IO operation , now here if 1 process go to IO operation then the other 4 Mb process will be exicuted , the Only time CPU can stay in Idle mode is when both the process gone for the io operation at the same time , now the probability of going under IO operation at the same time is K*K , you can understand that , so the probablity that CPU remain idle = 1 - k*k = 1 - k^2
and yes the ans is 51% , but anyhow the cpu utilization increased , thats enough
Thank you, only one that makes sense here
my doubt cleared..
Thanks for the explanation....
Thanks for the explanation brother. It helped 🙌
Thanks for the explanation..
2 years back I had OS subject.. I remember seeing this video one day before my exam to clear some confusion… and now I’m back here watching the entire playlist while preparing for placements.Still,i remember what u taught till today which is very unusual cuz I forgot whatever was taught by my sir in class…. excellent video sir
Glad it helped!
@@SatyamKumar-zf1kk I don't think niveditha can be a "bro"
@@aakashyadav6228 lol
Thanks for clarifying
Yo that's amazing
00:00 Memory management in Operating System is managing various types of memory efficiently.
03:13 RAM is crucial for CPU to execute processes from secondary memory
06:24 Degree of Multiprogramming improves CPU utilization and system performance.
09:22 RAM and process size affect number of processes in RAM
12:28 Increasing RAM size leads to higher CPU utilization
15:30 Increasing RAM size leads to higher CPU utilization
18:31 Increasing RAM size leads to higher CPU utilization
21:13 Degree of Multiprogramming and Memory Management
Crafted by Merlin AI.
The K values are probabilities. He is mentioning them as "percentages of time" for simplification.
So overall probability that N processes will be independently performing I/O is just K^N (independent events/independent trials). Prob. that any one of the processes will perform CPU operation will be 1 - K^N.
Best to do math before any other CS subject if you are preparing for GATE.
@@siddhantjain3166 it's 1-k^n, not 1-k*n. There's a difference between power and multiplying
@@siddhantjain3166 bhai tu jaake pehle mathematical symbols ke basics clear kr
@@archilkumar But why is it even k^n..if there are 3 processes then,
k+k+k ..why k^n ?
@@kirtipurohit1237 If there are n independent events with success probability P1, P2, P3, ..., Pn. Then the probability of all events occurring successfully together is P1*P2*P3*...*Pn (not P1+P2+P3+...+Pn)
Thus, the probability of atleast one event failing is 1-(P1*P2*P3*...*Pn)
@@archilkumar Dude that cleared things so much. Thanks a lot.
fun fact: your lecture seems more confident when played at 1.5x ..... 😂😂
😂😂✅💯
Thanks
You are right bro
Nope , @2x
3X, when you have just 2 hrs left for the exam
14:48 The answer is 51%. 0.7 squared is 0.49 and when you subtract it from 1, the answer is 0.51.
Yes, that's right
then after that the answer will be .76 in case of ^4
Thank you, even i had the same doubt
@𝕄𝕚𝕣 ℤ𝕦𝕓𝕒𝕚𝕣 bhai paper me tu numerical question ke answer me concept likh aaiyo aur neeche likh diyo ki "Concept is more important than calculation.. You can do this silly mathematical calculation of your own"
@@harshitsharma7871 why k^2 and k^3 he is doing??
🎯 Key Takeaways for quick navigation:
00:00 *📚 Memory management in operating systems manages different types of memories like RAM, hard disk, and registers efficiently.*
00:28 *💻 The primary focus of memory management is on RAM since it directly interacts with the CPU.*
02:30 *💰 Increasing RAM size directly affects the system cost, so a balance is needed for normal users.*
03:31 *🚚 Programs are stored in secondary memory and need to be brought into RAM for CPU execution.*
06:05 *🌐 Multiprogramming brings multiple processes into RAM for efficient CPU utilization.*
08:53 *📈 A numerical example shows higher CPU utilization with more processes in RAM.*
17:38 *🔑 Increasing RAM size allows more processes, increasing degree of multiprogramming and CPU utilization.*
20:02 *🧰 Memory management handles allocation, deallocation, and security of RAM for processes.*
21:56 *🧩 Processes can be divided into blocks and brought into RAM for efficiency.*
Made with HARPA AI
The K values are probabilities. So probability that N processes together will be performing I/O at the same time (when all of them perform I/O simultaneously is the only case when CPU will be idle) is K^N . Thus we can say that probablity that CPU will be idle is K^N. So probability that CPU is not idle, or CPU utilization is 1 - K^N.
thanks it cleared my doubt..i was wondering why sir wrote k^2 instead of 2k..i was expecting an explanation from him
Education, will be interesting..if we'll get a teacher like you sir.....thank you so much ..
Sir really whenever you teach us ,it seems as I'm CPU and I'm processing several process at a time and managing as you explained. Sir ,i got understand each and every point. Thanks you my honorable teacher
Watching these day before exam at 2x, Very nice explanations Sir.
May Allah bless you with hidayah.
Samee
I watch your videos a day before my exam.
There is no need to refer to other books.
Thank you, sir.
Sir I'm a HCL TECHBEE SCHOLAR . We were told that we will get the best trainer but I think you are the best trainer who teaches all the deficult concept very smoothly.
Thank you, Thank you so much sir ❤️
Hey you are still in hcl tech bee program?
@@armankhanpathan408 yeah bro
2x bhi slow lag raha hai mujhe to 😂
Same muje bhi😅
Same here bro
Sahi baat h vro😂
Kyu bhtyy😢
Thank you Sir, because of your teaching I really was able to study OS which seemed to me very hard earlier. Thank you sir again. I wish teachers like you exist in our KIIT college also.
Waah Sir aap to cha gaye...! Maza hi agaya....this is the very first time I am learning this topic and I understood it very well..Thanks for this playlist.. and yeah those figures for k^2 is 51% and for k^4 is 76%..but i understood the point you were presenting.
guess the best part bout your lectures is that you repeat the key concepts so much that it gets drilled in our heads. thank you!!!
Hmm
Not sure who disliked this video! Thank you so much for this fantastic video Varun.
University professors 😂
@@engineerskegyan7997😂😂😂may be
if i get this kind of teacher then i can crack all the toughest exams on this earth.....serioulsy sir k liye dil se dua nikalti h
Sir, I really appreciate your endeavours for making such concepts more and more easy and clear. Thank You, Sir.
(0.7)^2=0.49
1-0.49=51% != 76%
there is mistake .
it should be 51%
1-k^4 !=94, it is 76.
overall conclusion is ,cpu utilisation is proportional to degree of multiprogramming.
Yes, you're right ashwani ji .. varun sir, is perhaps also right...as he was just explaining the concept.
The purpose of this video to explain the concepts.
Tnx for saving lazy people like me ;)
Sir u r the best teacher I found on UA-cam for computer science ...
Sir pdf notes bhi provide kr dete to speed me course ho jata notes bnane me bahut time lgta hai
literally nobody explained the basic concepts of memory management as simple like the way you explained... thanks a lot sir
I did MscIt IN 2017 but today learning concepts in 2020. Thank you very much. Please keep making such wonderful nice and knowledgeable video and keep trying your best and then you will deserve more and more views. and please never hesitate to speak Urdu during English lectures. The objective is to convey to us the concept. You are doing a good job. Thanks a lot. and alot of love from across the border Pakistan.
are wo Hindi use kar rahe hain urdy nahi.
@@amankumar-gn2zeits very similar
One of the best OS series I have come across
Thank you sir!!
Can you put subtitles, your work is amazing and people like me maybe can't understand all of them. so much respect sir
Wha kya KNOWLEDGE K H AUR kya padhane k tarika h ......
Aap jesa teacher ki jarurat h COLLEGE M SIR ...
THANKS SIR
Thank You so much for the appreciation. Bless you. keep learning and sharing
Communication skills and your efforts are remarkable!
Thank you sir I understood the concept clearly😊.
I appreciate your hard work sir keep going
Fabulous explanation, just love your explanations sir 😊
For 2 process it is 51%
4 process it is 76%
And for 8 process it is 94%
entire cpu operation is in this video ,finally i got this.........why need of large size of ram in phones.......got the point bro......thanks....
Very helpful Operating System series!
Sis u are engineering student kuch samaj aata hai kya
@@rohanwayangankar6498 Yes
@@ruchaabhyankar sis tume Engineering me coding sikhaya jata hai kya
@@rohanwayangankar6498 Yes
Such a Wonderful lecture Sir !! Thank You Sir
Sir I followed your chanel previous two years and I want some suggestions to you for my future thank you!!
Please reply Sir
Give me your mail id coz i want contact you
Sir I don't use any social media app please please give me your mail id
1-(.7)^2 is equal to 51% approx
and
1-(.7)^4 is equal to 76% approx
concept pe dhyan mat de diyo
Brother, you may want to give a look at the mathematics here:
1-(0.7*0.7)=.51 which denotes 51% when k=2;
but you have written 76%{1-(0.7*0.7*0.7*0.7)} which is true if k would be 4;
Please do give a check.
Thank You
I completely agree
Yes ,I got this too
@@jiniyasbiswas4557 OS sesh then ? XD
@@arindamroy7 Nah nah vai...suru korlam just 😅😅
@@arindamroy7 nhk?
We divide k^2 by 2 bcz its a rule of probability in arrangement (selection n arrangement)
If p0 p1 perform same i/o operation simultaneously we use multiplacation rule ie is k^2/2 as they both are same (performing same task just like in probability same n identical objects)
..... Thanks sir🙏
Sir, you are doing really well. You explain the topics in a very fluent way and it becomes very easy
I'm from Kerala , tomorrow I have semester exm, sir thank u so much I really like the of ur presentation and everything is perfect and the concept s clear🥰 in my 4 yr of btech life u help me in every exams ❤️thank you so much
😅nale exam onnum ariyola 😂
ade?
Fun Fact:- Legends watch these lectures day before the OS Exam.😅
OS Test in 8 hours or so...
Bhai mai aapko kabhi. Normal m sunta hu to ajeeb sa hi lgta h x2 mein aadat hai
Much respect, the grit is real🔥
Great methodology sir may Allah give you more concepts..
Ameen!!
Thank you so much for blessings..
well sir is cleaver than allha lol, and dont forget according to islam non are going to hell
If events are independent then compound probability is
P(A ∆ B∆ C ......) = P(A)P(B)......
Where ∆ means intersection
One of the great name in CS I like much your lecture and watch stay happy 🥀🥀🥀🥀
you r so good i have completed all the videos and it was very usefull thankyou
great lecture, my college lecturer is playing this video in online class !! LoL😂😂
Bro u are engineering student kuch samaj aata hai kya
😂
hello sir,
how you get 76% because I am trying this I am getting 51%. So please can you explain.
I am a big fan of your lectures are easy n very helpful for understanding the concepts.
it was a mistake
In two processes, it is 51% and in four processes 76%. He did a calculation mistake in this video.
Thank you sir for clearing our concept....
If each process is going to spend a fraction "p" of its time doing I/O operations, then the probability that two processes are doing I/O at the same time (simultaneously) can be calculated using the concept of independent events.
Since each process's I/O operations are independent of each other, the probability of both processes performing I/O at the same time is the product of their individual probabilities of performing I/O at that time.
Mathematically, the probability of both processes doing I/O at the same time (simultaneously) can be calculated as:
Probability = Probability(Process A doing I/O) * Probability(Process B doing I/O)
If "p" is the fraction of time that each process spends doing I/O, then:
Probability(Process A doing I/O) = p
Probability(Process B doing I/O) = p
Therefore, the probability of both processes A and B doing I/O at the same time is:
Probability = p * p = p^2
This is the probability that both processes are simultaneously doing I/O operations at any given moment. Remember that this calculation assumes that the I/O operations of each process are independent of each other and that there is no interaction or synchronization between the processes' I/O activities.
Kaha the gyani baba 😂
A 20% I/O time for a process could be interpreted as "At any given time, there's a 20% chance that the process is performing I/O operation and CPU is idle". If we have n processes in RAM, and we want CPU idle time, we are essentially trying to figure out "For what time, all the processes in the RAM would be performing I/O operations, leaving the CPU idle". Now think about it, if we have n processes, and every process' CPU idle time is x%, what are the chances that all the processes are performing I/O operations at the same time?
that'd be (x/100)^n and that's how you get the CPU idle time. You could think of it as an upper bound idle time since it's just a probability measure of all the processes undergoing I/O operation at the same time.
Such a hardworking person.....he is recording video in night also (if anyone has noticed the sound at 16:18)
You are doing great job 💜
outstanding videos of yours in OS area sir, thank you so much hope to see u with millions of subscribers one day. keep going sir. best of luck.
thanks sir i am from nepal .we all are dependent on you
Can you help in how probabilities are calculated?
YOU ARE DOING GREAT JOB SIR
Today is Vietnam's Teacher day, I would like to express my sincere gratitude to you.
Here in 2x speed before my sem exam 🏃♂️
Thank u so much :))
thank sir
Nice explanation, just few correction
* K is probability
* 15:05 time calculation mistake or it will be (0.07)^2
* both will use k time and k time so K^2, its basically both will go simultaneously for i/o is K^2.
keep up the good work
you r luv sir ❣️your method of teaching is very impressive for me..
Thank you sir ,your all videos are very helpful
Sir very well taught..
Too good explanation sir!
great video ,explains every point
Excellent work,your all videos are very easy to understand and easy. Thank u
Lecture so good that even crickets came to listen.
Great explanation. Well done👍✅♥️👌
Watch lacture at 1.5x speed one day before exam...
If u tube have 4x speed.... I would have used that.. 😅
Thank you for teaching us
I think the CPU utilisation should 51% when size of RAM is 8 MB and it should be 76% when size of RAM is 16 MB.
Correct me if I am wrong
but why k^2...why not 2k...
Sir aap aaj k guru Dronacharya ho keep it up sir
Thanks for uploading great lecture🙏🏻
Thank you so much for clearing this topic ... really ur teaching manner is indexplicable...
Thank you so much sir, ur videos are very helpful. any topic I search I get ur video.
You are really outstanding
00:04 Memory management in operating system is crucial for efficient use of different types of memories.
03:16 RAM is crucial for CPU to execute processes from secondary memory.
06:23 Degree of Multiprogramming increases CPU utilization and system performance.
09:20 RAM size and process size affect multiprogramming
12:42 Increasing RAM size leads to higher CPU utilization
15:52 Increasing RAM size increases CPU utilization
18:49 Increasing RAM size leads to increased CPU utilization and process accommodation
21:21 Memory management and degree of multiprogramming are crucial for system efficiency
Sir g your way of teaching is superb 👌👍
Love your videos from Punjab Pakistan and here I am your new subscribers.
I believe that how mesmerized you must be feeling, reading these lovely comments.
You should be proud of yourself for doing this wonderful job of imparting your knowledge to us!!!!!!🎉
Want to meet you some day dear Varun
Sir please add computer organization and architecture lectures
Thank you 😊
As always Excellent !
Sir, for the formula:
CPU utilisation = 1 - p ^ n
Does p stand for 'waiting for I/O' or 'time spent doing I/O'?
Because in my textbook it is mentioned 'time waiting for I/O to complete', which in that case would be:
1 - (1-0.7) ^ 2
Can someone please confirm???
Mathematics Guru Ji.😃
1-(0.7)^2 = .51
Nice teaching 😌🙏😇 very understandable
the confidence with which he writes and says 76% at 14:50 😂😂😂😂
Sir aapka videos pe like is liye ni aata kuki sblog ko video itna jyda pasand aata hai ki likes pe dhyan he ni jata ...but you teach🥰1 no.🥰🥰🥰🥰🥰💯❣️
No one can beat you 💯
Aj class bhut achi chal rehi h thankyou sir💖
Very detail.......... Better than our sir teaching.... 👌👌👌👌
Great explanation.. Thank you sir..
Watch this video before 15 minutes of my exam without knowing anything 😅😅
Best teaching
U r very Intelligent person
Well explanation fabulous teaching sir🤗🤗🤗🤗
Thanks.