Shortest Job First (SJF) - Non Pre Emptive CPU Scheduling Algorithm - Operating Systems

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Support Simple Snippets by Donations -
    Google Pay UPI ID - tanmaysakpal11@okicici
    PayPal - paypal.me/tanmaysakpal11
    --------------------------------------------------------------------------------------------- In this Video Tutorial we will Study and learn the working of Shortest Job First - Non Pre Emptive (SJF). SJF as the name suggests is based on the principle of shortest job first, this essentially means the the process that has the shortest burst time will be processed first. Also this algorithm is Non Preemptive in nature which means that once the CPU starts executing one process it cannot pause or stop it in between and has to completely finish that process before it can move to the next smallest process.
    Another variation of SJF is SRT which is shortest remaining time which is SJF with pre-emption.
    First Come First Serve (FCFS) CPU Scheduling Algorithm: • First Come First Serve...
    Shortest Remaining Time (SRT) CPU Scheduling Algorithm : • Shortest Remaining Tim...
    Round Robin CPU Scheduling Algorithm (RR) : • Round Robin CPU Schedu...
    Priority Based CPU Scheduling Algorithm : • Priority Based CPU Sch...
    Simple Snippets Official Website -
    simplesnippets...
    Simple Snippets on Facebook-
    / simplesnippets
    Simple Snippets on Instagram-
    / simplesnippets
    Simple Snippets Google Plus Page-
    plus.google.co...
    Simple Snippets email ID-
    simplesnippetsinfo@gmail.com
    For Classroom Coaching in Mumbai for Programming & other IT/CS Subjects Checkout UpSkill Infotech - upskill.tech/
    UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
    Contact via email /call / FB /Whatsapp for more info
    email - upskillinfotech@gmail.com
    We also Provide Certification courses like -
    Android Development
    Web Development
    Java Developer Course
    .NET Developer Course

Комментарии • 46

  • @SimpleSnippets
    @SimpleSnippets  5 лет назад +4

    Hey Guys, if you want many more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends ✌

  • @myworld_pure
    @myworld_pure 27 дней назад +1

    You are good at explaining things .thank you

  • @S__Khan__
    @S__Khan__ 6 лет назад +17

    Thanks brother for the videos. You saved my semester.
    one advise- reduce the sound of welcome tune in your videos.

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад +5

      Thank you for the compliment buddy. And yes I'll surely keep the volume low. In some of my old videos including this one I didn't know how to equalize the audio levels. But now in more recent videos I have leveled them properly 😇
      Please do share these videos with your friends and contacts bro, that will be the biggest help you can do for our channel 😇✌️

  • @AakankshaDevgan
    @AakankshaDevgan 7 лет назад +6

    Thankyou so much. These videos are honestly very helpful. 🙏😊

    • @SimpleSnippets
      @SimpleSnippets  7 лет назад

      +Aakanksha Devgan thank you for the positive response ma'am. Do share the videos with your friends and contacts 😊

  • @user-hz9wm6em7d
    @user-hz9wm6em7d 5 месяцев назад

    this is so helpful and needed , thank you so much

  • @OurProblemsOurSolutions
    @OurProblemsOurSolutions 9 месяцев назад +1

    Clear and nicely explained

  • @kelstinealange
    @kelstinealange 8 месяцев назад +1

    You're a life saver❣

  • @bappachakraborty10
    @bappachakraborty10 6 лет назад +2

    Perfectly Explained

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад

      Thanks buddy 😇✌️
      Do share the video with your friends as well 😇
      That'll be the best help and support ✌️

  • @Sudembetes
    @Sudembetes 6 месяцев назад +1

    Thank you. You helped me a lot

  • @TuboOV
    @TuboOV Год назад +2

    This was so perfect

  • @eliasstud5678
    @eliasstud5678 6 лет назад +4

    Thank you a lot bro, you saved me a lot of time.

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад

      Most welcome buddy. I would request you to please share the video with your friends and contacts 😇😋

  • @jericledama2283
    @jericledama2283 7 лет назад +4

    Thanks Sir, it really help me.

    • @SimpleSnippets
      @SimpleSnippets  7 лет назад

      You're always welcome buddy. Please share the video with your friends and contacts 😇

  • @ramyarm15
    @ramyarm15 6 лет назад +1

    Good job, helped a lot. Thank you.

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад

      Thank you for the positive response. Please do share it with your friends and contacts so that even they get help ✌️😇

  • @pradeephmkumar
    @pradeephmkumar Год назад +1

    Thank you

  • @bindhureddymandi5996
    @bindhureddymandi5996 6 лет назад +3

    Thank you soo much🙏, helped at lot really helpful for me, clearly nd perfectly explained 👍👍😊

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад

      Thank you so much buddy 😇. Please do share the video with your friends and contacts too ✌️ that'll be the best help and support for the channel ✌️

  • @snehachavan6197
    @snehachavan6197 8 лет назад +1

    it was quite helpful thank you soo much ^_^

    • @SimpleSnippets
      @SimpleSnippets  8 лет назад +1

      Thank you for the positive response. Do share the video with your contacts. :)

    • @RaselAhmed-ix5ee
      @RaselAhmed-ix5ee 6 лет назад

      Sneha Chavan i love you

  • @divyaganji8685
    @divyaganji8685 8 лет назад +1

    Thank You..!

  • @vinaypalnati8117
    @vinaypalnati8117 4 года назад +4

    the music and the voice not at the same pitch. Nice video

    • @SimpleSnippets
      @SimpleSnippets  4 года назад

      Sorry for the mismatch of audio level. Will take better care in future ✌

  • @christoffere425
    @christoffere425 6 лет назад +3

    How come you didn't start with P2 instead of P0 in the Gnatt Chart? Considering P2 has the lowest burst time.

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад +12

      Good question Chris, well I have exactly explained why processor starts with P0 instead of P2 or P2 or any other process which has lowest burst time.
      See this is a Shortest Job first algorithm BUT it is NON-PREEMPTIVE which essentially means, once processor starts processing any process or job, it can't stop till it finishes it.
      Now since P0 was the very first process to arrive at time t = 0, CPU started processing and as I mentioned once it starts processing it it can't stop.
      Basically at the very beginning when time t was 0 only one process was arrived that is P0 right ? so CPU cant compare it with other processes for shorter burst times since there arent any. I hope you get the idea here ? 😇✌

  • @Flexzod-msp-raja
    @Flexzod-msp-raja 5 лет назад +1

    it is gantt chart or gnatt chart????

  • @flaviouscorreia536
    @flaviouscorreia536 8 лет назад +2

    Thnxx bro if possible upload deadlock video

    • @SimpleSnippets
      @SimpleSnippets  8 лет назад

      Hey, will surely try to make a video on that topic. any specific topic under deadlocks ?

    • @flaviouscorreia536
      @flaviouscorreia536 8 лет назад

      Deadlock avoidance Bankers algorithm safe-unsafe and more

  • @rushikothari9946
    @rushikothari9946 6 лет назад +1

    What to do when my Turn around time is less than Burst time??
    Waiting time is going in minus 😯

    • @SimpleSnippets
      @SimpleSnippets  6 лет назад +2

      It can't be less than burst time ever. By definition - Turnaround time (TAT) is the time interval from the time of submission of a process to the time of the completion of the process. It can also be considered as the sum of the time periods spent waiting to get into memory or ready queue, execution on CPU and executing input/output.

  • @AdarshKamble-yb2hd
    @AdarshKamble-yb2hd 4 месяца назад

    Make video also on pre empitive 😢

  • @philiswatenza33
    @philiswatenza33 11 месяцев назад

    hey , what if we zero as arrive time for all process?

    • @star_is_g
      @star_is_g 11 месяцев назад

      then just do it based on the burst time, its easier

  • @5anfoxedits1
    @5anfoxedits1 19 дней назад

    goated

  • @z.y.r.o
    @z.y.r.o 2 года назад +1

    2:00

  • @prasoonsingh5748
    @prasoonsingh5748 Год назад +1

    the intro sound is really loud

  • @ropopal1094
    @ropopal1094 3 года назад

    hey what's the song on the prefix?

  • @chethanb6406
    @chethanb6406 4 года назад

    intro music too loud

  • @RaymondMerlin-d4q
    @RaymondMerlin-d4q 4 месяца назад

    063 Kamren Stream