Docsity

I/O Systems, Interconnects, and Bus-Based Communication, Slides of Advanced Computer Architecture

Partial preview of the text

Download I/O Systems, Interconnects, and Bus-Based Communication and more Slides Advanced Computer Architecture in PDF only on Docsity!

Today’s Topics

Recap:

I/O interconnect Trends

Bus-based Interconnect

Bus Standards

Conclusion

Last time we noticed that the overall performance of a computer is measured by its throughput, which is very much influenced by the systems external to the processor

The effect of neglecting the I/Os on the overall performance of a computer system can best be visualized by Amdahl's Law which identifies that: system speed-up limited by the slowest part!

We noticed that an I/O system comprises storage I/Os and Communication I/Os

Recap: I/O System

Recap: I/O Systems

  • high capacity, hierarchically managed storages as data utilities

We noticed that diversity, capacity, latency and bandwidth are the most important parameters of I/O performance measurement

I/O system works on the principle of producer- server model, which comprises an area called queue , wherein the tasks accumulate while waiting to be serviced The metrics of disk I/O performance are:

Recap: I/O Systems

  • Response Time, which is the time to Queue + Device Service time; and
  • Throughput, which is the percent of the total bandwidth

Example:

Comparing the performance of different I/Os

Assume the following parameters, and compare the time to read and write a 64Kbyte block to flash memory and disk

I/O Performance Measurement: Example

─ Average read or write time for disk is same and is calculated as: = Average seek time + Average rotational delay + Transfer time + Controller overhead = 4.0 ms+ 8.3 ms + 64KB/4.2 MB/sec + 0.1 ms = 27.3 msec. ─ Read time for flash is the ratio of the flash size to the read bandwidth: = 64KB/1B/65ns = 4.3 ms ─ Flash is about 6 times faster than the disk for reading 64KB

I/O Performance Measurement: Example

─ Write time for flash is sum of the erase time and the ratio of the flash size to the write bandwidth:

= (64KB/4KB/5ms) + (64KB/1B/1.5μs) = 178.3 ms

The disk is about 6 times faster than the flash for writing 64KB

Interconnect Trends .. Cont’d

Network

1000 m

10 - 100 Mb/s

high (>ms )

low Extens ive CRC

Channel

10 - 100 m

40 - 1000 Mb/s

medium

medium Byte Parity

Backplane

1 m

320 - 1000+ Mb/s

low (<μs)

high Byte Parity

Distance

Bandwidth

Latency

Reliability

memory-mapped wide pathways centralized

message-based narrow pathways distributed

Bus-Based Interconnect

Communication on different interconnects is done via buses

Bus is a shared communication link between subsystems

The advantages of using buses are:

  • Low cost: a single set of wires is shared multiple ways
  • Versatility: Easy to add new devices & peripherals may even be ported between computers using common bus

Bus-Based Interconnect

Bus speed is limited by physical factors,

such as:

  • the bus length
  • the bus loading, i.e., number of devices

connected to a bus

these physical limits prevent arbitrary bus

speedup, which make the bus design

difficult

Bus-Based Interconnect

Buses are classified into Two generic types as:

  • I/O busses: are lengthy, facilitate to connect many types of devices, offer wide range in the data bandwidth, and follow a bus standard

(I/O bus is sometimes called a channel )

  • CPU – memory buses: high speed, matched to the memory system to maximize memory – CPU bandwidth, single device (sometimes

called a backplane )

Bus Transactions

The memory responds by sending the

data and de-asserting the wait signal

Write Transaction:

  • Address and data are sent down the bus

to the memory together with asserting the

write signal

  • The memory stores the data and de-

asserting the wait signal

Bus Transition Protocols

Bus transition or bus Communication Protocols specify the sequence of events and timing requirements in transferring information

Synchronous Bus Transfers: follows a sequence of operations relative to a common clock

Asynchronous Bus Transfers is not clocked and uses control lines (req., ack.) which provide handshaking among the devices having bus transition

Synchronous Bus Protocols

Address Data

Read

Wait

Clock

begin read

Read complete

The data are not ready until the wait signal is reasserted

Asynchronous Handshake

The asynchronous bus is not clocked, rather it is self timed

Hand shaking protocols are used between the bus sender and receiver

Address Data Read Req. Ack.

Master Asserts Address Master Asserts Data

Next Address

Write Transaction

t0 t1 t2 t3 t4 t

4 Cycle Handshake