Sunday, November 22, 2015

Process Scheduling

Since last last week we started discussing the Process Scheduling. We already discussed four (4) types, these are: First come first serve, Shortest Job First-NP, Shortest Job first-P, Round Robin and Highest Response Ratio Next. In the problem, our professor will give us the Arrival time (AT) and the Burst Time (BT). We should do three (3) steps in every problem, first is the Summation of the Burst Time, it is easy because we will only get the sum of the burst time. Second is the Gantt' Chart which I find tricky especially when I use the Shortest Job First-P. And last the Performance table which depend on the Gantt' Chart, it is easy but you just need to make sure that your Gantt' Chart is correct for the Performance table to be correct.

The First come first serve, for all of us it is the easiest because you will only base the process on the Arrival Time (AT). The shortest arrival time would be the first to be processed. Second we discussed the Shortest Job First-NP, it is also easy for me. The process will be based on the Arrival time and the burst time, if next arrival times is already in, then your process would be base on your burst time, the shortest burst time would be processed first. And last but not the least we discussed the Shortest Job First-P which I find really tricky because I don't know if you should already insert the process or not yet because you need to subtract from the burst time if the process' arrival time will enter. Next in the Process Scheduling is the Round Robin which I find kind of easy compared to the SJF-P because you need to subtract the TQ to the burst time. Last is the Highest Response Ratio Next which I guess is like the FCFS but you need to find for the RR and there is a given solution to find that, well I'm not really that sure because my mind was already flying because of the Round Robin. 

I enjoyed the topic but I'm just really confused with the other Process Schedules, but I really enjoyed the FCFS, SJF-NP, and the RR. I'm trying my best to learn the other processes but when we were doing it on the board it is so easy but when I'am already on my own, I'm like "Paano ulit 'to?" and again i'm confused, but when we will already answer the example exercise, I will say "Ahh, ganun pala yun, gets ko na." then when we will answer individually, I'm lost. AGAIN. Sad truth about my life huhuhu. But I really need to learn it because it is a big part in the subject Operating System.