Pages

Tuesday, January 22, 2013

What is scheduling in Computer ?


Scheduling is a process by which thread, process or data flows are given access to system resources. This is the important part for the CPU of your computer setup.

The schedulers concerned mainly with:
1.     Throughput: The total no of processes that complete their unit per time unit.
2.    Turn around time: Total time between submission of process and it’s completion.
3.  Response time: Amount of time when a request was submitted until the first response is produced.
4.     Waiting time: It is the time for which process remains in a ready queue.

Types of Schedulers:
  • The long term or admission scheduler decides which job or processes are to be admitted to the ready queue.
  • The medium term scheduler temporarily removes process from main memory and places them to secondary memory.
In scheduling process starvation is a problem which is a resource management problem where a process does not get a resource for a long time. Aging  is a technique which is used to avoid starvation problem. It works by adding a aging factor to the priority of each request.



Thursday, January 3, 2013

POST:

It is the first test runs on a computer once a computer is switched on. It is a starting program that determine all the hardware present in computer. 

Once it ensures that all the necessary hardware are found and working properly then the computer begins to boot. If the hardware is not detected or is found, the BIOS issues an error message which may be text on the display screen and/or a series of coded beeps, depending on the nature of the problem. Since POST runs before the computer's video card is activated, it may not be possible to progress to the display screen. The pattern of beeps may be a variable numbers of short beeps or a mixture of long and short beeps, depending on what type of BIOS is installed. 

The patterns of beeps contain messages about the nature of the problem detected. For example, if the keyboard is not detected, a particular pattern of beeps will inform you of that fact. An error found in the POST is usually fatal (that is, it causes current program to stop running) and will halt the boot process, since the hardware checked is absolutely essential for the computer's functions.