《计算机系统结构》PPT课件.ppt_第1页
《计算机系统结构》PPT课件.ppt_第2页
《计算机系统结构》PPT课件.ppt_第3页
《计算机系统结构》PPT课件.ppt_第4页
《计算机系统结构》PPT课件.ppt_第5页
已阅读5页,还剩47页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

计算机系统结构 课程介绍,龚 斌 山东大学计算机科学与技术学院 2012-2013学年第二学期,课程目标,本课程是计算机科学与技术专业的一门的基础课程。通过本课程的学习,使学生理解计算机系统的基本工作原理,以及在硬件、软件界面划分的权衡策略(tradeoff),建立完整的、系统的计算机软硬件整体概念。,课程主要内容,计算机系统结构概论 数据表示、寻址方式与指令系统 存储、中断、总线与I/O系统 存储体系 流水和指令级高速并行的超级机 阵列处理机 多处理机 数据流机和规约机*,课程的重点,从整体上掌握计算机系统的工作原理,以讲授计算机系统结构的基本概念和基本原理为主,而不是完整介绍各种系统结构,即不是以具体的机器为实例进行教学 让同学们明白计算机技术发展的趋势及影响,激发学习热情、钻研和创新精神 了解新技术、新概念,扩大知识面 如:RISC、RAID、SMP、Cluster等 如:网格计算(Grid Computing),P2P,云计算(Cloud Computing),GPU计算 如:多核(Multicore),众核(Manycore),融核(Intel Xeon Phi) 如:Hadoop&MapReduce,大数据(Big Data),计算机学科的组织构成,计算机系统结构 计算机软件与理论 计算机应用,理科 工科 农 医 管理,计算机科学与技术专业,说明: 一级学科 二级学科,软件工程专业,计算机技术的发展,自1946年以来,计算机近70年有了惊人的发展 性能:(加法)速度提高了5个数量级 计算机性能以大约每年35%的速度提高 价格:今天$1000的机器相当于60年代中$106的机器,这里同性能计算机的价格比,改善了个数量级。 Today, less than $500 will purchase a mobile computer that has more performance, more main memory, and more disk storage than a computer bought in 1985 for $1 million. (John L. Hennessy and David A. Patterson) 从发展过程中体会本课程的含义。,Computing Systems Today,Scalable, Reliable, Secure Services,MEMS for Sensor Nets,Internet Connectivity,Databases Information Collection Remote Storage Online Games Commerce ,The world is a large parallel system Microprocessors in everything Vast infrastructure behind them,Robots,Routers,Cars,Sensor Nets,Refrigerators,指数增长的世界,网络 vs. 计算机性能 处理器速度每18个月翻一番 存储密度 每12个月翻一番 网络速度 每9个月翻一番 1986 to 2000 计算机: x 500 网络: x 340,000 2001 to 2010 计算机: x 60 网络: x 4000,处理器速度持续提高(广度),从1971年第一颗微处理器Intel 4004问世以来,40年间处理器芯片集成的晶体管数目从2300个发展到今天的数十亿个,处理器频率从不到1MHz发展到今天最高接近5GHz,与英特尔4004相比,如今下一代英特尔酷睿处理器的性能是其35万倍,每个晶体管的能耗却降低了5千倍。同期,晶体管的价格下降了约5万倍。,RISC,Move to multi-processor,在30年间计算机系统的速度提高了6个数量级,对计算能力的需求持续增长,摩尔定律(1979年),假设芯片价格保持不变,则微处理器芯片上的晶体管数,每隔18-24个月便翻一番 假设微处理器价格保持不变,则微处理器速度每隔18-24个月便翻一番 假设微处理器速度或芯片内存储器容量不变,则微处理器芯片价格每18-24个月将降低约48%,摩尔定律即将终结,Intel公司负责内部芯片设计的首席技术官盖尔欣格认为:以地球文明所拥有的材料环境,如果芯片的耗能和散热问题不解决,则: 2005年芯片上集成2亿个晶体管,热的像核反应堆 到摩尔定律截至年,2010年,就会达到火箭发射时高温气体喷嘴的水平 2015年,就会与太阳的表面一样热,Memory Capacity (and Cost) have changed dramatically in the last 20 years.,year size(Mb) cyc time 1980 0.0625 250 ns 1983 0.25 220 ns 1986 1 190 ns 1989 4 165 ns 1992 16 145 ns 1996 64 120 ns 2000 256 100 ns,Based on SPEED, the CPU has increased dramatically, but memory and disk have increased only a little. This has led to dramatic changed in architecture, Operating Systems, and Programming practices.,Capacity Speed (latency) Logic 2x in 3 years 2x in 3 years DRAM 4x in 3 years 2x in 10 years Disk 4x in 3 years 2x in 10 years,Scaling to 0.1m,Semiconductor Industry Association, 1992 Technology Workshop Projected future technology based on past trends,1992 1995 1998 2001 2004 2007 Feature size: 0.5 0.35 0.25 0.18 0.12 0.10 Industry is slightly ahead of projection DRAM capacity: 16M 64M 256M 1G 4G 16G Doubles every 1.5 years Prediction on track Chip area (cm2): 2.5 4.0 6.0 8.0 10.0 12.5 Way off! Chips staying small,芯片制造工艺在1992年以后, 从0.5微米、0.35微米、0.25微米、 0.18微米、0.15微米、0.13微米、 90纳米一直发展到目前最新的65,45,40, 22纳米,而10纳米的制造工艺将是下一 代CPU的发展目标。,CPU与Memroy的性能呈现剪刀差,Defining Computer Architecture,“Old” view of computer architecture: Instruction Set Architecture (ISA) design i.e. decisions regarding: registers, memory addressing, addressing modes, instruction operands, available operations, control flow instructions, instruction encoding “Real” computer architecture: Specific requirements of the target machine Design to maximize performance within constraints: cost, power, and availability Includes ISA, microarchitecture, hardware,Defining Computer Architecture,Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0,Milestones in Computer Architecture (1),Some milestones in the development of the modern digital computer.,Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0,Milestones in Computer Architecture (2),Some milestones in the development of the modern digital computer.,ENIAC - background,Electronic Numerical Integrator And Computer Eckert and Mauchly University of Pennsylvania Trajectory tables for weapons Started 1943 Finished 1946 Too late for war effort Used until 1955 据说,每当它开机时,费城西区的电灯黯然失色(功率过大),ENIAC-最早的计算机(1946年),ENIAC-技术细节,Decimal (not binary) 20 accumulators of 10 digits Programmed manually by switches 18,000 vacuum tubes 30 tons 15,000 square feet 140 kW power consumption 5,000 additions per second,Commercial Computers,1947 - Eckert-Mauchly Computer Corporation UNIVAC I (Universal Automatic Computer) Became part of Sperry-Rand Corporation Late 1950s - UNIVAC II Faster More memory,IBM 360 series,1964 Replaced (& not compatible with) 7000 series First planned “family” of computers Similar or identical instruction sets Similar or identical O/S Increasing speed Increasing number of I/O ports (i.e. more terminals) Increased memory size Increased cost Emulators for the 7000-/1400-series,Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0,IBM 360,The initial offering of the IBM product line.,DEC PDP-8,1964 First minicomputer Did not need air conditioned room Small enough to sit on a lab bench $16,000 $100k+ for IBM 360 Embedded applications & OEM BUS STRUCTURE-Unibus(单总线),Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0,PDP-8 Innovation Single Bus,The PDP-8 omnibus,Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved. 0-13-148521-0,Intel Computer Family,The Intel CPU family. Clock speeds are measured in MHz (megahertz) where 1 MHZ is 1 million cycles/sec.,目前最快的计算机(2012年11月),世界最快的500台计算机系统 2012年11月 No1: Titan (美国) 27112万亿次/秒 17590 No2: Sequoia (美国) 20132万亿次/秒 16324 No3: 京,K (日本) 11280万亿次/秒 10510 No8: TIANHE-1A (中国)4701万亿次/秒 2566 No12: 星云一号 (中国) 2984万亿次/秒 1271 No28: 神威蓝光(中国) 1070万亿次/秒 795,Three Decades of Microprocessor,The Decade of the 1970s Microprocessors Programmable Controller Single-Chip Microprocessors Personal Computers (PC) The Decade of the 1980s Quantitative Architecture Instruction Pipelining Fast Cache Memories Workstations The Decade of the 1990s Instruction-Level Parallelism Superscalar Processors Speculative Micro-architectures Aggressive Code Scheduling Low-Cost Desktop Supercomputing,Computer Architecture- Changing Definition,1950s to 1960s Computer Arithmetic 1970s to mid 1980s Instruction Set Design, especially ISA appropriate for compilers 1990s Design of CPU, memory system, I/O system, Multiprocessors, Networks 2000s Multi-core architecture, power aware architecture, energy aware architecture, non Von-Neumann architecture, dynamic reconfigurable,2020年以前超级计算机发展趋势,2000年 每秒10万亿次浮点运算 2005年 每秒100万亿次浮点运算 2009年 每秒1000万亿次浮点运算(Pflop/s) 2013年 每秒1亿亿次浮点运算 2016年 每秒10亿亿次浮点运算 2020年 每秒100亿亿次浮点运算(Eflop/s) 基本上每10年左右性能提高1000倍,超级计算机发展路线图,2010,2020,2030,2050,必须突破并行编程模型,几十年来由于微处理器一直按照Moore定律预测的性能增长速度争发展,使得并行处理得不到强烈的需求牵引,导致以并行计算机为主业的公司几乎全部夭折。 单处理器性能的提高遇到阻碍以后,计算机要提高性能基本上只剩下一条路可走依靠并行处理。过去几十年的编程模式主要的串行,现在必须转到并行编程,这一迫不得已的转变,对软件界既是挑战也是机遇。 未来的微处理器少则几个十几个核,多则数千个核,连每个用户手中的终端都是多核处理器,如何让一个任务分解到多个核中运行成为今后编程的大问题。在现有串行编程模型上做并行化没有出路,一定回到原始问题,从新考虑并行算法和并行编程,这可能是今后几十年计算机科学和软件界必须突破的科学问题和关键技术。,功耗与绿色HPC,每个节点耗电在300到1500瓦之间,而一个机柜耗能在20到30千瓦左右。以百万亿次超级计算机-曙光5000A为例,其采用近7000颗四核处理器构建,总内存容量超过100TB,存储容量达700TB,总体功耗达到700千瓦(不含冷却系统),其每年的电费开销预期为1000万元人民币。其效能虽然在世界目前的高性能计算机里面已经相当优越的了,但依旧让我们普通人感到十分震惊。 而一台持续千万亿次计算的超级计算机系统每小时需要消耗20兆瓦或更高的电能,其每年的电费开销也将高达亿元人民币以上 ,说明,计算机技术六十年的发展,尤其是近十年的发展十分迅猛,新概念、新技术不断涌现,对社会和生活的有巨大影响 计算机应用的广度和深度日益扩大,概念有所变化: 广度:信息家电(PDA、手机、MP3等)、嵌入式系统 深度:高性能计算(HPC)、网格计算(Grid Computing)、Web服务(Web Services)、云计算(Cloud Computing)、多核技术(Multicore)、众核技术(ManyCore)等 软、硬件技术发展不均衡。 计算机的应用不是简单的编写程序,而是解决方案(solution),集成(Integrated),标准(Standard) 技术的研发要从商业运营模式出发考虑,才能体现其价值,课程学习的特点,本科专业的重要课程 可能是在其他学院不开的很少的几门计算

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论