跳转至

IO

约 163 个字 5 张图片 预计阅读时间 1 分钟

Introduction

image-20240531224325217

  • Behavior 行为

Input (read once), output (write only, cannot read) ,or storage (can be reread and usually rewritten)

  • Partner 交互对象

Either a human or a machine is at the other end of the I/O device, either feeding data on input or reading data on output. 一端一定是CPU <= 数据必须传到CPU处理

  • Data rate

The peak rate at which data can be transferred between the I/O device and the main memory or processor.

Performance

Amdahl’s (阿姆达尔)law

Disk Storage and Dependability

image-20240531225857958

Performance

RAID

image-20240531232656079

- 只有最后一个可以在两个错误发生的情况下survive

  • Capacity penalty to store redundant info
  • Bandwidth penalty to update redundant info

Buses and Other Connections between Processors Memory, and I/O Devices

计算

同步异步的BandWidth

image-20240603192152694

image-20240603192322383

  • 地址给Memory
  • 读取数据
  • 传输数据