Shortest-Job-First (SJF) Scheduling
Filed Under Uncategorized | Posted on August 27, 2009
Shortest-Job-First (SJF) is a non-preemptive discipline in which waiting job (or process) with the smallest estimated run-time-to-completion, is run next. In other words, when CPU is available, it is assigned to the process that has smallest next CPU burst. The SJF scheduling is especially appropriate for batch jobs for which the run times are known [...]
CPU / Process Scheduling
Filed Under Uncategorized | Posted on August 27, 2009
CPU scheduling is the basis of multi-programmed operating systems. By switching the CPU among processes, the operating system can make the computer more productive. A multiprogramming operating system allows more than one process to be loaded into the executable memory at a time and for the loaded process to share the CPU using time-multiplexing.
Goals for [...]
Overview of Threads
Filed Under Process, Threads | Posted on August 26, 2009
A thread is an encapsulation of the flow of control in a program. Most people are used to writing single-threaded programs – that is, programs that only execute one path through their code “at a time”. Multi-threaded programs may have several threads running through
different code paths “simultaneously”.
A thread is similar to the sequential programs: a [...]
Overview Of Process
Filed Under PCB, Process, Process Control Block, Stages, State | Posted on August 26, 2009
A process is an activity which takes place over time and which has a precise aim regarding the result to be achieved. The concept of a process is hierarchical which means that a process may consist of a partially ordered set of sub-processes. A process is rather abstract. It describes the essentials of the purpose, [...]