Process Scheduling & Types of Schedulers | L 5 | Operating System | GATE 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 105

  • @UnacademyComputerScience
    @UnacademyComputerScience  ปีที่แล้ว +3

    GATE Unlock25 Offer
    Get flat 25% & FREE Extension
    Join the new Foundation batches for GATE, ESE*, & PSUs 2024
    ➤ Subscribe today: unacademy.com/goal/gate-cs-it/NVLIA/subscribe?referral_code=VDEEP10

  • @Shifali_Fatima
    @Shifali_Fatima 2 ปีที่แล้ว +20

    never seen such a great teacher on youtube.... this is called quality content that is free...

  • @kiku_to_herself
    @kiku_to_herself 3 ปีที่แล้ว +88

    Your lectures are addictive like a web series

  • @anshukmishra4520
    @anshukmishra4520 ปีที่แล้ว +17

    You told about job queue and you also told us that Job queue holds the pcb of processes which are in new state. So therefore we can conclude that pcb of processes in new state exists and the pcb is stored in main memory.

  • @sonu-iu4il
    @sonu-iu4il 3 ปีที่แล้ว +26

    Operating system would never have this much interesting 🙏🙏 thnks to u sir

  • @akshaykushwaha7003
    @akshaykushwaha7003 3 ปีที่แล้ว +42

    Starts 7:15

  • @akash_rishi_12
    @akash_rishi_12 หลายเดือนก่อน +1

    00:10 Process Scheduling and CPU Scheduling are important topics in Operating System.
    04:11 Subscription benefits for Depression Preparations
    10:22 Process scheduling involves managing processes in different states
    14:22 Discussing Process Scheduling and Types of Schedulers
    20:50 Process scheduling in the operating system
    23:46 Process Scheduling involves Short Term and Long Term Schedulers
    29:11 Memory management for processes by medium term scheduler
    32:04 Understanding Process Scheduling and Types of Schedulers
    38:06 Process scheduling involves suspending and resuming processes.
    41:15 Understanding PCF and process scheduling
    46:46 CPU scheduling and types of schedulers
    49:30 Process scheduling involves long term and medium term schedulers
    55:52 Data structure problem-solving tips

  • @praveenjha802
    @praveenjha802 3 ปีที่แล้ว +4

    this is the best lecture of process state diagram so far

  • @engineersworld6417
    @engineersworld6417 2 ปีที่แล้ว +3

    I fall in love with your teaching style. Love you from Agra. 👆

  • @shibajyotidas2043
    @shibajyotidas2043 ปีที่แล้ว +2

    one of the most engaging and best educator, thank you sir!

  • @siddharthkadu7536
    @siddharthkadu7536 ปีที่แล้ว +5

    If the PCB were kept in secondary memory, it would be too slow for the operating system to access. In some cases, the PCB may be swapped out to secondary memory if main memory is low. However, the PCB is typically kept in main memory as much as possible.
    Am I correct sir ?

  • @jatinbhatoya8420
    @jatinbhatoya8420 2 ปีที่แล้ว +3

    you are having very in depth knowledge of the subject. amazing.

  • @monikav3557
    @monikav3557 11 หลายเดือนก่อน +4

    9:22 Scheduling queues
    17:35 Types of Schedulers

  • @SadhguruShortsForLife
    @SadhguruShortsForLife 2 ปีที่แล้ว +5

    again sir gave his best . Love you so much sir for such a great lectures .

  • @hinachandra2613
    @hinachandra2613 3 ปีที่แล้ว +7

    I am not interested in any subject no more... Which is not being taught by Visva Sir...😄 ✨✨🧨

  • @aasan6754
    @aasan6754 ปีที่แล้ว +2

    When a process is created (for example, by executing a new program), it enters the "new" state. At this point, the operating system may allocate some resources for the process, but it doesn't create a full PCB yet.

  • @lakshyapandora176
    @lakshyapandora176 2 ปีที่แล้ว +7

    Sir,I have one question:
    1. Where is the present when the process is in suspended state??

  • @JournalKannada
    @JournalKannada ปีที่แล้ว +2

    Every process has pcb...
    In new state it's pcb present in the job queue..... If it's get ready then it is moved to next queue....
    But every queue is present in os only

  • @muthukarki4384
    @muthukarki4384 3 ปีที่แล้ว +3

    Its really happy learning

  • @limitlessak1248
    @limitlessak1248 7 หลายเดือนก่อน +1

    I am really thankful for YOU...sir

  • @AbhinavPandey-q9n
    @AbhinavPandey-q9n 4 หลายเดือนก่อน +2

    When a process is created, the operating system allocates memory for its PCB in the main memory. This allocation allows the operating system to efficiently access and manage the process's control block during its execution. Storing PCBs in main memory ensures fast and direct access to process information, which is essential for the efficient management of processes by the operating system.
    By-Abhinav

  • @kiku_to_herself
    @kiku_to_herself 3 ปีที่แล้ว +5

    When process is in running state or suspended state , where the pcb is kept , like in which queue

    • @shivamkumar-eq3sl
      @shivamkumar-eq3sl ปีที่แล้ว

      PCBs aren't kept in any queue, they reside in the main memory section which is reserved by OS

    • @ishratkaur1605
      @ishratkaur1605 ปีที่แล้ว

      @@shivamkumar-eq3sl But these queues also reside in main meory ...

    • @shivamkumar-eq3sl
      @shivamkumar-eq3sl ปีที่แล้ว

      @@ishratkaur1605 both the queues and the PCBs are kept are kept in the main memory, but in different sections of the memory. The ready queue,s wait queues consists of only processes.

    • @shivamkumar-eq3sl
      @shivamkumar-eq3sl ปีที่แล้ว

      @@ishratkaur1605 For example, a shopkeeper maintains a ledger of his inventory, while all the stuff and the ledger are kept inside the shop, the ledger is under the shopkeeper's authority and in the ledger he writes which items are placed on which shelf. Here the shop is the main memory, the shopkeeper is OS and the shelves are the queues and the items kept on the shelves are the processes. Hope this analogy helps you understand.

    • @vaskarchandradas3565
      @vaskarchandradas3565 ปีที่แล้ว

      @@ishratkaur1605 job queue is maintained in secondary storage and ready queue in main memory.

  • @muskansharma4991
    @muskansharma4991 2 ปีที่แล้ว +2

    Yes I m excited 😆😄☺

  • @adithip2907
    @adithip2907 10 หลายเดือนก่อน +1

    hi,
    job scheduler contains processes or pcb's/, because text book and other reference books are specifying the same of having job queue in secondary memory and job queue will have the processes itself. The processes are brought into main memory by swap in and then the corresponding PCB are appended to the ready queue for execution.
    can anybody clarify this doubt please?

  • @UnacademyComputerScience
    @UnacademyComputerScience  ปีที่แล้ว

    Prices rising by 10% on 30th April'23 11:59 PM
    Flat 25% off & up to 4 Months Extra*! Save up to 53%
    Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=iconic
    Unacademy GATE & ESE Ultra Combat
    23rd April at 11:00 AM
    Enroll Now: unacademy.com/scholarship/ULTRACOMBATGATEESE

  • @tanayabiswas8781
    @tanayabiswas8781 3 ปีที่แล้ว +2

    Great sir

  • @shobhitkatiyar9224
    @shobhitkatiyar9224 3 ปีที่แล้ว +7

    New: The process that is just being created. The Program Control Block is already being made but the program is not yet loaded in the main memory. The program remains in the new state until the long term scheduler moves the process to the ready state (main memory).

    • @sdeBack1
      @sdeBack1 2 ปีที่แล้ว +3

      bro 10:20 sir told that all the process which are in new state remains in job queue .And job queue remains in main memory's Os part. So Can we say PCB will created when the process in new state and kept in main memory Os part(in Job queue) ?

    • @learningoverflow3138
      @learningoverflow3138 2 ปีที่แล้ว +1

      @@sdeBack1 process arent kept in queue only their pcb

    • @i_am_wiz
      @i_am_wiz ปีที่แล้ว +3

      @@sdeBack1 Job queue is in secondary memory, not in main memory

    • @vaskarchandradas3565
      @vaskarchandradas3565 ปีที่แล้ว

      @@i_am_wiz that means you are saying pcb of new state processes are maintained in secondary storage??
      But i used to know that pcb of processes are maintained in kernel space of os which is in main memory.

  • @shashanksrivastava418
    @shashanksrivastava418 3 ปีที่แล้ว +3

    Sir TOC bhi padha dijiye pls🙏🙏

  • @abcefg7045
    @abcefg7045 2 ปีที่แล้ว +1

    sir I have a doubt all the processes are there in queue data strucure so schedulars can onlu run the process came first it cannot decide of it's own rght?? or it can??

  • @mksbits
    @mksbits 3 ปีที่แล้ว +1

    can we do swapping manually.... if yes how and what will be its effect?

  • @UnacademyComputerScience
    @UnacademyComputerScience  ปีที่แล้ว

    GATE Unlock 20 Offer
    Get 20% off & edge closer to acing your exam preparation, with the new All Star batches for
    GATE, ESE*, & PSUs 2024/25 Starting on 12 May’23
    Subscribe Now - unacademy.com/goal/gate-cs-it/NVLIA/subscribe?plan_type=plus

  • @phy2503
    @phy2503 8 หลายเดือนก่อน +1

    starts at 6:49

  • @honey.hemant_
    @honey.hemant_ 3 ปีที่แล้ว +1

    Thank you Sir ☺️

  • @op-jr6ej
    @op-jr6ej 14 วันที่ผ่านมา

    how long term schedular max the degree of multiprogramming?can anyone pls explain .

  • @errorless7921
    @errorless7921 ปีที่แล้ว

    sir why it is dangerous if process goes from running to suspended ready state?

  • @REHANKHAN-ip4yc
    @REHANKHAN-ip4yc 5 หลายเดือนก่อน

    Lecture 1,2 ke notes hi h t kya telegram pr
    aur lecture ke notes nhi mil rhe

  • @gopalgopi930
    @gopalgopi930 ปีที่แล้ว

    what is the difference between process in a new state and a program

  • @HelloWorld40408
    @HelloWorld40408 ปีที่แล้ว

    Thank You

  • @gumansingh3574
    @gumansingh3574 2 ปีที่แล้ว

    you are amazing sir

  • @errorless7921
    @errorless7921 ปีที่แล้ว

    sir new state present in secondary memory or main memory?

  • @fankaar3160
    @fankaar3160 2 ปีที่แล้ว

    When a process is created (initialized or installed), the operating system creates a corresponding process control block.

  • @ishratkaur1605
    @ishratkaur1605 ปีที่แล้ว

    Do proccesses in 'New' State have PCB's ?

  • @nishantshukla9493
    @nishantshukla9493 3 ปีที่แล้ว

    24:10 Memes😁 bor nhi hone dete sir💙

  • @amantyagi6057
    @amantyagi6057 3 ปีที่แล้ว +1

    Are short term scheduler and dispatcher same.

    • @priyasharmax
      @priyasharmax 3 ปีที่แล้ว +2

      Sir said, short term schedular selects process but dispatcher moves it from ready to running state.

    • @amantyagi6057
      @amantyagi6057 3 ปีที่แล้ว +2

      @@priyasharmax I got it, tutorials point have an article and they have written that they are same , so I got confused. Tq

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 2 ปีที่แล้ว +1

    Newly created PROCESS mustnhave P.C.B , which is stored in the O.S itself.

    • @lsdxsaurabh2798
      @lsdxsaurabh2798 2 ปีที่แล้ว

      A pcb created in kernel whenever new process is started and stored in MM in OS's private section......

    • @ishratkaur1605
      @ishratkaur1605 ปีที่แล้ว

      @@lsdxsaurabh2798 But Kernel Space and OS's private section in Main Memory is the same.

    • @soumyadeepbarik5711
      @soumyadeepbarik5711 หลายเดือนก่อน

      ​@@ishratkaur1605 yeah

  • @Waku28
    @Waku28 2 หลายเดือนก่อน

    If PCB in a new state then it is in hardisk

  • @ravirajbhore3403
    @ravirajbhore3403 หลายเดือนก่อน

    yes

  • @SakshiAgrawal-ce1bj
    @SakshiAgrawal-ce1bj ปีที่แล้ว

    In javatpoint, i read that long term as well as reduce the degree of multi-programming, so what is the ans of ques at 53:00??

    • @Alonkete
      @Alonkete 7 หลายเดือนก่อน

      U luk like my gf

    • @rajkharkwal8234
      @rajkharkwal8234 2 หลายเดือนก่อน

      if the question was who controls degree of multiprogramming then it would be both, in this case answer should be mid-term programming only

  • @Pushpen1421
    @Pushpen1421 ปีที่แล้ว +1

    insan ke paida(process create New) hote ke sath hi kaal apne bhese(PCB create) pr beth ke uske piche lag jata hai..or vo uska picha jb tak nhi chhodta jab tk ki vo mar(terminate) nhi jata....fr vo bich me kuch b q na kra kre(waiting suspand ready running)🤣

  • @mdghufranalam7369
    @mdghufranalam7369 2 ปีที่แล้ว +1

    ❤️🙏

  • @ayushiyadav1
    @ayushiyadav1 5 หลายเดือนก่อน

    7:19 yosh

  • @k_co_KristidharPandit
    @k_co_KristidharPandit 2 ปีที่แล้ว

    But job queue resides in secondary memory , ???!? Am I wrong ??

  • @abhishekraut2937
    @abhishekraut2937 2 ปีที่แล้ว

    sir dispatcher ke bare me aapne bataya nahi tha bas itna he bataya tha ke context switch ko hone ke leya softer use bas itna he bataya tha

  • @ankitabiswas9636
    @ankitabiswas9636 2 หลายเดือนก่อน

    25:48

  • @kartheekgoud9009
    @kartheekgoud9009 2 ปีที่แล้ว

    in which queue PCB of suspended state store?

    • @lsdxsaurabh2798
      @lsdxsaurabh2798 2 ปีที่แล้ว

      PCB Is prop of OS SO in OS part of the main memory ...so no queue for PCB"s

  • @kunal3813
    @kunal3813 2 ปีที่แล้ว

    sir it happens with me sometime when i go back to the game which i have been using it start from zero and do not start where i left??

    • @shivam-pu7kp
      @shivam-pu7kp 5 หลายเดือนก่อน

      but your progress in game will be saved like where u left last time ..

  • @journeyofc6200
    @journeyofc6200 8 หลายเดือนก่อน

    6:56 lecture starts

  • @sitaramyadav5084
    @sitaramyadav5084 3 ปีที่แล้ว +4

    Sir data structure ka all video hindi me v dijiye sir c programming ka v sir os ka v video hindi me v provide kijye sir

    • @knowcode6374
      @knowcode6374 3 ปีที่แล้ว +3

      what about the people who dont know hindi , we also need good education right?

    • @HarshSharma-tq7gg
      @HarshSharma-tq7gg 3 ปีที่แล้ว +3

      @@knowcode6374 if you don't understand hindi then how you get that he is seeking for hindi ciurse..........

    • @rajeshjavvadi9397
      @rajeshjavvadi9397 3 ปีที่แล้ว +2

      It not about the language. Majority of the cases most of the people knew English than hindi.

  • @Chill_With_Lofi_Music
    @Chill_With_Lofi_Music 11 วันที่ผ่านมา

    Video Start From 7:00

  • @aryanbhadana4655
    @aryanbhadana4655 5 หลายเดือนก่อน

    6:50 video starts here

  • @lsdxsaurabh2798
    @lsdxsaurabh2798 2 ปีที่แล้ว

    A PCB created in Kernel whenever a new process is started........

  • @PIYUSHSHARMA-ql3uz
    @PIYUSHSHARMA-ql3uz 3 หลายเดือนก่อน

    21:00 44:00

  • @Rahul-iv3xm
    @Rahul-iv3xm 2 ปีที่แล้ว

    40:00

  • @smrpkrl
    @smrpkrl 11 หลายเดือนก่อน

    43:44

  • @ayusddd8032
    @ayusddd8032 3 ปีที่แล้ว

    Shreya Mishra

  • @komalkful
    @komalkful 2 ปีที่แล้ว

    Me i never ever play game in mobile

  • @VivekPrakash-uq3rb
    @VivekPrakash-uq3rb 4 หลายเดือนก่อน

    🤨🤨

  • @thesumitkumar0
    @thesumitkumar0 3 ปีที่แล้ว

    24:09 😂😂😂👌👌👌

  • @PENJENDRUVARUN-uy2ov
    @PENJENDRUVARUN-uy2ov 2 หลายเดือนก่อน

    00:10 Process Scheduling and CPU Scheduling are important topics in Operating System.
    04:11 Subscription benefits for Depression Preparations
    10:22 Process scheduling involves managing processes in different states
    14:22 Discussing Process Scheduling and Types of Schedulers
    20:50 Process scheduling in the operating system
    23:46 Process Scheduling involves Short Term and Long Term Schedulers
    29:11 Memory management for processes by medium term scheduler
    32:04 Understanding Process Scheduling and Types of Schedulers
    38:06 Process scheduling involves suspending and resuming processes.
    41:15 Understanding PCF and process scheduling
    46:46 CPU scheduling and types of schedulers
    49:30 Process scheduling involves long term and medium term schedulers
    55:52 Data structure problem-solving tips

  • @kundusahabji6328
    @kundusahabji6328 ปีที่แล้ว

    25:57