Introduction OS Flashcards
Multiprocessors systems dominates
the computing market
Advantages of it include:
a. Increased throughput
b. Economy of scale
c. Increased reliability – graceful degradation
or fault-tolerant.
There are two kinds of multiprocessing
Asymmetric Multiprocessing and Symmetric multiprocessing
Asymmetric Multiprocessing
– Each processor is assigned a specific task:
\+ A boss processor controls the system. \+ The other processors look to the boss for instruction.
Symmetric multiprocessing
– Each processor performs all tasks
Multicore
The CPU that design is to include multiple
computing cores on a single chip. Or to put it simply: Multicore mean 2 or more than 2 CPU equipped in one chip.
Singlecore
Which mean only 1 CPU equipped in one chip.
Muliticore can be more efficient than multiple
chips with single cores
Because ON-CHIP communication is faster
than BETWEEN-CHIP communication
Interrupts
are signals sent to the CPU by external devices, normally I/O devices. They tell the CPU to stop its current activities and execute the appropriate part of the operating system
There are three types of interrupts
- Hardware Interrupts
- Software Interrupts
- Traps
Hardware Interrupts
are GENERATED by hardware devices to SIGNAL that they need some attention from the OS
Hardware Interrupts
are generated by hardware devices to signal that they need some attention from the OS
Software Interrupts
are generated by programs when they want to request a system call to be performed by the operating system
Traps
are generated by the CPU itself to INDICATE that some error or condition occurred for which assistance from the OS is needed
There are two CPU Execution Mode
- User mode
- Kernel or supervisor mode
User mode
is restricted in that certain instructions cannot be executed, certain registers cannot be accessed, and I/O devices can not be accessed
- Can only execute a subset of instructions
- Can only reference a subset of memory locations