Operating System Structures

Get Started. It's Free
or sign up with your email address
Rocket clouds
Operating System Structures by Mind Map: Operating System  Structures

1. Operating System Services

1.1. User interface

1.1.1. Almost all operating systems have a user interface (UI)

1.2. Program execution

1.2.1. The system must be able to load a program into memory and to run that program, end execution, either normally or abnormally (indicating error).

1.3. I/O operations

1.3.1. Since user programs cannot execute I/O operations directly, the operating system must provide some means to perform I/O.

1.4. File-system manipulation

1.4.1. Program capabilities to read and write files and directories, create and delete them, search them, list file Information, permission management.

1.5. Communications

1.5.1. Processes may exchange information, on the same computer or between computers over a network

1.6. Error detection

1.6.1. Ensure correct computing by detecting errors in the CPU and memory hardware, in I/O devices, or in user programs.

2. Additional Operating System Functions

2.1. Resource allocation

2.1.1. allocating resources to multiple users or multiple jobs running at the same time.

2.2. Accounting

2.2.1. keep track of and record which users use how much and what kinds of computer resources for account billing or for accumulating usage statistics.

2.3. Protection and security

2.3.1. The owners of information stored in a multiuser or networked computer system may want to control use of that information, concurrent processes should not interfere with each other.

3. System Calls

3.1. provide the interface between a running program and the operating system.

3.2. Three general method

3.2.1. Pass the parameters in registers.

3.2.2. Parameters stored in a block, or table, in memory, and address of block passed as a parameter in a register.

3.2.3. Parameters placed, or pushed, onto the stack by the program and popped off the stack by the operating system.

3.3. Types

3.3.1. Process control

3.3.2. File management

3.3.3. Device management

3.3.4. Information maintenance

3.3.5. Communications

3.3.6. Protection

4. Communication Models

4.1. message passing

4.2. shared memory

5. Layered Approach

5.1. OS divided into a number of layers (levels)

5.1.1. The bottom layers hardware(Layer 0)

5.1.2. The highest layers user interface(Layer N)

5.2. Advantage

5.2.1. Simplicity of construction and debugging

5.3. Disadvantage

5.3.1. The careful definition and interaction of the layers

5.3.2. Less efficient

6. Microkernel

6.1. Small operating system core

6.2. Contains only essential core operating systems functions

6.3. Many services traditionally included in the operating system are now external subsystems

6.3.1. Device drivers

6.3.2. File systems

6.3.3. Virtual memory manager

6.3.4. Windowing system

6.3.5. Security services

6.4. Benefits

6.4.1. Extensibility

6.4.2. Flexibility

6.4.3. Reliability

6.4.4. Portability

7. Operating System Design

7.1. Start by defining goals and specifications

7.2. Design Goals

7.2.1. User goals

7.2.1.1. convenient to use

7.2.1.2. easy to learn

7.2.1.3. reliable

7.2.1.4. safe

7.2.1.5. fast

7.2.2. System goals

7.2.2.1. easy to design

7.2.2.2. implement

7.2.2.3. maintain

7.2.2.4. as well as flexible

7.2.2.5. reliable

7.2.2.6. error-free

7.2.2.7. efficient