计算机组成原理 第 5 章存储系统 Cache

Size: px
Start display at page:

Download "计算机组成原理 第 5 章存储系统 Cache"

Transcription

1 计算机组成原理 第 5 章存储系统 Cache llxx@ustc.edu.cn

2 存储层次

3 本章内容 为什么需要 Cache? 性能 结构 Cache 有效性的理论基础 局部性 影响 Cache 命中率的因素 Cache 的基本结构 Cache 的读写操作过程 Cache 一致性 阻塞式 Cache Cache MEM 映射机制 块放哪儿? Cache 控制器 Cache 的替换策略 Cache 性能分析 主要见体系结构课 Cache Coherence 见体系结构课 the write policy (how the processor writes data to the cache so that main memory eventually gets updated); the mapping function (the link between a block's address in memory and its location in the cache); the replacement algorithm (the method used to figure out which block to remove from the cache in order to free up a line). COD4 5.2, 5.3, 5.5, 5.7, 5.9 COD5 5.3, 5.4, 5.8, 5.9, 5.12

4 问题的提出 (1) 主存速度始终跟不上 CPU(25MHz 的 之后 ) 的发展 100MHz 的 Pentium 处理器平均 10ns 就执行一条指令, 而 DRAM 的典型访问时间是 60~120ns 流水线 : 单周期访存 Improvement (compared to year 0) 16x 14x 12x 10x 8x 6x 4x 2x 1x J. Rabaey, BWRC Processor (M MIPS) Hard Disk (capacity) Memory (capacity) Battery (energy stored) Time (years)

5 Cache 对系统性能的影响

6 问题的提出 (2) 结构冲突 总线占用 :CPU 和 I/O 争抢访问主存 减少访存 访存冲突 : 指令预取与数据读写?

7 程序访问的局部性原理 时间局部性 : 最近的访问项 ( 指令 / 数据 ) 很可能在不久的将来再次被访问 ( 往往会引起对最近使用区域的集中访问 ) 空间局部性 : 一个进程访问的各项其地址彼此很近 ( 往往会访问在存储器空间的同一区域 ) for i := 0 to 10 do A[i] := 0;

8 命中 不命中 命中率 Cache 命中 (hit) CPU 欲访问的数据已在缓存中, 即可直接访问 Cache Cache 不命中 (miss, 失配, 缺失 ) CPU 欲访问的数据不在 Cache 内, 此时需将该 数所在的主存整个子块一次调入 Cache 中 CPU 被阻塞 (blocking), 等待数据调入 命中率 (Hit rate) CPU 要访问的信息已在 Cache 内的比率 通常用命中率来衡量 Cache 的效率 不命中率 (Miss rate)

9 Cache 结构 CPU 高速缓存控制器 地址 CACHE 数据 主存 Burst 模式

10 Cache Line/Main Memory Structure Main memory - 2 n words - 2 n /K blocks Cache has C lines of K words each Cache < Memory Tag to identifies block

11 Division of Memory into Blocks

12 Cache Line Structure Cache Line = tag + block( K words ) + control bits Tag: to identifies block,= 块号? control bits 有效位 (Valid): 访问效率 数据是否有效 : 无效数据 :cold start/process migration/first reference 写操作的使无效法 (Invalidated) 重写位 (overwrite,dirty): 行置换算法 数据是否修改? 计数位 (Count): 行置换算法, 访问频度 替换选择标识

13 例 :Cache 基本结构参数 块 ( 行 ) 大小 字节 命中时间 1 2 时钟周期 ( 常规为 1) 失配时间 时钟周期 ( 访问时间 ) (6 60 时钟周期 ) ( 传送时间 ) (2 40 时钟周期 ) 失配率 0.5% 10% Cache 容量 Cache line size match the width of the DRAM simplified the design. 1KB 1MB

14 Cache 效率 容量和块长是影响 Cache 效率的重要因素 Cache 容量越大, 命中率越高 当 Cahce 容量达到一定值时, 命中率不会因容量的增大而明显提高 Cache 容量大, 成本增加

15 Cache 容量 块 ( 行 ) 长 命中率 命中率 H 1 容量大 容量小 BC 块大小

16 例 设 Cache 的速度是主存的 5 倍, 命中率为 95%, 则采用 Cache 后性能提升多少? 系统平均访问时间 =0.95*t+0.05*5t=1.5t 性能提升 =5t/1.5t=3.33 倍 CPU Cache MEM

17 Cache 的读操作 开始 CPU 发出访存地址 Y 命中? N Cache 满? Y N 访问 Cache 取出信息送 CPU 访问 MEM 取出信息送 CPU 将新的 MEM 块调入 Cache 中 执行替换算法腾出空位 结束

18 Cache miss: 阻塞式 (stall 多个周期?)

19 Cache miss: 非阻塞式

20 写操作 : in single CPU system CPU CPU CPU a' cache 100 a' cache 550 a' cache 100 not coherent b' 200 memory b' 200 memory not coherent b' 200 memory a 100 a 100 a 100 b 200 b 200 b 440 I/O I/O I/O 1) CPU writes to a 2) IO writes b

21 write policy 写透法 (Write through Store though): 写直达 命中 : 同时写入 Cache 和 MEM 写缓冲 (write buffer): 写 MEM 需要 100clk cycles 缺失 : 写分配 (write allocate): 读入后再写 MIPS 采用 写不分配 (no write allocate,write around): 只写主存!!! 写回法 (Write back) 命中 : 只写 Cache,, 置 Dirty 位 ; 替换时再写回 MEM 缺失 : 写分配 (write allocate): 读入后再写 MIPS 采用 写不分配 (no write allocate,write around): 只写主存!!! 写缓冲 (write buffer): 使无效法 (Invalidated): 多处理器 信息只写入主存, 同时将相应的 Cache 块 Valid 位置 0 影响读操作

22 写操作 Write buffers 写透法 写回法 命中, 不命中? 何时写 MEM? 一致性问题? 流程图?

23 地址映射 : 主存块放哪儿? 主存块号 字块 0 主存储器 m 位 n 位 b 位 标记 Cache 字块 0 字块 1 主存块号 M 块 块内字地址 B 个字 字块 1 字块 2 c 1 字块 2 m 1 c 位 块号 C 块 b 位 块内字地址 B 个字 如何判断是否命中? Cache line size:match the width of the DRAM simplified the design.

24 1. 全相联映射 : 字块位置任意 m=t+c 位标记标记标记 主存 cache 第 0 块第 1 块第 0 块第 1 块 第 2 c -1 块 第 2 m - 1 块 主存地址 主存字块号 块内字地址 m=t+c 位 b 位 Cache 标记位 多, 比较位数长 (m 位 ) 比较次数多 ( 最坏 m 次 ), 或 c 个比较器 (CAM)

25 1. 全相联映像 ( 续 )

26 全相联映射数据访问过程 比较 tag, 选行, 选字

27 数值比较器? 1 位 2 位 B F F F A=B A<B A>B A3 B2 A2 B1 A1 B 0 I I A>B A<B I A=B A 0 B A B A B A 1 B 0 A 0 F A=B F A<B F A>B 7485:4 位, 级联 F A=B F A<B 7485(2) B3 A3 B2 A2 B 1 F A>B A 1 I I I B A 0 A>B A<B A=B 0 F A=B B 2 F A<B 7485(1) F 3 A3 B A B A 2 A>B 1 1 B 0 I I I A A>B A<B A=B B 4 A 7 A7 B6 A6 B5 A5 B 4 B 3 A 3 B 2 B A2 1 A1 B 0 A 0

28 全相联 Cache 的结构 address tag CAM data RAM mux 比较 tag, 选行, 选字 内容访问的存储器 CAM: 完成 比较, 选行 hit data

29 Associative Memory Structure 每行需要一个比较器! 29

30 Associative Memory Structure 01xx 输入寄存器 0011 屏蔽寄存器 匹配结果 0111 输出寄存器

31 2. 直接映象 : 字块位置唯一 实现方式 : 主存按 Cache 大小分段 Cache 字块数为 :C=2 c 主存字块数为 :M=2 m 映射关系式 :i=j mod C 或 i=j mod 2 c 缓存块号 i 主存块号 j 0 0,C,,2 m C 1 1, C+1,,2 m C+1 C 1 C 1,2C 1,,2 m 1 Cache 字块 0 字块 1 字块 2 c -1 主存地址主存段号 Cache 行号块内字地址 m=t+c 位 b 位 主存储器字块 0 字块 1 字块 2 c -1 字块 2 c 字块 2 c +1 字块 2 c+1-1 字块 2 c+1 字块 2 m -1

32 2. 直接映象 ( 续 ) 如果连续访问 26 和 18?

33 2. 直接映象命中比较过程 主存分段, 段大小 =Cache 大小 段内块号与 Cache 行号 (Cache 字块地址 c) 一一对应 根据 c 位找到对应的 cache 块 ( 按 c 位 index) 主存字块标记 t 为主存的段号 比较 t 位与 tag( 只需比较一次 )!

34

35 Cache 实现?(COD4 5.7 & 5.9) 数据通路 + 控制器

36 A Simple Cache Direct mapped cache Write back using write allocate Block size is 4 words (16 bytes or 128 bits) Cache size is 16 KB, so it holds 1024 blocks 32 bit byte addresses includes a valid bit and dirty bit per block the fields of an address: Cache index is 10 bits Block offset is 4 bits Tag size is 32 (10 + 4) or 18 bits

37 Hit 输出时间 vs. Data 读出时间? FIGURE

38 系统接口 CPU < > Cache 1 bit Read or Write signal 1 bit Valid signal, a cache operation? 32 bit address 32 bit data from processor to cache 32 bit data from cache to processor 1 bit Ready signal, saying the cache operation is complete MEM < > Cache 1 bit Read or Write signal 1 bit Valid signal, a memory operation? 32 bit address 128 bit data from cache to memory 128 bit data from memory to cache 1 bit Ready signal, saying the memory operation is complete CPU< >MEM? 写分配 :CPU 不直接访问 MEM?

39 DLX 直接映射控制器实现 CPU< >Cache 接口 阻塞式 Cache:miss 时指令 stall Cache line 位置唯一 : 读写 miss 时都要替换 ( 脏要写回 ) 读 命中 : 直接读入 不命中 : 分配式 换入再读 ( 脏 : 写回 Clean: 直接读入 ) 写 :Write back using write allocate 命中, 写回 : 写 cache, 置 dirty 位 不命中, 写分配 : 换入 ( 同读操作 ) 再写

40 a Direct mapped Cache Controller 阻塞式 miss 时指令 stall 命中 CompTag 中完成读写? miss 分配 : 先换入, 再读写 每次 miss 都需要替换 Write back using write allocate MEM Ready: 读写完成, 握手 MEM controller 可优化 拆分 CompTag 状态 增加 WriteBuf, 存脏块 Idle 必须? 与 IF 或 MEM 同步? 写透? COD4 图 5 34,Moore 机?

41 直接映象特点 优点 : 实现简单 一次比较 : 只需利用主存地址的某些位直接判断, 就可确定所需字块是否在缓存中 缺点 : 冲突, 效率低 缺点 : 冲突, 效率低 因为每个主存块固定地对应某个缓存块 ( 有 2 t 个主存字块对应同一个 Cache 字块 ), 如果这 2 t 个字块中有两个或两个以上的主存字块要调入 Cache, 必然会发生冲突

42 3. 组相联映象 (2 way set associated) Cache 分组, 主存分段, 段大小 = 组数 r = 组内块数 -1 相联度 Tag = 段号 r = 0? c 组, 直 r = c? 1 组, 全 主存储器 Cache(r=1) 字块 0 字块 1 标记字块 0 第 0 组 标记字块 1 标记字块 2 第 1 组字块 2 c r 1 标记字块 3 字块 2 c r 字块 2 c r +1 标记字块 2 c 2 第 2 c r 1 组标记字块 2 c 1 段 主存地址 主存块标记 组地址 块内地址 s=t+r 位 q=c r 位 b 位 m 位 字块 2 c r+1 字块 2 m 1

43 3. N 路 (X) 组相联映象 ( 续 ) 原理 : 把 Cache 分为 Q(=2 q ) 组, 每组有 R(=2 r ) 块, 且 i=j mod Q 其中,i 为缓存的组号,j 为主存的块号 在主存块和 Cache 的组之间, 为直接映象关系 ; 主存块可以映射到对应组内的任何一块, 为全相联映象的关系 相联度,degree of associativity r: 一组的块数 ( 路数 ) r=0, 直接相联 ;r=c, 全相联

44 Ex1:2 路组相联 cache

45 Ex2:2 路组相联 cache( 一组两行!) 内存大小?Cache 大小? 一组 2 路, 一路 4 data 需要比较所有 (2 个 )tag N way:n 个比较器 段号 组号 字地址

46 Ex3:4 way set associative Cache COD 图 5 18 一组 4 路 (line) 一路一字 定位 set 比较 tag 选路选字合二为一 字地址未用 图 5 17 块 (data) 大小, 组大小,Cache 大小, 内存段大小, 内存大小?

47 N way Set Associative Cache 实现 : 例 一行一组, 一组多路, 一路多字 定位 set, 比较 tag, 选 way, 选 word Parallel tag and data array access pipeline 访问 tag 与访问 data 并行, 即 tag 比较与选路并行 控制器? Antonio Gonzalez, Processor Microarchitecture_ An Implementation Perspective,2010

48 N way Set Associative Cache 控制器?

49 Disadvantages of Set Associative Cache N way Set Associative Cache vs. Direct Mapped Cache N comparators vs. 1 Extra MUX delay for the data( 需 Way mux?) 先选 way, 再选 word:data comes AFTER Hit/Miss decision and set selection Direct Mapped Cache Cache Block is available BEFORE Hit/Miss( 无需 Way mux) Full Associative Cache CAM 完成比较 tag 和选 line,, 再选 word address tag CAM data RAM mux hit data

50 例 1: 某 PC 主存容量分 2048 块, 每块 512B,Cache 容量 8KB, 分为 16 块, 每块 512B 用直接映象时, 主存应被分几段?Cache 标记几位? 用全相联映象,Cache 标记几位? 用组相联映象,Cache 每组 2 块 ( 即 : 两路组相联 ), 主存应划分为几段? 每段几块?Cache 标记几位? 段号组路 / 块号字 / 字节

51 例 2: 设有一个 cache 的容量为 2K 字, 每个块为 16 字, 求 (1) 该 cache 可容纳多少个块? (2) 如果主存的容量是 256K 字, 则有多少个块? (3) 主存的地址有多少位?cache 地址有多少位? (4) 在直接映像方式下, 主存中的第 i 块映像到 cache 中哪一个块中? (5) 进行地址映像时, 存储器的地址分成哪几段? 各段分别有多少位 解 :(1) cache 中有 2048/16=128 个块 (2) 主存有 256K/16=16384 个块 (3) 主存容量为 256K=2 18 字, 字地址有 18 位 cache 容量为 2K=2 11 字, 字地址为 11 位 (4) 在直接映像方式下, 主存中的第 i 块映像到 cache 中第 i mod 128 个块中 (5) 区号 7 位, 块号为 7 位, 块内字地址为 4 位 区号 块号 块内地址 4

52 映象方式比较 Fully Associative mapping Direct mapping 1 ways Set Associative mapping 2 ways Set Associative mapping

53 Tag 访问 冲突 开销 Tag 访问过程 N way Set? 全 块号 比较所有 tag, 选 line, 选 word,data 后于 hit X way Set 直 段号 定位 line(index 块号 ), 比较 tag, 选 word,data 先于 hit One way Set 组 段号 定位 set(index 组号 ), 比较 N 个 tag, 选 way, 选 word N way (X)Set

54 映象方式比较 : 命中率 4 路以上效果不显著

55 替换 以块 (line) 为单位 全相连 : 任意行 组相联 : 固定组, 任意路 ( 行 ) 直接映射 : 固定行

56 替换算法 随机法 最优替换 (OPT): 未来最不可能使用者 置换最长时间不会被使用的页 : 预知 work sets 基于局部性原理 FIFO: 实现方便, 但不能正确反映程序的局部性 最先进入的字块也可能是目前经常要用的字块 LRU: 最近最少使用 计时法 ( 绝对 ): 替换计时最长的 cache line 计数法 ( 近似 ): 替换计数最大者 按访问次数 两位计数 一位计数 :NRU( 最近未使用 ), 多用!» 组计数, 路计数 堆栈法

57 FIFO 替换算法

58 颠簸现象 访问顺序 地址块号 块分配情况 操作状态 调进调进调进调进替换替换替换替换 先进先出替换方式下的 cache 内容颠簸情况

59 近期最少使用算法 LRU 例 : 选最近 4 次访问期间最少使用 Cache 块作为被替换的块 访问顺序 地址块号 块分配情况 * * * * 操作状态调进调进命中调进调进替换替换替换 * 表示将要被替换者 计时法 计数法实现 : 各块的 LRU 位变化?

60 例 : 设程序有 5 个信息块,Cache 空间为 3 块, 地址流为 : P1, P2, P1, P5, P5, P1, P3, P4, P3, P4 给出 FIFO LRU 两种页面替换算法对这 3 块 Cache 的使用情况, 包括调入 替换和命中等

61 时间 t 实际地址流 P1 P2 P1 P5 P4 P1 P3 P4 P2 P4 命中次数 * 4 4 4* 4* 2 2 先进先出算法 * * 4 (FIFO 算法 ) 5 5 5* * 调入调入命中调入替换替换替换命中替换替换 * 2 2 最近最少使用算法 2 2 2* 4 4 4* (LRU 算法 ) 5 5* 5* 3 3 3* 3* 调入调入命中调入替换命中替换命中替换命中 * 3* 3* 3 3 最优替换算法 * (OPT 算法 ) 5* 调入调入命中调入替换命中替换命中命中命中 三种页面替换算法对同一个页地址流的调度过程 2 次 4 次 5 次

62 LRU stack 算法 stack distance 访问某 line 时其在栈中的位置 第一次访问时 = 替换哪一行? 双向链表 histogram 局部性

63 Stack distance profiles:histogram Stack distance of an access in a cache set the position of the line in the LRU stack when this line is accessed ( 定义 : 访问此 line 时它在 LRU 栈中的位置 ) = number of distinct cache lines accessed since previous access to the same line( 访问同一 line 的前后间隔次数 ) Stack distance profile (histogram) of a cache set counts (frequencies) of accesses depending on their stack distance( 各距离的总数 ) Stack distance

64 Deeper Pipelines: MIPS R4000

65 Pentium 处理器框图 指令 Cache(8KB) 分支预测 256 位 64 位总线接口 U 管道 预取指令缓冲区 整数 ALU 整数 ALU V 管道 64 位 浮点单元 寄存器组 位 整数寄存器组 乘法器加法器除法器 数据 Cache(8KB)

66 Pentium 处理器的片内 DCache 两路组相连 : 共 128 组, 每路 8 个双字 ( 4X8=32B) 采用 写回 策略, 可动态重构支持 写直达 LRU: 组计数, 路随机 两条专用指令 : 清除或回写 Cache 状态位 :4 种状态, 在 Cache 一致性协议 (MESI) 中使用

67 Cache Misses:4 种 (COD 为 3C ) Compulsory( 必然 ) cold start process migration first reference Cold fact of life: not a whole lot you can do about it Note: If you are going to run billions of instruction, Compulsory Misses are insignificant Capacity Cache cannot contain all blocks access by the program Solution: increase cache size Conflict (collision): Multiple memory locations mapped to the same cache location Solution 1: increase cache size Solution 2: increase associativity Coherence (Invalidation): other process (e.g., I/O) updates memory

68 多级 Cache 与哈佛结构 两层存储结构的存储访问时间 H 为 Cache 命中率,T1 和 T2 分别为两层存储器的访问时间, 则系统访问时间 Ts Ts = T1 H + (1 H) (T1 + T2)

69 多级 Cache 的影响 L1 Cache 容量几乎对 IPC 没有影响? L2 影响很大

70 多线程共享 Cache 的效果 运行于不同处理器核, 但共享 L2 Cache 不同线程组合

71 提高 Cache 性能 :Victim Cache 对于 RISC 处理器, 缺失时损失 100 多个周期 Victim Cache: 介于 L1 Cache 和下一级存储器之间 L1 Cache 采用直接相连, 较大 Victim Cache 采用全相连, 较小, 存放由于失效而被替换出的块 含有 4 个块的缺失 cache 可以使一个 4KB 的直接映像数据 cache 的冲突失效减少 20~90%

72 Cache Effects Cache affinity : 冷热 预热 尽可能多的对已读取的数据进行操作, 最大限度的发挥时间局部性 ; 注意循环 : 大部分计算和访存都发生在这里 按照数据对象在存储器中的存放顺序读取数据, 从而最大限度的发挥空间局部性 ; Suppose storing multidimensional arrays in linear memory a program accesses the array one row at a time. How about column major? That would result in 16 cache misses 注意 :cache 的容量为一行!

73 基于 Cache 的代码优化 循环交换 (Loop Interchange) 原程序 (column major) a[100][5000]=...// 初始化 for(j=0; j<5000; j=j+1) { for(i=0; i<100; i=i+1) { a[i][j] = 2 * a[i][j]; 每次都不命中 } } 改进 (row major) a[100][5000]=...// 初始化 for(i=0; i<100; i=i+1) { for(j=0; j<5000; j=j+1) { a[i][j] = 2 * a[i][j]; 可连续命中若干次 [cache 行大小 ] } } 循环合并 (Loop fusion) 循环分块 (Blocking) Cache oblivious algorithm: 与 cache 结构无关的算法 llxx@ustc.edu.cn 73/62

74 Timing Anomaly:WCET a situation where the local worst case does not entail the global worst case Scheduling Anomaly Speculation Anomaly Cache Timing Anomalies

75 Intel Processor the CPUID Instruction

76 小结 Cache 有效性 Cache 效率和局部性的度量指标? Cache miss 的原因? 发挥 Cache 的作用 : 利用局部性 Cache 的 Side effect 一致性 : 如何使 Cache 与主存内容保持一致 单 CPU, 多 CPU,DMA 实时性 : 访存时间的确定性 Cache 组织结构, 读写过程, 映射机制, 替换策略 为何需要不同的映射模式? 全相连 :Tag= 块号, 多次比较, 可使用 CAM 直接映射 :Tag= 段号, 按 line 数分段, 定位到 line, 一个比较器 N way set: Tag= 段号, 按组数分段, 定位到组,N 个比较器 三种映射方式各自需要哪种置换算法? 编程实现 LRU? 作业 :5.2.1~3,5.3.1,5.8.1~2

77 77/94

计算机组成原理 第四章 存储器

计算机组成原理  第四章 存储器 计算机组成原理 第 5 章存储系统 -Cache llxx@ustc.edu.cn 本章内容 高速缓冲存储器 Cache- 存储器映射 读写操作 替换算法 相联存储器 COD5 5.3,5.4,5.8,5.9,5.12 问题 为什么需要 Cache? 性能 结构 Cache 有效性的理论基础 局部性 影响 Cache 命中率的因素 Cache 的读写操作过程 Cache 的基本结构和映射机制 Cache

More information

<4D F736F F D20B5DAC8FDCBC4D5C2D7F7D2B5B4F0B0B82E646F63>

<4D F736F F D20B5DAC8FDCBC4D5C2D7F7D2B5B4F0B0B82E646F63> 第三章 Q3 1 1. 省略了 I/O 操作的复杂逻辑, 易实现, 耗费低 ; 2. 可以利用丰富的内存寻址模式实现灵活的 I/O 操作 Q3 2 假设存储单元 ds1 处寄存器地址为 0x2000, 代码如下 #define ds1 0x2000 while ( *ds1 == 0 ) ; Q3 3 假设设备 (dev1) 中有两个寄存器 ds1 和 dd1,dev1 的地址为 0x1000,ds1

More information

Microsoft PowerPoint - 3章例题.ppt

Microsoft PowerPoint - 3章例题.ppt 例 设有一个采用地址直接映像方式的 Cache, 其存储容量为 8KB, 要求在每个存储块内存放 16B( 字节 ) 主存的存储容量是 512KB, 求 : 1) 该 Cache 地址机构是如何组成和具体分配的? 2) 主存的地址机构是如何组成和具体分配的? 3) 主存第 513 信息块存放在主存内的区号为多少? 将其调入 Cache 后被存放的对应信息块号为多少? 4) 在上一步 3) 的基础上,CPU

More information

lecture13

lecture13 Lecture 13: Cache V 1 Cache 大 小 Block 大 小 和 缺 失 率 的 关 系 Cache 性 能 由 缺 失 率 确 定, 而 缺 失 率 与 Cache 大 小 Block 大 小 Cache 级 数 等 有 关 Cache 大 小 :Cache 越 大,Miss 率 越 低, 但 成 本 越 高! Block 大 小 :Block 大 小 与 Cache 大 小

More information

Training

Training 计算机组织与系统结构 高速缓冲存储器系统 Cache System ( 第十八讲 ) 程旭 2012.12.19 本讲提纲 复习存储层次和 Cache 引论 进一步考察 Cache 的操作 Cache 写入策略和替换策略 SPARCstation 20 的存储系统 总结 存储系统的扩展图示 处理器 控制 Memory Memory 数据通路 Memory Memory Memory 速度 最快 最慢

More information

投影片 1

投影片 1 2 理 1 2-1 CPU 2-2 CPU 理 2-3 CPU 類 2 什 CPU CPU Central Processing Unit ( 理 ), 理 (Processor), CPU 料 ( 例 ) 邏 ( 例 ),, 若 了 CPU, 3 什 CPU CPU 了, 行, 利 CPU 力 來 行 4 什 CPU 5 2-2-1 CPU CPU 了 (CU, Control Unit) / 邏

More information

1 CPU

1 CPU 2000 Tel 82316285 82317634 Mail liuxd@buaa.edu.cn 1 CPU 2 CPU 7 72 A B 85 15 3 1/2 M301 2~17 : 3/4 1/2 323 IBM PC 1. 2. 3. 1. 2. 3. 1.1 Hardware Software 1.2 M3 M2 M1 1.2 M3 M1 M2 M2 M1 M1 M1 1.2 M3 M1

More information

Oracle 4

Oracle 4 Oracle 4 01 04 Oracle 07 Oracle Oracle Instance Oracle Instance Oracle Instance Oracle Database Oracle Database Instance Parameter File Pfile Instance Instance Instance Instance Oracle Instance System

More information

VASP应用运行优化

VASP应用运行优化 1 VASP wszhang@ustc.edu.cn April 8, 2018 Contents 1 2 2 2 3 2 4 2 4.1........................................................ 2 4.2..................................................... 3 5 4 5.1..........................................................

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

P4i45GL_GV-R50-CN.p65

P4i45GL_GV-R50-CN.p65 1 Main Advanced Security Power Boot Exit System Date System Time Floppy Drives IDE Devices BIOS Version Processor Type Processor Speed Cache Size Microcode Update Total Memory DDR1 DDR2 Dec 18 2003 Thu

More information

2/80 2

2/80 2 2/80 2 3/80 3 DSP2400 is a high performance Digital Signal Processor (DSP) designed and developed by author s laboratory. It is designed for multimedia and wireless application. To develop application

More information

第五章 重叠、流水和现代处理器技术

第五章 重叠、流水和现代处理器技术 2006 5 l t 1 t 2 t 3 t 4 I: add r1,r2,r3 J: sub r4,r1,r5 : (Hazard) : (Hazard) Instr 1 Instr 2 ( ) Cycle 1 Cycle 2 Cycle 3 Cycle 4 Cycle 5 Cycle 6 Cycle 7 Load Ifetch ALU DMem Instr 1 Ifetch ALU DMem

More information

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005

1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005 1 o o o CPU o o o o o SQL Server 2005 o CPU o o o o o SQL Server o Microsoft SQL Server 2005 1 1...3 2...20 3...28 4...41 5 Windows SQL Server...47 Microsoft SQL Server 2005 DBSRV1 Microsoft SQL Server

More information

[group6] 4. The data cache has 80% hit rate and miss penalty is 120 cycles. 30% of instructions are load and store. The instruction cache has a hit ra

[group6] 4. The data cache has 80% hit rate and miss penalty is 120 cycles. 30% of instructions are load and store. The instruction cache has a hit ra Computer Architecture Fall, 2017 Week 15 2017.12.18 [group2] 1. 請說明如何改善 cache performance, 並舉例說明之 Reduce the time to hit in the cache Decreasing the miss ratio( 可利用 associative cashes 來取代 direct mapped

More information

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy

More information

Microsoft PowerPoint - STU_EC_Ch08.ppt

Microsoft PowerPoint - STU_EC_Ch08.ppt 樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters

More information

第一章 Linux與網路資源

第一章 Linux與網路資源 1 28 Proxy Server 28-1 Proxy proxy Server rpm qa grep squid Linux Proxy Proxy Proxy Proxy Proxy Request Proxy Proxy Proxy RedHat Linux Fedora #mount /mnt/cdrom squid squid Proxy #cd /mnt/cdrom/redhat/rpms

More information

热设计网

热设计网 例 例 Agenda Popular Simulation software in PC industry * CFD software -- Flotherm * Advantage of Flotherm Flotherm apply to Cooler design * How to build up the model * Optimal parameter in cooler design

More information

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1

, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1 21 , 7, Windows,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) /,,. : ;, 2005. 11 ( 21 ) ISBN 7-81082 - 634-4... - : -. TP316-44 CIP ( 2005) 123583 : : : : 100084 : 010-62776969 : 100044 : 010-51686414

More information

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63>

<4D6963726F736F667420576F7264202D2032303130C4EAC0EDB9A4C0E04142BCB6D4C4B6C1C5D0B6CFC0FDCCE2BEABD1A15F325F2E646F63> 2010 年 理 工 类 AB 级 阅 读 判 断 例 题 精 选 (2) Computer mouse How does the mouse work? We have to start at the bottom, so think upside down for now. It all starts with mouse ball. As the mouse ball in the bottom

More information

Microsoft Word - template.doc

Microsoft Word - template.doc HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started

More information

Microsoft Word - KSAE06-S0262.doc

Microsoft Word - KSAE06-S0262.doc Stereo Vision based Forward Collision Warning and Avoidance System Yunhee LeeByungjoo KimHogi JungPaljoo Yoon Central R&D Center, MANDO Corporation, 413-5, Gomae-Ri, Gibeung-Eub, Youngin-Si, Kyonggi-Do,

More information

Ps22Pdf

Ps22Pdf ( ) ( 150 ) 25 15 20 40 ( 25, 1, 25 ), 1. A. B. C. D. 2. A. B. C. D. 3., J = 1 H = 1 ( A B, J', J, H ) A. A = B = 1, J' =0 B. A = B = J' =1 C. A = J' =1, B =0 D. B = J' = 1, A = 0 4. AB + AB A. AB B. AB

More information

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I

IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I 2004 5 IP TCP/IP PC OS µclinux MPEG4 Blackfin DSP MPEG4 IP UDP Winsock I/O DirectShow Filter DirectShow MPEG4 µclinux TCP/IP IP COM, DirectShow I Abstract The techniques of digital video processing, transferring

More information

PowerPoint Presentation

PowerPoint Presentation 4.4 三级存储体系 - 主存 - 辅存三级存储体系 : 计算机系统同时拥有虚拟存储器和 存储器, 程序采用虚地址访存, 要求速度接近于, 容量接近于辅存 物理地址 虚地址 全 技术 物理地址 CPU 用程序虚地址访问 MMU 的地址变换部件将其换成主存物理地址访问 CPU 虚地址 存储管理部件 (MMU) 主存物理地址 主存物理地址 数据或指令块 主存 数据或指令 需要将主存物理地址变换成 地址,

More information

Chamber of Commerce and Local Governance: Function and Limitation A Case Study of Non-local Wenzhou Chamber of Commerce Chen Shengyong,Ma Bin Abstract: Since 1990s, with the development of Wenzhou model

More information

《计算机应用基础》学习材料(讲义)

《计算机应用基础》学习材料(讲义) 计 算 机 应 用 基 础 学 习 材 料 ( 讲 义 ) Fundamentals of Computer Application 2014-3-22 JIANGSU OPEN UNIVERSITY 第 二 学 习 周 计 算 机 基 础 知 识 ( 一 ) 导 学 在 本 学 习 周, 我 们 主 要 的 任 务 是 认 识 计 算 机 你 将 知 道 计 算 机 是 什 么 时 候 产 生 的,

More information

Microsoft PowerPoint - Sens-Tech WCNDT [兼容模式]

Microsoft PowerPoint - Sens-Tech WCNDT [兼容模式] X-ray data acquisition systems for NDT applications 技股份有限公司 先锋科技股份有限公司 科技股份有限公司 先锋科技股份有限公司 www Sens-Tech Ltd UK based company 40 Staff Specialise in detection and data acquisition systems for light and

More information

ENGG1410-F Tutorial 6

ENGG1410-F Tutorial 6 Jianwen Zhao Department of Computer Science and Engineering The Chinese University of Hong Kong 1/16 Problem 1. Matrix Diagonalization Diagonalize the following matrix: A = [ ] 1 2 4 3 2/16 Solution The

More information

9 什 么 是 竞 争 与 冒 险 现 象? 怎 样 判 断? 如 何 消 除?( 汉 王 笔 试 ) 在 组 合 逻 辑 中, 由 于 门 的 输 入 信 号 通 路 中 经 过 了 不 同 的 延 时, 导 致 到 达 该 门 的 时 间 不 一 致 叫 竞 争 产 生 毛 刺 叫 冒 险 如

9 什 么 是 竞 争 与 冒 险 现 象? 怎 样 判 断? 如 何 消 除?( 汉 王 笔 试 ) 在 组 合 逻 辑 中, 由 于 门 的 输 入 信 号 通 路 中 经 过 了 不 同 的 延 时, 导 致 到 达 该 门 的 时 间 不 一 致 叫 竞 争 产 生 毛 刺 叫 冒 险 如 FPGA 工 程 师 面 试 试 题 一 1 同 步 电 路 和 异 步 电 路 的 区 别 是 什 么?( 仕 兰 微 电 子 ) 2 什 么 是 同 步 逻 辑 和 异 步 逻 辑?( 汉 王 笔 试 ) 同 步 逻 辑 是 时 钟 之 间 有 固 定 的 因 果 关 系 异 步 逻 辑 是 各 时 钟 之 间 没 有 固 定 的 因 果 关 系 3 什 么 是 " 线 与 " 逻 辑, 要 实

More information

Computer Architecture

Computer Architecture ECE 3120 Computer Systems Assembly Programming Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: msjeedigun21@tntech.edu Tel: 931-372-6181, Prescott Hall 120 Prev: Basic computer concepts

More information

L7 Cache I

L7 Cache I Lecture 9: Cache I 高速缓冲存储器 (Cache) 1 高速缓冲存储器 (Cache) 什么是程序访问的局部化特性 具有 Cache 机制的 CPU 的基本访存过程 Cache 和主存之间的映射方式 直接映射 / 全相联映射 / 组相联映射 cache 容量和块大小的选择 Cache 替换算法 cache-friendly 的程序 Cache 的写策略 Write Back 和 Write

More information

K301Q-D VRT中英文说明书141009

K301Q-D VRT中英文说明书141009 THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

CCE Computer Memory

CCE Computer Memory Computer Logic II CCE 2010 Dr. Owen Casha Computer Logic II 1 Computer Memory Computer Logic II 2 Computer Memory The memory needs to be able to store many binary patterns (0 s and 1 s) arranged in words

More information

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn Xi III Zebra XI III 1 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn 230V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666

More information

Name__________________________________

Name__________________________________ 6.823 180 21 5 : 5 Part A: 1 5 10 Part B: 6 11 12 Part C: 12 14 12 Part D: 15 23 34 Part E: 24 26 18 Part F: 27 28 16 Part G: 29 32 25 Part H: 33 10 Part I: 34 38 28 Part H: 39 40 10 : 180 Part A 10 Cache

More information

没有幻灯片标题

没有幻灯片标题 高等计算机系统结构 高速缓冲存储器 程旭 2016 年 4 月 25 日 Memory Hierarchy Take advantage of the principle of locality to: Present as much memory as in the cheapest technology Provide access at speed offered by the fastest

More information

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot

OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Prot OSI OSI OSI 15% 20% OSI OSI ISO International Standard Organization 1984 OSI Open-data System Interface Reference Model OSI OSI OSI OSI ISO Prototype Protocol OSI OSI OSI OSI OSI O S I 2-1 Application

More information

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se 8051 8051 System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and setup. This type of robot uses two kinds of

More information

Microsoft PowerPoint - ATF2015.ppt [相容模式]

Microsoft PowerPoint - ATF2015.ppt [相容模式] Improving the Video Totalized Method of Stopwatch Calibration Samuel C.K. Ko, Aaron Y.K. Yan and Henry C.K. Ma The Government of Hong Kong Special Administrative Region (SCL) 31 Oct 2015 1 Contents Introduction

More information

2005 Research on the Lucre, Risk, and Development of Native Bankcard Business 2005 3 2003 6.5 45 18, WTO SWOT I Abstract Research on the Lucre, Risk, and Development of Native Bankcard Business Research

More information

Microsoft PowerPoint ren-arm arch1 [兼容模式]

Microsoft PowerPoint ren-arm arch1 [兼容模式] 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) 西安交通大学电信学院 任鹏举 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM Cortex 系列处理器,ARMv7-A 结构, ARM

More information

(Electronic Data Interchange) (Executive Information System) (Economic Order Quantity) (Enterprise Resource Planning) (Flexible Manufacture System) (F

(Electronic Data Interchange) (Executive Information System) (Economic Order Quantity) (Enterprise Resource Planning) (Flexible Manufacture System) (F (Activity-Based Costing) (Activity-Based Budgeting) (Activity-Base Management) (Advanced Planning and Scheduling) Application Service Provider (Available To Promise) (Bill Of Material) (Business Process

More information

邏輯分析儀的概念與原理-展示版

邏輯分析儀的概念與原理-展示版 PC Base Standalone LA-100 Q&A - - - - - - - SCOPE - - LA - - ( Embedded ) ( Skew ) - Data In External CLK Internal CLK Display Buffer ASIC CPU Memory Trigger Level - - Clock BUS Timing State - ( Timing

More information

P4VM800_BIOS_CN.p65

P4VM800_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Fri 02/25/2005] BIOS Version : P4VM800 BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

Microsoft Word - A200911-441.doc

Microsoft Word - A200911-441.doc 动 态 计 算 机 核 心 PMC362 成 功 设 计 姜 咏 江 对 外 经 济 贸 易 大 学 信 息 学 院, 北 京 (100013) E-mail:accsys@126.com 摘 要 :PMC362 是 程 序 能 自 动 调 度 执 行 的 动 态 计 算 机 核 这 种 结 构 将 各 类 多 处 理 器 设 计 成 对 指 令 无 痕 的, 将 程 序 放 置 在 环 境 条 件

More information

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2

1 VLBI VLBI 2 32 MHz 2 Gbps X J VLBI [3] CDAS IVS [4,5] CDAS MHz, 16 MHz, 8 MHz, 4 MHz, 2 MHz [6] CDAS VLBI CDAS 2 CDAS CDAS 5 2 32 1 Vol. 32, No. 1 2014 2 PROGRESS IN ASTRONOMY Feb., 2014 doi: 10.3969/j.issn.1000-8349.2014.01.07 VLBI 1,2 1,2 (1. 200030 2. 200030) VLBI (Digital Baseband Convertor DBBC) CDAS (Chinese VLBI Data Acquisition

More information

WTO

WTO 10384 200015128 UDC Exploration on Design of CIB s Human Resources System in the New Stage (MBA) 2004 2004 2 3 2004 3 2 0 0 4 2 WTO Abstract Abstract With the rapid development of the high and new technique

More information

P4Dual-915GL_BIOS_CN.p65

P4Dual-915GL_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date Total Memory DIMM 1 DIMM 2 [ 14:00:09] [Wed 01/05/2005] BIOS Version : P4Dual-915GL BIOS P1.00 Processor Type : Intel (R) Pentium

More information

Microsoft PowerPoint - CA_03 Chapter5 Part-II_multi _V1.ppt

Microsoft PowerPoint - CA_03 Chapter5 Part-II_multi _V1.ppt Chapter5-2 The Processor: Datapath and Control (Multi-cycle implementation) 臺大電機系 吳安宇教授 V1. 03/27/2007 For 2007 DSD Course 臺大電機吳安宇教授 - 計算機結構 1 Outline 5.1 Introduction 5.2 Logic Design Conventions 5.3

More information

没有幻灯片标题

没有幻灯片标题 高等计算机系统结构 高速缓冲存储器 ( 第七讲 ) 程旭 2012 年 4 月 16 日 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 Performance 微处理器 -DRAM 的延迟差距 1000 CPU Proc 60%/yr.

More information

10384 200115009 UDC Management Buy-outs MBO MBO MBO 2002 MBO MBO MBO MBO 000527 MBO MBO MBO MBO MBO MBO MBO MBO MBO MBO MBO Q MBO MBO MBO Abstract Its related empirical study demonstrates a remarkable

More information

Bus Hound 5

Bus Hound 5 Bus Hound 5.0 ( 1.0) 21IC 2007 7 BusHound perisoft PC hound Bus Hound 6.0 5.0 5.0 Bus Hound, IDE SCSI USB 1394 DVD Windows9X,WindowsMe,NT4.0,2000,2003,XP XP IRP Html ZIP SCSI sense USB Bus Hound 1 Bus

More information

C++ 程式設計

C++ 程式設計 C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004

More information

嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举

嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM

More information

12 Differential Low-Power 6x6 12 bit multiply 1

12 Differential Low-Power 6x6 12 bit multiply 1 12 Differential Low-Power 6x6 12 bit multiply 1 2 07 1.1 07 1.2 07 1.2.1 (Sequential Structure Multiplier )07 1.2.2 (Array Structure Multiplier) 09 1.2.3 (Parallel Multiplier) 10 1.2.3.1 10 1.2.3.2 10

More information

52C-14266-5

52C-14266-5 逻 辑 分 析 仪 基 础 知 识 入 门 手 册 www.tektronix.com.cn/logic_analyzers 15 入 门 手 册 目 录 引 言 3-4 起 源 3 数 字 示 波 器 3 逻 辑 分 析 仪 4 逻 辑 分 析 仪 操 作 5-13 连 接 被 测 系 统 5 探 头 5 设 置 逻 辑 分 析 仪 7 设 置 时 钟 模 式 7 设 置 触 发 7 采 集 状

More information

Microsoft PowerPoint - Aqua-Sim.pptx

Microsoft PowerPoint - Aqua-Sim.pptx Peng Xie, Zhong Zhou, Zheng Peng, Hai Yan, Tiansi Hu, Jun-Hong Cui, Zhijie Shi, Yunsi Fei, Shengli Zhou Underwater Sensor Network Lab 1 Outline Motivations System Overview Aqua-Sim Components Experimental

More information

ebook 132-6

ebook 132-6 6 SQL Server Windows NT Windows 2000 6.1 Enterprise Manager SQL Server Enterprise Manager( ) (Microsoft Management C o n s o l e M M C ) Enterprise Manager SQL Server Enterprise Manager 6.1.1 Enterprise

More information

A 2006 2 1.1 1.2 1.3 1.4 1.5 1 : 2. 3. 4 5 1.1 1.1.1 1 1.1.1 2 CPU = + = CPU + = 1.1.1 3 : : 1.1.1 4 ROM 1.1.2 1 1946 6 John von Neumann : (1) (2) ( ) (3) ( ) ( ) (PC) (?) 2 3 : ADD ADD AX BX CPU ALU

More information

2005.book

2005.book ...4... 4... 7...10... 10... 10... 10... 10... 11... 11 PCC... 11 TB170... 12 /... 12...13... 13 BP150 / BP151 / BP152 / BP155... 14...15... 15... 15... 15... 15... 15... 15... 16 PS465 / PS477... 17 PS692

More information

bbc_bond_is_back_worksheet.doc

bbc_bond_is_back_worksheet.doc Bond Is Back 邦 德 回 来 了 1 Bond Is Back 邦 德 回 来 了 Devil May Care New Bond Book 肆 无 忌 惮, 不 顾 一 切 邦 德 新 书 Read the text below and do the activity that follows. 阅 读 下 面 的 短 文, 然 后 完 成 练 习 : Fans of James Bond

More information

775i65PE_BIOS_CN.p65

775i65PE_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 14:00:09] [Wed 10/20/2004] BIOS Version : 775i65PE BIOS P1.00 Processor Type : Intel (R) CPU 3.20 GHz Processor Speed : 3200

More information

学校代号 10199 学 号20092209134

学校代号 10199                                       学    号20092209134 学 校 代 号 10199 学 号 20092209134 硕 士 学 位 论 文 中 药 塌 渍 护 理 干 预 联 合 超 声 雾 化 对 小 儿 肺 炎 喘 嗽 的 临 床 观 察 研 究 Traditional Chinese medicine collapse stains nursing intervention to joint of ultrasonic atomizer infantile

More information

(Microsoft Word - 11-\261i\256m\253i.doc)

(Microsoft Word - 11-\261i\256m\253i.doc) 不 同 接 棒 方 法 對 國 小 學 童 大 隊 接 力 成 績 影 響 之 研 究 不 同 接 棒 方 法 對 國 小 學 童 大 隊 接 力 成 績 影 響 之 研 究 張 峻 詠 林 瑞 興 林 耀 豐 國 立 屏 東 教 育 大 學 摘 要 本 研 究 主 要 目 的 在 探 討 不 同 接 棒 方 法 對 國 小 學 童 大 隊 接 力 成 績 影 響 之 研 究, 以 高 雄 市 楠

More information

没有幻灯片标题

没有幻灯片标题 高 等 计 算 机 系 统 结 构 高 速 缓 冲 存 储 器 程 旭 2014 年 3 月 17 日 Memory Hierarchy Take advantage of the principle of locality to: Present as much memory as in the cheapest technology Provide access at speed offered

More information

学 校 编 码 :10384 分 类 号 密 级 学 号 :X2007155130 UDC 厦 门 怡 福 养 生 健 康 管 理 有 限 公 司 创 业 计 划 王 韬 指 导 教 师 姓 名 : 郭 霖 教 授 厦 门 大 学 硕 士 学 位 论 文 厦 门 怡 福 养 生 健 康 管 理 有 限 公 司 创 业 计 划 A Business Plan for Xiamen Eve Health

More information

一次访存请求最后真正的平均访存次数 =(71.3%*0)+(23.8%*1)+(3.8%*2)+(1.3%*3)=0.35 (2) 写回法 cache 访问命中, 有两种情况 : 读命中, 不访问主存 ; 写命中, 不访问主存 采用写回法, 只有当修改的 cache 块被换出时, 才写入主存 ; 访

一次访存请求最后真正的平均访存次数 =(71.3%*0)+(23.8%*1)+(3.8%*2)+(1.3%*3)=0.35 (2) 写回法 cache 访问命中, 有两种情况 : 读命中, 不访问主存 ; 写命中, 不访问主存 采用写回法, 只有当修改的 cache 块被换出时, 才写入主存 ; 访 Homework5: 1. 在 Cache 主存 层次中, 主存的更新算法有哪几种?? 它们各有什么特点? (1) 写直达法 : 易于实现, 而且下一级存储器中的数据总是最新的 (2) 写回法 : 速度块, 写 操作能以 Cache 存储器的速度进行 而且对于同一单元的多个写最后只需一次写回下一级存储器, 有些 写 只到达 Cache, 不到达主存, 因而所使用的存储器频带较低 2. 组相联 Cache

More information

P4V88+_BIOS_CN.p65

P4V88+_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Wed 12/22/2004] BIOS Version : P4V88+ BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

(Pattern Recognition) 1 1. CCD

(Pattern Recognition) 1 1. CCD ********************************* ********************************* (Pattern Recognition) 1 1. CCD 2. 3. 4. 1 ABSTRACT KeywordsMachine Vision, Real Time Inspection, Image Processing The purpose of this

More information

Ch03_嵌入式作業系統建置_01

Ch03_嵌入式作業系統建置_01 Chapter 3 CPU Motorola DragonBall ( Palm PDA) MIPS ( CPU) Hitachi SH (Sega DreamCast CPU) ARM StrongARM CPU CPU RISC (reduced instruction set computer ) CISC (complex instruction set computer ) DSP(digital

More information

92 (When) (Where) (What) (Productivity) (Efficiency) () (2) (3) (4) (5) (6) (7) em-plant( SiMPLE++) Scheduling When Where Productivity Efficiency [5]

92 (When) (Where) (What) (Productivity) (Efficiency) () (2) (3) (4) (5) (6) (7) em-plant( SiMPLE++) Scheduling When Where Productivity Efficiency [5] DYNAMIC SCHEDULING IN TWO-MACHINE FLOW-SHOP WITH RECIRCULATION em-plant( SiMPLE++) Jen-Shiang Chen, Jar-Her Kao, Chun-Chieh Chen, Po-Cheng Liu, and Wen-Pin Lin Department of Industrial Engineering and

More information

untitled

untitled ( ) 2005 2 27 1 70 :SSI(Small Scale Integration), 1 10,MSI (Medium Scale Integration),,, 80 LSI(Large Scale Integration),, 16,Motoral M68000(7 ),Intel 80286 (12.5 ),80386 (27.5 ) 90 : VLSI(Very Large Scale

More information

Microsoft Word doc

Microsoft Word doc 中 考 英 语 科 考 试 标 准 及 试 卷 结 构 技 术 指 标 构 想 1 王 后 雄 童 祥 林 ( 华 中 师 范 大 学 考 试 研 究 院, 武 汉,430079, 湖 北 ) 提 要 : 本 文 从 结 构 模 式 内 容 要 素 能 力 要 素 题 型 要 素 难 度 要 素 分 数 要 素 时 限 要 素 等 方 面 细 致 分 析 了 中 考 英 语 科 试 卷 结 构 的

More information

Tel:010-62981668-2930 1

Tel:010-62981668-2930  1 Access 93C46 with SPI function V1.0.0 Jan. 31, 2005 http://www.sunplusmcu.com Tel:010-62981668-2930 http://www.sunplusmcu.com E-mail:mcu@sunplus.com.cn 1 0 0...2 1...3 2...4 2.1...4 2.2...5 3...6 3.1 AT93C46...6

More information

A Study on Grading and Sequencing of Senses of Grade-A Polysemous Adjectives in A Syllabus of Graded Vocabulary for Chinese Proficiency 2002 I II Abstract ublished in 1992, A Syllabus of Graded Vocabulary

More information

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2

More information

1505.indd

1505.indd 上 海 市 孙 中 山 宋 庆 龄 文 物 管 理 委 员 会 上 海 宋 庆 龄 研 究 会 主 办 2015.05 总 第 148 期 图 片 新 闻 2015 年 9 月 22 日, 由 上 海 孙 中 山 故 居 纪 念 馆 台 湾 辅 仁 大 学 和 台 湾 图 书 馆 联 合 举 办 的 世 纪 姻 缘 纪 念 孙 中 山 先 生 逝 世 九 十 周 年 及 其 革 命 历 程 特 展

More information

Microsoft PowerPoint - CA_02 Chapter5 Part-I_Single _V2.ppt

Microsoft PowerPoint - CA_02 Chapter5 Part-I_Single _V2.ppt Chapter5- The Processor: Datapath and Control (Single-cycle implementation) 臺大電機系吳安宇教授 V. 3/27/27 V2. 3/29/27 For 27 DSD Course 臺大電機吳安宇教授 - 計算機結構 Outline 5. Introduction 5.2 Logic Design Conventions 5.3

More information

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2

Outline Speech Signals Processing Dual-Tone Multifrequency Signal Detection 云南大学滇池学院课程 : 数字信号处理 Applications of Digital Signal Processing 2 CHAPTER 10 Applications of Digital Signal Processing Wang Weilian wlwang@ynu.edu.cn School of Information Science and Technology Yunnan University Outline Speech Signals Processing Dual-Tone Multifrequency

More information

投影片 1

投影片 1 9 1 9-1 Windows XP Windows Server 2003 Mac OS Linux, 都 (OS, Operating System ) 2 3 , 來, 行 3 理 行 4 ,, (UI, User Interface), 滑, 令 列 (CLI, Command-Line Interface) (GUI, Graphical User Interface) 2 5 令 列,

More information

目 录

目 录 1 Quick51...1 1.1 SmartSOPC Quick51...1 1.2 Quick51...1 1.3 Quick51...2 2 Keil C51 Quick51...4 2.1 Keil C51...4 2.2 Keil C51...4 2.3 1 Keil C51...4 2.4 Flash Magic...9 2.5 ISP...9 2.6...10 2.7 Keil C51...12

More information

可 愛 的 動 物 小 五 雷 雅 理 第 一 次 小 六 甲 黃 駿 朗 今 年 暑 假 發 生 了 一 件 令 人 非 常 難 忘 的 事 情, 我 第 一 次 參 加 宿 營, 離 開 父 母, 自 己 照 顧 自 己, 出 發 前, 我 的 心 情 十 分 緊 張 當 到 達 目 的 地 後

可 愛 的 動 物 小 五 雷 雅 理 第 一 次 小 六 甲 黃 駿 朗 今 年 暑 假 發 生 了 一 件 令 人 非 常 難 忘 的 事 情, 我 第 一 次 參 加 宿 營, 離 開 父 母, 自 己 照 顧 自 己, 出 發 前, 我 的 心 情 十 分 緊 張 當 到 達 目 的 地 後 郭家朗 許鈞嵐 劉振迪 樊偉賢 林洛鋒 第 36 期 出版日期 28-3-2014 出版日期 28-3-2014 可 愛 的 動 物 小 五 雷 雅 理 第 一 次 小 六 甲 黃 駿 朗 今 年 暑 假 發 生 了 一 件 令 人 非 常 難 忘 的 事 情, 我 第 一 次 參 加 宿 營, 離 開 父 母, 自 己 照 顧 自 己, 出 發 前, 我 的 心 情 十 分 緊 張 當 到 達 目

More information

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( )

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1)* ( /2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) RAID RAID 0 RAID 1 RAID 5 RAID 10 2 2 3 4 * (-1)* (/2)* No Yes Yes Yes A. B. BIOS SATA C. RAID BIOS RAID ( ) D. SATA RAID/AHCI ( ) SATA M.2 SSD ( ) ( ) ( ) Windows USB 1 SATA A. SATASATAIntel SATA (SATA3

More information

Microsoft PowerPoint - 2014文化大學.ppt

Microsoft PowerPoint - 2014文化大學.ppt 2014 就 業 趨 勢 講 綱 Career 雜 誌 總 編 輯 臧 聲 遠 1 就 業 力 元 素 與 履 歷 表 要 項 ( 性 格 ) 職 業 適 性 + 學 校 排 名 + 學 位 + 科 系 + 證 照 + 核 心 專 業 技 術 + 跨 領 域 專 長 + 工 作 經 驗 + 比 賽 記 錄 + 作 品 + 課 外 社 團 活 動 + 特 殊 生 活 經 驗 ( 休 閒 生 活 / 志

More information

逢 甲 大 學

逢 甲 大 學 Ultrasound radar system - i - - ii - The ultrasound radar system is on the basis of the Doppler Effect. In the incessant acoustic wave actuator, emitting to object. Some acoustic wave which impacted the

More information

提纲 1 2 OS Examples for 3

提纲 1 2 OS Examples for 3 第 4 章 Threads2( 线程 2) 中国科学技术大学计算机学院 October 28, 2009 提纲 1 2 OS Examples for 3 Outline 1 2 OS Examples for 3 Windows XP Threads I An Windows XP application runs as a seperate process, and each process may

More information

P3B-F Pentium III/II/Celeron TM

P3B-F Pentium III/II/Celeron TM P3B-F Pentium III/II/Celeron TM 1999 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 13 R PS2 KBMS USB COM1 COM2 JTPWR ATXPWR PWR_FAN CPU_FAN Row 0 1 2 3 4 5 6 7 DSW JP20

More information

¸ß¼¶¼ÆËã»úÌåϵ½á¹¹ µÚÁùÕ Memory-Hierarchy Design

¸ß¼¶¼ÆËã»úÌåϵ½á¹¹  µÚÁùÕ  Memory-Hierarchy Design 高级计算机体系结构 第六章 Memory-Hierarchy Design 石教英 5.1 Introduction 目标 : unlimited amount of fast memory 方法 : Memory hierarchy 理由 : take advantage of locality and cost/performance of memory techology The principle

More information

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 3,,,,,, 1872,,,, 3 2004 ( 04BZS030),, 1 2005 5,,,,,,,,,,,,,,,,, 1928 716,1935 6 2682 1928 2 1935 6 1966, 2174, 7014 %, 94137 % 4, 1961, 59 1929,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2 , :,,,, :,,,,,,

More information

國立中山大學學位論文典藏.PDF

國立中山大學學位論文典藏.PDF I II III The Study of Factors to the Failure or Success of Applying to Holding International Sport Games Abstract For years, holding international sport games has been Taiwan s goal and we are on the way

More information

中国人民大学商学院本科学年论文

中国人民大学商学院本科学年论文 RUC-BK-113-110204-11271374 2001 11271374 1 Nowadays, an enterprise could survive even without gaining any profit. However, once its operating cash flow stands, it is a threat to the enterprise. So, operating

More information

DPJJX1.DOC

DPJJX1.DOC 8051 111 2K 1 2 3 ' ' 1 CPU RAM ROM / A/D D/A PC CPU 40 68 10 20 8 51 PIII 8051 2 MCS51 8051 8031 89C51 8051 8031 89C51? MCS51 INTEL INTEL 8031 8051 8751 8032 8052 8752 8051 8051 8051 MCS51 8031 8031

More information

Microsoft PowerPoint - Lecture7II.ppt

Microsoft PowerPoint - Lecture7II.ppt Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain

More information

嵌入式系统设计与应用 Pengju 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举

嵌入式系统设计与应用 Pengju 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 嵌入式系统设计与应用 第二章 ARM 处理器组成结构 (1) Pipeline & Memory hierarchy 西安交通大学电信学院 任鹏举 1 ARM 处理器内核结构 83~85 年 : 第一款 ARM 处理器采用 3 微米工艺 ; 9~95 年 :ARM6/ARM7, 采用三级流水线结构 ; 95~2 年 :ARM9, 采用五级流水线, 程序 / 数据存储器分开 ; 2~12 年 :ARM

More information

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING 前言 - Andrew Payne 目录 1 2 Firefly Basics 3 COMPONENT TOOLBOX 目录 4 RESOURCES 致谢

More information