Tuesday, September 3, 2013
What is meant by load shedding?
Posted by
Sunflower
at
9/03/2013 02:17:00 PM
0
comments
Labels: CPU, Destination, Features, Load, Load Shedding, Monitor, Network, Overload, Packets, Phases, Plug-ins, Reduce, Resources, Robust, Source, Stress, Subsystem, System, Technique, traffic
|
| Subscribe by Email |
|
Sunday, July 14, 2013
What is Polling?
Posted by
Sunflower
at
7/14/2013 05:08:00 PM
0
comments
Labels: Busy, Character, Client, Commands, CPU, Devices, External, Input, Instruction, Internal, Interrupts, Operation, Output, Polling, program, Registers, Software, state, Status, System
|
| Subscribe by Email |
|
Wednesday, June 19, 2013
Explain the Priority CPU scheduling algorithm
- Internally defined
priorities: These priorities make use of some quantities that can be
measured for computing a process’s priority. These quantities include
memory requirements, time limits, ration of the I/O burst and CPU burst,
number of files and so on.
- Externally defined
priorities: These priorities are defined by some criteria that are
external to the operating system. Such factors include political factors,
department leading the work; importance of the process, amount of money
paid and so on.
Posted by
Sunflower
at
6/19/2013 01:18:00 PM
0
comments
Labels: Algorithm, CPU, Execution, Non-preemptive, Operating System, Preemptive, Priority, Priority CPU Scheduling Algorithm, Process, Processor, Resources, Schedule, Scheduling, Shortest Job First, Waiting
|
| Subscribe by Email |
|
Monday, June 17, 2013
Explain the Round Robin CPU scheduling algorithm
How to implement Round Robin CPU scheduling algorithm
- The ready queue is maintained as the FIFO
(first in first out) queue of the processes.
- Addition of new processes is made at the rear
end of the ready queue and selection of the process for execution by the
processor is made at the front end.
- The process first in the ready queue is thus
picked by the CPU scheduler. A timer is set that will interrupt the
processor when the time slice elapses. When this happens the process will
be dispatched.
- In some cases the CPU burst of some processes
may be less than the size of the time slice. If this is the case, the
process will be voluntarily released by the CPU. The scheduler will then
jump to the process next in the ready queue and fetch it for execution.
- While in other cases the CPU burst for some
processes might be higher than the size of the time slice. In this case
the timer set will send an interrupt to the processor, thus dispatching
the process and putting it at the rear end of the ready queue. The
scheduler will then jump to the next process in the queue.
Posted by
Sunflower
at
6/17/2013 04:47:00 PM
0
comments
Labels: Algorithm, Conditions, CPU, Implementation, Operating System, Preemption, Processes, Processor, Queue, Ready, Round Robin, Scheduling, Scheduling algorithm, System, Time, Time sharing, Waiting
|
| Subscribe by Email |
|
Saturday, June 15, 2013
What is Process State Diagram?
Process States
Posted by
Sunflower
at
6/15/2013 09:36:00 PM
0
comments
Labels: CPU, Diagram, Events, Input, Memory, Multiple, Multitasking, Operating System, Primary, Process, Process Sate Diagram, Processors, Queue, Ready, Secondary, States, Time, Transition, Waiting
|
| Subscribe by Email |
|
What is CPU Scheduling Criteria?
What Criteria is used by algorithms for Scheduling?
Below mentioned are some of the criteria used by these algorithms for scheduling:
1. CPU utilization:
- It is a property of a good system to keep the CPU as busy as possible all the time.
- Thus, this utilization ranges from 0 percent to 100 percent.
- However, in the systems that are loaded lightly, the range is around 40 percent and for the systems heavily loaded it ranges around 90 percent.
2. Throughput:
- The work is said to be done if the CPU is busy with the execution of the processes.
- Throughput is one measure of CPU performance and can be defined as the number of processes being executed completely in a certain unit of time.
- For example, in short transactions throughput might range around like 10 processes per second.
- In longer transactions this may range around only one process being executed in one hour.
3. Turnaround time:
- This is an important criterion from the point of view of a process.
- This tells how much time the processor has taken for execution of a processor.
- The turnaround time can be defined as the time duration elapsed from the submission of the process till its completion.
4. Waiting time:
- The amount of time taken for the process for its completion is not affected by the CPU scheduling algorithms.
- Rather, these algorithms only affects the time when the process is in waiting state.
- The time for which the process waits is called the waiting time.
5. Response time:
- The turnaround is not a good criterion in all the situations.
- The response time is favorable in the case of the interactive systems.
- It happens many a times that a process is able to produce the output in a fairly short time compared to the expected time.
- This process then can continue with the next instructions.
- The time taken for a process from its submission till production of the first response is calculated as the response time and is another criterion for the CPU scheduling algorithms.
All these are the primary performance criteria out of which one or more can be selected by a typical CPU scheduler. These criteria might be ranked by the scheduler depending up on their importance. One common problem in the selection of performance criteria is the possibility of conflict ion between them.
For example, increasing the number of active processes will increase the CPU utilization but at the same time will decrease the response time. This is often desirable to produce reduction in waiting time and turnaround time also. In a number of cases the average measure is optimized. But there are certain cases also where it is more beneficial to optimize the maximum or the minimum values.
It is not necessary that a scheduling algorithm that maximizes the throughput will decrease the turnaround time. Out of a mix of short and long jobs, if a scheduler runs only the short jobs, it will produce the best throughput. But at the same time the turnaround time for the long jobs will be so high which is not desirable.
Posted by
Sunflower
at
6/15/2013 09:22:00 AM
0
comments
Labels: Algorithms, CPU, Criteria, Input, Load, Multiprocessor, Multitasking, Output, Performance, Processes, Response, Schedule, Scheduling, System, Throughput, Time, Transaction, Turnaround, Utilization, Waiting
|
| Subscribe by Email |
|
Tuesday, May 21, 2013
Define the Virtual Memory technique?
What is Virtual Memory technique?
Posted by
Sunflower
at
5/21/2013 05:40:00 PM
0
comments
Labels: Contiguous, CPU, Fragmentation, Hardware, Kernel, Memory, Memory management, Multitasking, Operating Systems, Physical, Process, Secondary, Space, Storage, Technique, Virtual, Virtual Memory
|
| Subscribe by Email |
|
Wednesday, May 15, 2013
What is the Process Control Block? What are its fields?
Posted by
Sunflower
at
5/15/2013 06:09:00 AM
0
comments
Labels: Classes, CPU, Create, Data, files, Input, Kernel, Memory, Multi-tasking, Operating System, Output, PCB, Process, Process Control Block, Resources, Structure, Tables, Tasks, update, User
|
| Subscribe by Email |
|
Sunday, May 5, 2013
What is DRAM? In which form does it store data?
What is Dynamic Random Access Memory (DRAM)?
- Charged and
- Discharged
Posted by
Sunflower
at
5/05/2013 09:40:00 PM
0
comments
Labels: Advantages, Bits, Capacitors, Conditions, CPU, Data, Disadvantage, DRAM, Dynamic, Information, Memory, Physical, Random, Random Access Memory, States, Static, Storage, Store, Transistor, Volatile
|
| Subscribe by Email |
|
Friday, May 3, 2013
What is a Dispatcher?
- Long-term schedulers
- Medium-term schedulers
- Short-term schedulers
- Switching the context
- Turning on the user code
- Making a jump to the exact location of the
program from where it has to be restarted.
Process of Dispatcher
- The program presently having
the context is executed by the processor. Things used by this program
include stack base, flags, program counter, and registers and so on. There
is a possible exception of the reserved register that is native to the
operating system. The executing program does not have any knowledge
regarding the dispatcher.
- For dispatcher a timed
interrupt is triggered. Here the program counter jumps to the address listed
in the BIOS interrupt. This marks the beginning of the execution of the
dispatch sub routine. The dispatcher then deals with the stacks and the
registers etc. of the program that raised the interrupt.
- Dispatcher like the other
programs consists of some sets of instructions that operate up on the
register of the current program. These instructions know everything of the
previously executed programs. Out of these, the first few instructions are
responsible for storing the state of the program.
- Dispatcher next determines
which program should be given the CPU next for executing. Now it deletes
all the statistics of the previously executed state and fills in the
details of the next process to be executed.
- Dispatcher jumps to the address
mentioned in the program counter and establishes a full context on the
processor.
Posted by
Sunflower
at
5/03/2013 06:00:00 PM
0
comments
Labels: Context, Control, CPU, Dispatch, Dispatcher, Execute, Location, Memory, Operating System, Process, Processor, program, Registers, Schedulers, Scheduling, Switching, Time, User, Values
|
| Subscribe by Email |
|