Reviewing exam and find this channel. Totally game changer. Much better than professor reading slides in class
@prernagarg58924 жыл бұрын
Yes, u are right Xin Li
@Mehraj_IITKGP Жыл бұрын
Video summary: - A CPU scheduler is a part of the operating system that determines which process to allocate the CPU to at any given time. - A dispatcher is a component of the operating system that is responsible for actually switching the CPU from one process to another according to the decision made by the CPU scheduler. - Dispatch latency refers to the time taken by the dispatcher to stop one process and start executing another process. - CPU scheduling may take place when a process: switches from running to waiting state switches from running to ready state switches from waiting to ready state terminates - Preemptive scheduling is a CPU scheduling technique where the operating system interrupts the currently executing process to allocate the CPU to a higher-priority process. - Non-preemptive scheduling is a CPU scheduling technique where the currently running process is not interrupted and continues to execute until it voluntarily releases the CPU, blocks, or completes its execution, and only then the operating system selects another process to execute.
@adarsh2879 Жыл бұрын
thanks man you are life saver for exam
@ΑντρέαςΣωτηρίου-π8γ Жыл бұрын
thank you
@mohamadamirul3060Ай бұрын
Thx
@VietNamCombatZ12 күн бұрын
Thank you for your kindness!❤
@ytallshorts1238 ай бұрын
Tomorrow is my exam 😂😂😂🎉🎉🎉🎉🎉 and this channel helps me a lot 😁 , love you neso ❤❤❤❤🎉🎉
@quratraja73914 жыл бұрын
Very well explained! CPU Scheduler selects the particular program that is to be assigned to the CPU for execution while Dispatcher is a program that assigns the hold of the CPU to the program selected by the scheduler and the time taken by the dispatcher to assign hold of the CPU to the program selected by scheduler is called latency. As switching is frequent task so the the latency of dispatcher should be minimal. Two ways of scheduling are non-preemptive or cooperative and preemptive. In non-preemptive a process that is in execution by the CPU is never disturbed. So it happens when the process is terminated or has switched to waiting state. Whereas in preemptive, the processor can be assigned to another process even when the already existing process was being executed. It happens when another process of very high priority needs to executed first.
@AnxulJyoti3 жыл бұрын
✌️😳👏
@williamwu99465 жыл бұрын
This video is really helpful! I'm not a native English speaker but I fully understand all the concepts, thank you sir!
@CodehanCodes5 жыл бұрын
Please add more videos frequently into Operating system playlist,I have watched all 38 videos now ,they were great , waiting for the next video.Thanks
@hoangminhchau2187 Жыл бұрын
1) Scheduler: Selects a process in the ready queue to be given the CPU 2) Dispatcher: Gives the control of the CPU to the process selected by the scheduler. The time between the stopping and starting a process execution is called dispatch latency. 3) Preemptive: When a process change from running state to ready state (interrupt) or from waiting to ready state (I/O) 4) Nonpreemptive or cooperative scheduling: When a process change from running to waiting state (I/O) or terminates. A new process in the ready queue (if it is not empty) have to selected to be given the CPU.
@pavel_espinal Жыл бұрын
Succinct and clear explanation. Thank you very much, sir. Keep up the great work.
@ayushiydvKG7 ай бұрын
thankyou soo much, the way you explain is phenomenal. ❤❤❤
@pinnochiopizza87854 жыл бұрын
Preemptive and Non-Preemptive Scheduling actually explained at: 13:36
@miss.sanchari_speaks4 жыл бұрын
Thank you😭❤️
@AbdulkareemAlnoaman Жыл бұрын
I like your way of teaching. Also your English is very good too.
@manasa5303 жыл бұрын
This did a lovely job of explaining the concepts, thanks x
@Khizzy692 жыл бұрын
these lectures hit different an hour before exam
@esraelbizuneh9756 Жыл бұрын
amazing explanation!!love from Ethiopia
@lumaimubanga92534 жыл бұрын
Very good teacher. I'm enjoying the lectures.
@lucashowelllucifer92463 жыл бұрын
This explains so much about why computers do weird shit
@gatecomputerscience14842 жыл бұрын
So well explained, each and every point is explained perfectly
@huycao85213 жыл бұрын
very clear and thorough explanation ! Thank you sir !
@rajkanyamobaiye22013 жыл бұрын
Very helpful and greate Playlist.. Learning direct from your videos.. You may be got happy after knowing that One of the Ma'am from our College suggested your channel for learning.. Thank you.. Thank you very much for such a Great efforts..
@raoshahhussain122 жыл бұрын
Amazing Explainetion : one night before exam 😜
@karlkarlmusic3 жыл бұрын
Thank you very much. It is very understandable once again.
@vatsalrastogi37255 жыл бұрын
Please create a playlist for Data structure and Algorithms ,it is the need of the hour......
@ved.7x2 жыл бұрын
exam after 3 hours watching in 2x but i want 4x speed...😥😆
@Sandypallavihemanth5 ай бұрын
Ohh me morning 9:30AM exam but now 2:26AM watching this video.😂😂😅
@shiviforfun3 ай бұрын
Use a chrome extension , I use speedup
@footballCartoon914 жыл бұрын
For simplicity sake, We need to understand at what process's state does it finishes it's execution whether it is in waiting state and termination state. On another hand, when it is in ready state means the process is not done yet or it is halfway of it's execution or maybe halfway of it's termination state?. So, if the process is in "ready state" We can schedule the processes that need to use cpu based on their priority?. As for the non-pre emptive scheduling, Either we want to give the cpu to another processes or not, We have no choice because the process has finished it's execution Meaning no need to use CPU again. So just give it to another processes. As for the name "pre-emptive", I am suggesting it needs to empty the cpu first before giving it to other processes. Hopefully this is correct.
@mohamedorabi71135 жыл бұрын
please, upload more videos , you are amazing in explanation
@albertofabbri15433 жыл бұрын
Thank you very much for this awesome explanation!
@shishankkumarsharma56024 жыл бұрын
Thanks for taking galvin to videos 😁
@dkg49754 жыл бұрын
Great lecture 👍
@imnotaburrito9365 Жыл бұрын
beautifully explained!
@rithikafredrick98703 жыл бұрын
you're a life saver
@altin_deniz9 ай бұрын
My Savior
@snackoverflow23194 жыл бұрын
I'm garbage. This is the exact same concept that is on book the book "Operating System Concepts" page 202 and I had no clue what i was reading until i watched this video.
@josephstark7585 жыл бұрын
This is a great Chanel
@mokera38015 жыл бұрын
Thank you so much for this video
@MasthaX4 жыл бұрын
When she text you for netflix and chill but you decline replying you're binging OS mechanisms and design for your imaginary ASM/C OS on YT.
@amalrosh23934 жыл бұрын
Very helpful, thank you
@swathignanavendan24835 жыл бұрын
Sir please upload the videos about process sychorinzation 🙏
@itsmeapril57123 жыл бұрын
exam today at 7 pm and here i am watching this vid at 6:17 pm with x2 speed
@blackdarkdevil75792 жыл бұрын
Shukriya sir 🙏 😃😃😃
@gauravvbhАй бұрын
I think the 3rd condition which is saying preemptive is wrong because preemptive is actually when any process is forcibly removed from the CPU due to any higher priority process arrives or the current process exceeds its time slice
@PrathamGupta24084 жыл бұрын
08:30 why is ready state to running state not considered?
@LokeshBhagadkar3 жыл бұрын
Becz at that time process is assigned to cpu not scheduled, schedule means we are swapping processes. I think it clear for u 😅
@raghurajpratap50154 жыл бұрын
thanks for the video sir, where can we get the slides that you are using?
@dancristian36732 жыл бұрын
GC state runs in preemptive which means the CLR needs to turn those cooperative threads into preemptive threads for GC to run. said that, if the GC thread pertains to the same process , if the process is taken away from cpu ,how the GC tread will run if it needs to run in preemptive state ???? do you mean process thread when you said process? right? meaning that a process thread is suspended (interrupted/waited) while another GC thread on the main process is run.
@shekharsrivastava68234 жыл бұрын
This is how commerce guys can pass os exam.
@farahmohamed2104 Жыл бұрын
good explanation
@Mike-vj8do Жыл бұрын
great video, thank you
@abdulsaboorvlogs97723 жыл бұрын
I have a project tomorrow watching at 4x
@gulnazkhan63582 жыл бұрын
❤️ thats the comment
@sunpreetsingh69414 жыл бұрын
All the lectures are made from Galvin's book. Even some lines are exactly the same
@manojgongati6296 Жыл бұрын
why is waiting state to ready state preemptive ? It went to Waiting state for I/O only after running state , right?
@PradeepYadav-fg2yg3 жыл бұрын
well explained!!
@losenesherif11434 жыл бұрын
Thank you sir👍🏾
@UmmeChy-v4u3 ай бұрын
Please do make lec on coa topics like 1at and 2nd pass of assembler
@divyanahsain71612 жыл бұрын
Sir please make videos under 10 to 15 minutes not longer
@dkhbhai9 ай бұрын
sir ji notes mil jayenge kya website pr
@sujeetkosekar83164 жыл бұрын
Either exam or not 2x is best
@nadraibrahim64003 жыл бұрын
he said that among the process in the ready queue, CPU scheduler is the one which selects the process who will get CPU. That means CPU scheduler is also one of the processes in the ready queue. Right?
@v9d366 Жыл бұрын
I was here on 17 April 2023
@techshorts23315 ай бұрын
17 July 2024
@dakumangalsingh453 ай бұрын
17 sept 24
@RooBeeRTooooTReeBooR4 жыл бұрын
Thanks you are the boss
@ahmetkarakartal9563 Жыл бұрын
wow, thank you so much
@programminginfo34033 жыл бұрын
process switches from running state to ready state due to some interruptions. Can someone give me practical example of such interrupts?
@Sanjaysview3 жыл бұрын
in multitasking cpu switches process when higher priority comes and current one moved to ready state but in multiprograming cpu will not switch any other process untill it finishes or it will when the current process asksfor IO operation
@nicolasguardado74662 жыл бұрын
You are awesome
@PushpaSoni-cz3fg9 ай бұрын
Add .net programming videos please
@ananyasuneriya4 жыл бұрын
Sir please upload course of Data analysis with python
@aadithyaiyer45144 жыл бұрын
isn't CPU scheduler the Kernel of operating system??
@Knowledgeduniya14323 жыл бұрын
who will decide priority for the scheduling sir
@ofek733404 жыл бұрын
can a operating system scheduling be both preemptive and non preemptive?
@softwarecodecs25344 жыл бұрын
non-preemptive = preemptive + non preemptive (in practical)
@3varshabachhav4134 жыл бұрын
Thanks Sir...
@gassimjah14063 жыл бұрын
thanks so much
@subee12811 ай бұрын
Thanks
@shalom91235 жыл бұрын
Thank you sir
@hippityhoppity6572 жыл бұрын
yeah I still don't get it
@803_jyotsanasingh62 жыл бұрын
please provide these slides in a g drive sir. it would help in revision.
@avalon20023 жыл бұрын
can i have pdf notes???
@vishnuvijayan5264 жыл бұрын
Thankuu
@akashverma4294 жыл бұрын
Awesome
@kariscollins36485 ай бұрын
Comprehensive
@Abhishek-ys2io3 жыл бұрын
I think, the correct pronounciation is "cedular"... Not "skejular".