Wednesday, September 25, 2013
What is meant by multiplexing?
Posted by
Sunflower
at
9/25/2013 02:58:00 PM
0
comments
Labels: Analog, Channels, Communication, Data, Demultiplexing, digital, Frequency, Messages, Multiple, Multiplexing, Multitasking, Networks, Performance, Physical, Process, Resources, Signals, Types
|
| 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 |
|
Wednesday, June 5, 2013
Explain the various techniques for Deadlock Prevention
- Recursive
locks: In such locks, only one thread can pass through it. Any other
threads or processes entering the lock need to wait for the initial one to
pass through after its task is finished.
- Non
– recursive locks: Here only once a thread can enter the lock. If the same
thread again tries to enter the lock without unlocking it, a deadlock can
occur.
Posted by
Sunflower
at
6/05/2013 01:46:00 PM
0
comments
Labels: Algorithms, Conditions, Data, Deadlock Prevention, Deadlocks, Distributed, Environment, Multiprocessing, Multitasking, Operating System, Performance, Prevention, Processes, Resources, System, Wait
|
| 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 |
|
Sunday, May 19, 2013
What are different types of schedulers and their workings?
Important things about Scheduler
- Throughput
- Latency inclusive of
the response time and the turnaround time
- Waiting time or the
fairness time
Types of Schedulers
Posted by
Sunflower
at
5/19/2013 09:05:00 PM
0
comments
Labels: Long-term, Memory, Middle-term, Multiplexing, Multitasking, Operating System, OS, Process, Processor, Queue, Requests, Requirements, Resources, Schedulers, Scheduling, Short-term, System, Tasks, User
|
| Subscribe by Email |
|
Friday, May 17, 2013
Define a process? What are sequential and concurrent processes?
Concepts of Process
- When the task is performing I/O operations or
- When the task itself indicates that it can now
be switched or
- On hardware interrupts.
Posted by
Sunflower
at
5/17/2013 06:00:00 AM
0
comments
Labels: Code, Concurrent, Data, Hardware, Input, Inter-process, Interrupts, Multitasking, Operating System, Operations, Output, Process, Processes, program, Resources, Sequential, Software, Tasks, Time-sharing
|
| Subscribe by Email |
|
Saturday, May 4, 2013
What is Context Switch?
Potential Triggers for a Context Switch
Posted by
Sunflower
at
5/04/2013 08:35:00 PM
0
comments
Labels: Context Switch, Execution, Hardware, Interrupt handling, Interrupts, Kernel, Multitasking, Operating System, Process, program, Restore, Scheduling, state, Storing, Switching, Triggers, User
|
| Subscribe by Email |
|
Friday, July 27, 2012
What are the causes for the failure of traditional planning approach?
Causes for Planning Failure
Cause #1: Planning is done by activity and not feature
- The traditional approaches to planning focus on activity completion rather than on delivery of features.
- Activity based plans generally lead to projects that overrun their schedules.
- Hence, quality is reduced.
Cause #2: Activities do not finish early
Cause #3: Lateness is passed down the schedule
- Traditional approaches being activity based, their main focus is to focus on dependencies between activities.
- Testing will start late if anything goes worse than planned according to traditional approach.
- Testing will start early if everything goes better than planned.
Ways to avoid late start of testing are:
1. User interface coding finishes late.
2. Middle tier coding takes longer than planned and finishes late.
3. Middle tier coding starts late as tables adding to database finishes late.
4. Tester is not available.
Cause #4: Activities are not independent
- Activities are independent if duration of one activity does not influence the duration of another activity.
- For independent activities, late finish on one activity can be offset by an early finish on another.
Cause #5: Delay caused by multitasking
- Multitasking exacts a horrible toll on productivity.
- It becomes an issue once a project starts to have some activities that finish late.
- Dependencies between activities become critical.
- For a traditionally planned project, multitasking becomes a problem for two reasons:
1. Work is assigned in advance and it is impossible to allocate work efficiently in advance.
2. It focuses on achieving high level of utilization of all individuals rather than on maintaining sufficient slack.
Cause #6: Features are not developed by priority
Cause #7: Ignoring Uncertainty
- We fail to acknowledge uncertainty in traditional approach.
- Ignore the uncertainty about product.
- Assuming initial requirement analysis will lead to complete specification of product.
- Ignoring uncertainty about how we will build the product.
- The best way to deal with uncertainty is to iterate.
After looking at the problems with traditional approaches to planning, many projects are disappointing. Planning based on activity diverts us from features and as a result, a variety of problems leads to the likelihood of delivering late against a schedule.
Posted by
Sunflower
at
7/27/2012 10:16:00 PM
0
comments
Labels: activities, Activity, Activity based plan, Approach, Dependency, Duration, Features, Focus, Independent, Multitasking, Plan, Planning, Projects, Reasons, Results, Schedule, Testing, Time, traditional, User Interface
|
| Subscribe by Email |
|