summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-02-08 10:59:54 -0700
committermo khan <mo@mokhan.ca>2021-02-08 10:59:54 -0700
commit988d6a7ad5e0560adf6e2b061e2ff7d54d8baa06 (patch)
treeee699ec40e9e8d7e7ea01d8952bcffed442d8a85
parent6c613e1baea8a7c06231980c565b6c8bbf53211a (diff)
describe DMA
-rw-r--r--doc/assignment1.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/assignment1.md b/doc/assignment1.md
index 1fc8d5f..8bc1abc 100644
--- a/doc/assignment1.md
+++ b/doc/assignment1.md
@@ -160,6 +160,14 @@ Instructions: Please answer the following questions in complete sentences. Your
this is typically handled in the hardware layer.
1. Describe why direct memory access (DMA) is considered an efficient mechanism for performing I/O.
+
+ Reading data from different types of hardware can yield inconsistent I/O performance.
+ It can also degrage harder at a faster rate due to increased usage. DMA allows for
+ copying data from hardware into an in memory buffer that can be accessed directly.
+ This allows read sequential pieces of data from the hardware less often and speeds
+ up access to the data. One interrupt is generated per block rather than the one
+ interrupt per byte of data read.
+
1. Describe why multicore processing is more efficient than placing each processor on its own chip.
1. Describe the relationship between an API, the system-call interface, and the operating system.
1. Describe some requirements and goals to consider when designing an operating system.