Device Management (week 4) Flashcards
I/O systems are designed to handle_______ which are of many magnitudes __________ than the slowest CPU
I/O devices
slower
for efficient performance, there should be as much overlap as possible between the
operation of the ___________
I/O devices and the CPU
what is device manager
manages the collection of device driveres
what does the device manager do
manages the collection fo device drivers
makes it possible for the OS to then provide a standard set of system calls to application programs, which use the devices
what do device drivers do ?
A system call might mean different things to different devices. This system call has to be interpreted so that the devices can work. Devices drivers are used to interpret the system calls to ensure that the devices work properly.
device driver is the __________ module
device-dependent (comes with equipment you purchased)
device manager is the ________ module
device independent
what are the 3 categories of devices
block
character
network
storage devices are classified into 2 categories called
sequential
direct access
what is device status table
device status table is used by the device manager to keep track of the various devices
what information does the device status table contain
device id
device status (done, busy, idle)
queue of processing waiting for the device
what do programs which perform I/O operations expect
expect the IO operation to be completed before the next statement is executed
how can there be a performance gain
we can make the program execute instructions while the IO is taking place
this should be done without violating the serial execution order of the program
what is the main problem in trying to integrate many different devices into the computer system
different devices have different characteristics and thus require different methods to access or use.
To use these devices, application programs need to know every device’s characteristics and methods of access. This is not practically possible as new devices are produced all the time
How does the OS solve the problem of trying to integrate many different devices into the computer system
OS provides abstraction through its device manager which standardizes the interface required to use all the devices in each class. Application programs just need to know a standard device interface to use all the devices in that class. (FOR EG ALL TYPES OF SCANNERS ETC)