存储器 Typical access time Typical capacity nsec Registers <1 KB 2 nsec Cache 1 MB 10 nsec Main memory 64-512MB 10 msec Magnetic disk 5-50GB 100 sec Magnetic tape 20-100GB 典型存储器层次结构 -数字为近似值 2002-5-17 东北大学软件所于戈 第0章操作系统回顾
2002-5-17 东北大学软件所 于戈 第0章 操作系统回顾 11 存储器 • 典型存储器层次结构 – 数字为近似值
硬盘结构 Read/write head(1 per surface) Surface 7 Surface 6 Surface 5 Surface 4 Surface 3 Direction of arm motion Surface 2 Surface 1 Surface O 扇区、磁头、柱面 2002-5-17 东北大学软件所于戈 第0章操作系统回顾
2002-5-17 东北大学软件所 于戈 第0章 操作系统回顾 12 硬盘结构 扇区、磁头、柱面
内存 Address OXFFFFFFFF program 2 is running User program Regist when Limit-2 and data program 1 User-2 data Base-2 Limit Limit-2 User program Base-2 User-1 data and data Limit-1 Limit-1 Base User program Base-1 Base-1 Operating ating System System (a) (b) (a)单地址空间(b)多地址空间 2002-5-17 第0章操作系统回顾 13 东北大学软件所于戈
2002-5-17 东北大学软件所 于戈 第0章 操作系统回顾 13 内存 (a) 单地址空间 (b)多地址空间
IO中断 rIve Current instruction Next instruction Disk CPU 3 Interrupt controller controller 3. Return 1. Interrupt 2. Dispatch Interrupt handler (b) a)启动ⅣO设备的步骤 (b)中断处理步骤 2002-5-17 东北大学软件所于戈 第0章操作系统回顾
2002-5-17 东北大学软件所 于戈 第0章 操作系统回顾 14 IO中断 (a) 启动 I/O设备的步骤 (b) 中断处理步骤 (a) (b)
Pentium机系统结构 Cache bus Memory bus Level 2 PCI bridge emor PCI bus SCSI ISA 卜→ adaptor Available bridg PCI slot Mouselboard ISA bus 凵凵 Modem Sound card Printe Available iSA sIc 2002-5-17 第0章操作系统回顾 15 东北大学软件所于戈
2002-5-17 东北大学软件所 于戈 第0章 操作系统回顾 15 Pentium机系统结构