OS topic 19 – The operating system zoo Flashcards
There are a few of the main types of OS that you may be less aware of:
M________________
Em____________ OSs
Real-t________ OSs
P____________ computing systems
Microkernels
Embedded OSs
Real-time OSs
Parallel computing systems
Microkernels
Most desktop operating systems use a m________ kernel. This architecture places the entire operating system within the kernel space. This has s_______ advantages, but means that kernels can become huge – millions of lines of code – making them hard to m________. Additionally, a fault anywhere in the kernel can spread to other modules, causing the entire system to f_____.
monolithic
speed
maintain
fail
Microkernels
An alternative to the monolithic kernel is the microkernel.
The core principle behind a microkernel is that only a m________ amount of s_______ is provided within the k______, with other operating system functions – such as device drivers and files systems – running in u______ space.
minimal
software
kernel
user space
Microkernels
The advantages of a microkernel come at a cost.
What is the cost?
Performance
Microkernels - Performance issues
Having to constantly send and receive inter-process communication messages through the microkernel, requiring a switch from user to kernel mode, is an o________ that can cause p___________ issues.
overhead
performance issues
Definition - Overhead
In computing, overhead refers to the
e______ or a_______ resources, t_____, or
c____________ power required by a process, system, or operation beyond what is strictly necessary to perform the core functionality.
excess or additional resources
time
computational power
Embedded and real-time OSs
Embedded systems are computers that have a d_________ function, sometimes within a larger system.
Give some examples of devices with embedded systems.
dedicated function
smartwatches and mp3 players
traffic-light controllers
cars and medical equipment , etc
Embedded and real-time OSs
True or false?
Unlike a general-purpose operating system, the OS of an embedded device has one purpose: to support the running of the software that allows the embedded device to fulfil its purpose.
True
Embedded and real-time OSs
There are two key criteria for any embedded operating system:
R________ efficiency and r__________.
Resource efficiency and reliability
Embedded and real-time OSs
True or false?
Embedded systems do not have many resource constraints.
False - In addition to a requirement to be power efficient as many are battery powered, embedded systems tend to have small amounts of memory and low-performance CPUs. This helps keep the costs of devices low, and also reflects that the system only needs to undertake certain activities. These resource restraints mean that an embedded operating system has to be as efficient as possible and run on a small memory footprint.
Embedded and real-time OSs
Updating embedded systems is not easy.
Why not?
Not all devices have internet access
Embedded and real-time OSs
As a result of update constraints, it is essential that the operating system can run r_______ for long periods of time – up to y_______ in some cases – without developing any f_______.
reliably
years
faults
Embedded and real-time OSs
Linux or Unix?
_________ is commonly used in many types of embedded systems, including all Android phones and tablets, a wide variety of cars, and a host of other commercial and industrial embedded systems.
Linux
Real-time OSs
A real-time system (RTS) has to produce the c______ c_____________ r__________ within a defined time period.
correct computational result
Real-time OSs
Real-time systems are often talked about in terms of ‘hardness’ where:
A hard RTS guarantees that critical tasks are completed before the deadline.
If the task is not completed, the system f_____.
A soft RTS gives critical tasks p______ until they are completed. The system doesn’t fail if the task isn’t completed on time.
fails
priority