- Fixed assignment method
- Dynamic allocation method
- Reinforcement learning
method
Wednesday, July 3, 2013
What are five key assumptions in dynamic channel allocation?
Posted by
Sunflower
at
7/03/2013 04:30:00 AM
0
comments
Labels: Allocate, Allocation, Assumptions, Bandwidth, Carrier, Channel, Collision, Communication, Data, Dynamic Channel Allocation, Frames, Frequency, Interference, Medium, Methods, Stations, Time, transmission, Users
|
| Subscribe by Email |
|
Thursday, June 20, 2013
Explain the single and multiple partition techniques?
- Single
partition techniques
- Multiple
partition techniques
Posted by
Sunflower
at
6/20/2013 05:54:00 PM
0
comments
Labels: Advantages, Allocation, Blocks, Dynamic, Hardware, Information, Management, Memory, Multiple Partition, Partition, Registers, Single Partition, Software, Static, Storage, System, Techniques
|
| Subscribe by Email |
|
Friday, June 14, 2013
Explain the methods for free space management? – Part 2
Posted by
Sunflower
at
6/14/2013 07:19:00 PM
0
comments
Labels: Allocation, Bit, Bit vector, Block, Counting, Disk, files, Free space, Grouping, Linked list, Memory, Methods, Operating System, Physical, Pointer, Processes, Programs, Space, Storage, System
|
| Subscribe by Email |
|
Saturday, June 8, 2013
Explain the methods for free space management? – Part 1
Methods for Free Space Management
Posted by
Sunflower
at
6/08/2013 01:04:00 PM
0
comments
Labels: Allocation, Bit, Bit vector, Block, Counting, Disk, files, Free space, Grouping, Linked list, Memory, Methods, Operating System, Physical, Pointer, Processes, Programs, Space, Storage, System
|
| Subscribe by Email |
|
Sunday, June 2, 2013
Explain the various Disk Allocation methods? – Part 2
What is a Linked Allocation?
- Simplicity and
- Non – requirement of disk
compaction
Disadvantages of Linked Allocation
What is Indexed allocation?
- First level index is used for searching the index of second level and the second one is used for searching the third one and the process may continue till the fourth level.
Advantages and Disadvantage of Indexed Allocation
Posted by
Sunflower
at
6/02/2013 03:44:00 PM
0
comments
Labels: Allocation, Blocks, Contagious, Devices, Disk, Disk Allocation, files, Indexed, Input, Linked, Memory, Methods, Non-Contagious, Output, Primary, Records, Secondary, Storage, System, Types
|
| Subscribe by Email |
|
Saturday, June 1, 2013
Explain the various Disk Allocation methods? – Part 1
Types of Disk Allocation Methods
Posted by
Sunflower
at
6/01/2013 10:26:00 PM
0
comments
Labels: Allocation, Blocks, Contagious, Devices, Disk, Disk Allocation, files, Indexed, Input, Linked, Memory, Methods, Non-Contagious, Output, Primary, Records, Secondary, Storage, System, Types
|
| Subscribe by Email |
|
Monday, May 6, 2013
What is a Safe State and what is its use in deadlock avoidance?
Safe state plays a great role in avoiding the deadlocks. In this article we discuss in detail the concept of this safe state.
When do we call a state safe?
It is when even if the system allocates resources to all the processes and no deadlock occurs. This allocation is to the maximum limits and can be done in any preferred order. To put it down more formally, we can say that a system is considered to be in a safe state only if a safe sequence exists. This would become clearer from the following example:
Consider the following sequence of processes:
- Now this sequence is considered to be a safe one for the current state of the allocation if the resource requests made by each of the processes Pi can be satisfied by resources that are currently available including the resources held by some another process that precedes Pi.
- In this case, if the resources required by the Pi are not presently available, then it can wait till the preceding process completes its executions and releases the resources.
- Once it finishes, the resources it held, now can be utilized by the Pi for completing the task assigned to it and then it also releases back the resources to be used by succeeding processes.
- It then finally terminates.
- If there exists no sequence like this, then the system is said to be in an unsafe state.
- A deadlock cannot occur in a safe state and so this state cannot be called a deadlocked one.
- But on the other side, a state is unsafe if it has a deadlock.
- However, it is not necessary that the reason for all states being unsafe is the deadlock.
- An unsafe state can however lead to a deadlock.
- It is in the safe states, that the operating system is capable of avoiding the deadlocks.
- When the operating system falls in an unsafe state, it is no more in a position to prevent the requests of the processes that would cause a deadlock to occur.
- It is the behavior of the processes by which the unsafe states of the system are controlled.
- Another major difference between the safe and the unsafe states is that in a safe state it is guaranteed by the operating system that the execution of the processes will be completed in expected time but in the case of unsafe states it gives no such guarantee.
- If the concept of the safe state is predefined, then algorithms can be designed that would make sure that no deadlocks occur.
- The idea behind these algorithms would be to ensure the following things:
1. The system does not come out of the safe state.
2. The system is kept in a safe state initially.
3. The system must be able to determine if a resource requested by a process can be allocated immediately to it or it requires waiting.
4. The system grants the request of the process if and only if after finishing it, the system would still be in a safe state.
- One disadvantage of such algorithms is low resource utilization. It is because the process would still have to wait for the resource even if it is available.
- A deadlock occurs when two or more processes that are competing with one another to wait for each other to finish and neither of them do so.
- The deadlock which involves only two processes is called a deadly embrace.
- This may also occur if one process is waiting for the other to finish which in turn is waiting for some other process to finish and so on.
Posted by
Sunflower
at
5/06/2013 09:45:00 PM
0
comments
Labels: Algorithms, Allocation, Control, Current, Deadlock, Execution, Operating System, Process, Processes, Requests, Resources, Safe, Safe State, States, System, Tasks, Unsafe, Utilize
|
| Subscribe by Email |
|
Sunday, April 28, 2013
What is fragmentation? What are different types of fragmentation?
What is Fragmentation?
- The external fragmentation
- Internal fragmentation and
- Data fragmentation
Types of Fragmentation
Posted by
Sunflower
at
4/28/2013 10:13:00 PM
0
comments
Labels: Algorithms, Allocation, Chunk, CPU, Data, External, Fragmentation, Inefficient, Internal, Memory, Performance, Principle, program, Space, Storage, System, Types, Wastage
|
| Subscribe by Email |
|