Sie sind auf Seite 1von 3

Name:_______Ferdinand Landry II_____________________

CMIS 310 Spring 2015


HOMEWORK #6 Week #6
This homework is worth 10% of your course grade.
Read each problem carefully. Failure to follow the instructions for a problem will
result in a zero score for that problem.
Submit the completed Homework via Assignment in LEO.
1.

A 32-bit computer has two selector channels and one multiplexor channel. Each
selector channel supports two magnetic disk and two magnetic tape units. The
multiplexor channel has two line printers, two card readers, and ten VDTs
terminals connected to it. Assume the following transfer rates.
Disk drive
800 Kbytes/s
Magnetic tape drive
200 Kbytes
Line printer
6.6 Kbytes/s
Card Reader
1.2 Kbytes/s
VDT
1 Kbytes/s
Estimate the maximum aggregate I/O transfer rate in this system.
To estimate the maxium aggregate I/O transfer rate in this system we need to
estimate the maximum transfer rates for each channel. The maximum transfer rate
for each selector channel is 800 (total of 1600KB/sec because only one device at a
time can be transferred from on a selector channel. Multiplexor channel allow all
devices to be transferred from at the same time for a total of 2(6.6) + 2(12) +
1(10) = 25.6 KB/sec. Therefore:
Maximum aggregate I/O transfer rate = sum of selector channels max transfer
rates + multiplexer max transfer rate = 1600KB/sec + 25.6KB/sec = 1625.6
KB/sec

2.

Given the following set of events, show which routines the CPU is executing for
times 0 to 100 ns. Each handler routine (with its interrupt request) takes 20 ns to
complete. The priority of the interrupts ranges from IRQ6 as the highest priority
interrupt to IRQ0 as the lowest priority interrupt.
Time
0 ns
10 ns
20 ns
35 ns
50 ns
Time

Action
Start of main program
IRQ1
IRQ3
IRQ4
IRQ6

Action

0 ns:
10 to 20 ns
20 to 35 ns
35 to 50 ns
50 to 70 ns
70 to 75 ns
75 to 80 ns
80 to 90 ns
90 to 100 ns

Start of Main Program


IRQ1
IRQ3
IRQ4
IRQ6
IRQ4
IRQ3
IRQ1
main program

3. If an address bus needs to be able to address eight devices, how many conductors
will be required? What if each of those devices also needs to be able to talk back
to the I/O control device?
Each conductor carries 1 bit of information this implies that we need 3 conductor to
address a 8 = 2^3 devices. We can add three more conductors to talk back to the I/O
control device.
4. Define the terms seek time, rotational delay, and transfer time. Explain their
relationship.
Definitions:
Seek time = time takes to position disk arm over a specific track
Rotational delay = time takes for required sector to position itself under read/write
head
Transfer time = access time + read data time
Relationship:
Access time = Rotational delay + seek time
Therefore, transfer time = rotational delay + seek time + read data time
5. Suppose a disk drive has the following characteristics:

6 surfaces

1024 tracks per surface

128 sectors per track

512 bytes/sector
2

Track-to-track seek time of 10 milliseconds

Rotational speed of 6000 RPM.

a. What is the capacity of the drive?


6(1024)(128)(512) = 402653184 bytes implies 384MB
b. What is the access time?
Rotational delay = (60sec/6000RPM) (0.5) = 0.005 seconds = 5milliseconds
Seek time = 10 milliseconds
Access time = rotational delay + seek time = 5 milliseconds + 10 milliseconds
.

Das könnte Ihnen auch gefallen