I/O interface: (a) Consider the following I/O scenarios on a single-user PC: i. A mouse used with a graphical user interface ii. A disk drive containing user files iii. A graphics card with direct memory bus connection, accessible via memory-mapped I/O For each of these I/O scenarios, would you use polled I/O or interrupt-driven I/O? Would you design the operating system to use buffering, spooling, caching, or a combination? (b) The operating system normally performs resource accounting in order to determine, for instance, the amount of CPU time that a process has already consumed for scheduling purposes. Discuss why interrupts and execution in kernel mode could complicate this process. (Question: Operating System)
I/O interface:
(a) Consider the following I/O scenarios on a single-user PC:
i. A mouse used with a graphical user interface
ii. A disk drive containing user files
iii. A graphics card with direct memory bus connection, accessible via memory-mapped I/O For
each of these I/O scenarios, would you use polled I/O or interrupt-driven I/O? Would you design the
system
(b) The operating system normally performs resource accounting in order to determine, for instance, the
amount of CPU time that a process has already consumed for scheduling purposes. Discuss why interrupts and
execution in kernel mode could complicate this process.
(Question: Operating System)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps