OS topic 19 – The operating system zoo Flashcards

1
Q

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

A

Microkernels
Embedded OSs
Real-time OSs
Parallel computing systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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_____.

A

monolithic
speed
maintain
fail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.

A

minimal
software
kernel
user space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Microkernels

The advantages of a microkernel come at a cost.
What is the cost?

A

Performance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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.

A

overhead
performance issues

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

excess or additional resources
time
computational power

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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.

A

dedicated function

smartwatches and mp3 players
traffic-light controllers
cars and medical equipment , etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Embedded and real-time OSs

There are two key criteria for any embedded operating system:

R________ efficiency and r__________.

A

Resource efficiency and reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Embedded and real-time OSs

True or false?
Embedded systems do not have many resource constraints.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Embedded and real-time OSs

Updating embedded systems is not easy.
Why not?

A

Not all devices have internet access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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_______.

A

reliably
years
faults

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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.

A

Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Real-time OSs

A real-time system (RTS) has to produce the c______ c_____________ r__________ within a defined time period.

A

correct computational result

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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.

A

fails
priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Real-time OSs

Give an example of where a soft RTS might be used.

A

In systems such as media streaming: it is not particularly noticeable if an audio stream loses a few bits.

17
Q

Real-time OSs

Give an example of where a hard RTS might be used.

A

A system within an autonomous car deciding whether to brake to avoid the pedestrian who has stepped into the road must deliver a result within a defined time frame, otherwise the result of the decision is irrelevant.

18
Q

Real-time OSs

True or false?
Linux was not developed to be a real-time operating system.

A

True

19
Q

How did Linux become a real-time operating system?

A

A patch to the kernel, the PREEMPT_RT patch, has been developed to turn Linux into a real-time operating system.

20
Q

Parallel computing

Since the early 2000s, most processors have become m_______, essentially placing multiple processors onto a single chip so that they can operate in p_______, each completing a separate task. But even this shift in chip design has not kept pace with the processing power needed for some activities.

A

multicore
parallel

21
Q

Parallel computing

A system with more than one processor should have a higher t___________ of instructions than a single-processor system, since each processor can be executing instructions at the same time. This is true parallel processing – that is, simultaneous performance of r________ tasks by two or more independent and non-dedicated processors – rather than the concurrency obtained by multitasking

A

throughput
simultaneous
related tasks

22
Q

Parallel computing

True or false?
Adding processors to a system is a simple matter.

A

False

Adding processors to a system is not a simple matter: there are trade-offs involved which can be satisfied in several different ways.

23
Q

Multiprocessor and multicore systems

What is the difference between Multiprocessor and multicore systems?

A

The key distinction lies in whether the multiple processing units are integrated onto a single chip (multicore processor) or if they are separate, individual processor chips within the same system.

24
Q

Processors in GPUs

GPU stands for G__________ P__________ U___________.

A

graphics processing unit

25
Q

Processors in GPUs

The CPU isn’t necessarily the only component of a computer that can p_____ d____.
Another common component able to handle processing is the graphics processing unit (GPU).

A

process data

26
Q

Processors in GPUs

True or false?
Rendering graphics, particularly 3D graphics, is computationally expensive in terms of processing data.

A

True

27
Q

Processors in GPUs

GPUs are designed to be extremely m______________ and to process large volumes of data quickly, but are poorly suited to general-purpose processing.

A

multithreaded

28
Q

Cluster systems

A common a_____________ for increasing processing power is a cluster.

A cluster architecture connects together individual computers – minimally consisting of a processor, local memory and storage – over a fast connection.

A layer of m_________ software sits on each individual computer (also called a n_______), allowing a user to treat the cluster as a single computer.

A

architecture
middleware
node

29
Q

Cluster systems

True or false?
Usually, each of the computers in a cluster runs the same operating system.

A

True

30
Q

Cluster systems

True or false?
In a cluster, processors share memory

A

False - they don’t share memory so the operating system and application programs have to be designed to use other mechanisms for communication; these are significantly slower than in a shared-memory multiprocessor system.

31
Q

Cluster systems

The most sophisticated clusters are s________________ using specialised connections such as the InfiniBand networking connection and running specially designed operating systems.

A

supercomputers

32
Q

Cluster systems

Supercomputers are designed to run large-scale a_____________ such as climate modelling, drug discovery and weather f_______________

A

applications
forecasting

33
Q

Distributed systems

Building a supercomputer from large numbers of processors is certainly possible for those who have the money and space to do so. But people have noticed that large numbers of connected processors already exist in the form of n__________ m_________, particularly if they think big and include all the computers connected to the internet.

A

networked machines

34
Q

Distributed systems

A distributed system is formed when many computers cooperate on a problem, communicating by means of standard n__________ h__________.

A

network hardware

35
Q

Distributed systems

One of the most famous large distributed systems was the SETI@home project.

This research project based at the University of California at Berkeley is a search for extra-terrestrial intelligence

Volunteers download a program to their machine, and this program runs whenever their machine is otherwise i______.

The SETI program downloads a chunk of data from Berkeley, analyses it, and sends back the results.

A

idle

36
Q

Distributed systems

True or false?

These projects basically use your computer as a processor.

A

True

37
Q

Distributed systems

As with a cluster system, there is no shared memory in a distributed system. Instead, communication between processes is by messages sent over conventional networking hardware.

What is a downside to the message system?

A

Slow

38
Q
A
39
Q
A