Basics of Operating Systems (IT2019-2) : Assignment V
Basics of Operating Systems (IT2019-2) : Assignment V
GIANG LE e1800927
Assignment V:
1. What is direct memory access (DMA)? Why is it needed? What is UDMA?
DMA is a feature that allows external devices send registers to the main memory
without any CPU intervention. When the transfer is done, it sends a single interrupt to
CPU
DMA is needed to avoid sending too many interrupts to CPU, that allows CPU performs
other works, improving performance
UDMA (Ultra DMA) is the fastest protocol used to transfer data through the ATA
controller, which is an interface that connects hard drives, CD-ROM drives and other
drives
2. What is the difference between Switch and Bus technologies on a Computer system?
In Bus technology, the path to different components of the network are shared -> slow
In Switch technology, there are many concurrent paths to different components, these
paths are point to point -> faster
1
circuit that accepts binary data as input, processes it according to instructions stored in its
memory, and provides results (also in binary form) as output.
10. What could be the drawback (disadvantages) of a SMP system? What is the solution?
2
The Operating System and programs/applications running an SMP system need to be
compatible with it; otherwise the multiple processors are completely wasted.
Cannot use floating-point based processors
There are limits to SMP systems due to scalability limits of modern processors.
The master CPU can become bottlenecked (a bottleneck being a single part of a system
that ends up completely crippling the system’s ability to function the way it’s intended
to).
Solution:
I/O must be carefully controlled to ensure that the data reach the appropriate
processor. Also, since the CPUs are separate, one may be sitting idle while another is
overloaded, resulting in inefficiencies.
These inefficiencies can be avoided if the processors share certain data structures. A
multiprocessor system of this form will allow processes and resources—such as
memory—to be shared dynamically among the various processors and can lower the
variance among the processors.
11. What is uniform memory access (UMA)? What is non-uniform memory Access (NUMA)?
UMA is defined as the situation in which access to any RAM from any CPU takes the
same amount of time.
NUMA is when some parts of memory take longer to access than other parts
13. What is the difference between blade and traditional multiprocessor systems?
The different between blade and traditional multiprocessor systems is that each blade-
processor board boots independently and runs its own operating-system.
14. What is the difference between a clustered system and a multiprocessor system?
In clustered system, individual systems are tied together and multiprocessor system is
only single system
LAN networking is used in clustered system, in multiprocessor system LAN is not
required
The aim is high availability in clustered system whereas in multiprocessing it is time
saving
The processors share common system clock and common data structures.
3
In symmetric clustering, two or more hosts are running applications and are monitoring
each other. This structure is obviously more efficient, as it uses all of the available
hardware. However, it does require that more than one application be available to run.
In asymmetric clustering, one machine is in hot-standby mode while the other is
running the applications.