CSE2021 Computer Organization CSE2021 Computer Organization
Total Page:16
File Type:pdf, Size:1020Kb
CSE2021 Computer Organization CSE2021 Computer Organization Instructor: Gulzar Khuwaja, PhD Email: [email protected] Tel: (416) 736-2100 x 77874 Instructor: Gulzar Khuwaja, PhD Course Website: Department of Electrical Engineering https://wiki.eecs.yorku.ca/course_archive/2014-15/S/2021/ & Computer Science Schedule: Lassonde School of Engineering Lectures: R 7:00 – 10:00 pm Room CLH M (206) York University Labs: M 7:00 – 10:00 pm Room LAS 1006 Office Hrs: R 5:00 – 06:30 pm Room LAS 2018 Chapter 1 — Computer Abstractions and Technology — 2 COMPUTER ORGANIZATION AND DESIGN 5th Edition CSE2021 Computer Organization The Hardware/Software Interface Text Books: Computer Organization and Design The Hardware/Software Interface, 5th Edition (2014) by David A. Patterson and John L. Hennessy Chapter 1 Morgan Kaufmann Publishers (Elsevier) ISBN 978-0-12-407726-3 Computer Abstractions MIPS Assembly Language Programming 2003 by Robert Britton, Pearson Publishers ISBN-10:0131420445 and Technology Assessment: Quizzes: 11% Labs: 24% Midterm Exam: 25% Final Exam: 40% Chapter 1 — Computer Abstractions and Technology — 3 Chapter 1 — Computer Abstractions and Technology — 4 § 1.1 Introduction 1.1 COMPUTER ORGANIZATION AND DESIGN 5th Edition The Hardware/Software Interface Moore’s Law Moore’s Law states that integrated circuit Computer Abstractions resources double every 18–24 months. and Technology Moore’s Law resulted from a 1965 prediction of such growth in IC capacity - Introduction - Eight Great Ideas in Computer Architecture made by Gordon Moore, one of the - Below Your Program - Under the Covers founders of Intel. - Technologies for Building Processors and Memory Moore’s Law graph to represent - Performance - The Power Wall designing for rapid change - The Switch from Uniprocessors to Multiprocessors - Concluding Remarks Chapter 1 — Computer Abstractions and Technology — 5 Chapter 1 — Computer Abstractions and Technology — 6 1 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 Moore’s Law Moore’s Law Year of introduction Transistors 4004 1971 2,250 8008 1972 2,500 8080 1974 5,000 8086 1978 29,000 286 1982 120,000 386™ 1985 275,000 486™ DX 1989 1,180,000 Pentium® 1993 3,100,000 Pentium II 1997 7,500,000 Pentium III 1999 24,000,000 Pentium 4 2000 42,000,000 Source: ISSCC 2003 G. Moore “No exponential is forever, but ‘forever’ can be delayed” Chapter 1 — Computer Abstractions and Technology — 7 Chapter 1 — Computer Abstractions and Technology — 8 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 Is Moore’s Law Ending? Is Moore’s Law Ending? (2) Intel’s former chief architect Bob Colwell says: Moore’s law will be dead within a decade (August 2013). The end of Moore's Law is on the horizon, says AMD. Theoretical physicist Michio Kaku believes Moore's Law has about 10 years of life left before ever-shrinking transistor sizes smack up against limitations imposed by the laws of thermodynamics and quantum physics (April 2013). Chapter 1 — Computer Abstractions and Technology — 9 Chapter 1 — Computer Abstractions and Technology — 10 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 Bell’s Law Bell’s Law Bell's Law for the birth and death of computer classes: Bell's law of computer classes formulated by Gordon Bell in 1972 describes how computing systems (computer classes) form, evolve and may eventually die out. Roughly every decade a new, lower priced computer class forms based on a new programming platform, network, and interface resulting in new industry. In 1951, men could walk inside a computer and now, computers are beginning to “walk” inside of us . Source: B Bell, “Bell’s Law for the Birth and Death of Computer Classes”, Comms of ACM, 2008 Chapter 1 — Computer Abstractions and Technology — 11 Chapter 1 — Computer Abstractions and Technology — 12 2 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 The 1st Generation Computer Computers Today Source: http://www.computerhistory.org Chapter 1 — Computer Abstractions and Technology — 13 Chapter 1 — Computer Abstractions and Technology — 14 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 The Computer Revolution The Computer Revolution (2) Progress in computer technology Computers in Automobiles Underpinned by Moore’s Law reduce pollution, improve fuel efficiency via engine controls, and increase safety through Makes novel applications feasible blind spot warnings, lane departure warnings, Computers in Automobiles moving object detection, and air bag inflation Cell Phones to protect occupants in a crash Human Genome project Cell Phones World Wide Web more than half of the planet having mobile Search Engines phones, allowing person-to-person Computers are pervasive communication to almost anyone anywhere in the world Chapter 1 — Computer Abstractions and Technology — 15 Chapter 1 — Computer Abstractions and Technology — 16 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 The Computer Revolution (3) The Computer Revolution (4) Human Genome Project World Wide Web a global effort to identify the estimated 30,000 has transformed our society. Web has genes in human DNA to figure out the replaced libraries and newspapers sequences of the chemical bases that make up human DNA to address ethical, legal, and Search Engines social issues As the content of the web grew in size and in value, many people rely on search engines The cost of computer equipment to map and analyze human DNA sequences was for such a large part of their lives that it would hundreds of millions of dollars. Since, costs be a hardship to go without them continue to drop, we will soon be able to acquire our own genome, allowing medical care to be tailored to us Chapter 1 — Computer Abstractions and Technology — 17 Chapter 1 — Computer Abstractions and Technology — 18 3 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 Classes of Computers Classes of Computers (2) Personal computers Personal computers Computers designed for use by an individual Server computers General purpose, variety of software Supercomputers Subject to cost/performance tradeoff Embedded computers Server computers Computers used for running larger programs for multiple users, often simultaneously Network based High capacity, performance, reliability Range from small servers to building sized Chapter 1 — Computer Abstractions and Technology — 19 Chapter 1 — Computer Abstractions and Technology — 20 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 Classes of Computers (3) The PostPC Era Supercomputers Smart phones represent Consist thousands of processors and many the recent growth in cell terabytes of memory phone industry, and they passed PCs in 2011. High-level scientific and engineering calculations Tablets are the fastest Highest capability and cost but represent a small growing category, nearly fraction of the overall computer market doubling between 2011 Embedded computers and 2012. Hidden as components of systems Recent PCs and traditional cell phone Largest class of computers and span the widest range of applications categories are relatively flat or declining. Strict power/performance/cost limitations Chapter 1 — Computer Abstractions and Technology — 21 Chapter 1 — Computer Abstractions and Technology — 22 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 The PostPC Era (2) The PostPC Era (3) Personal Mobile Devices (PMDs) Cloud computing Small wireless devices Term cloud essentially used for the Internet Battery operated Portion of software run on a PMD and portion Connects to the Internet run in the Cloud Hundreds of dollars Warehouse Scale Computers (WSCs) Big datacenters containing 100,000 servers Smart phones, tablets, electronic glasses Amazon and Google cloud vendors Software as a Service (SaaS) Delivers software and data as a service over the Internet Web search and social networking Chapter 1 — Computer Abstractions and Technology — 23 Chapter 1 — Computer Abstractions and Technology — 24 4 § § 1.1 Introduction 1.1 1.1 Introduction 1.1 What You Will Learn Understanding Performance How programs are translated into Algorithm machine language determines number of operations executed and how hardware executes them Programming language, compiler, architecture The hardware/software interface determine number of machine instructions executed per operation What determines program performance Processor and memory system and how it can be improved determine how fast instructions are executed How hardware designers improve I/O system (including OS) performance determine how fast I/O operations are What is parallel processing executed Chapter 1 — Computer Abstractions and Technology — 25 Chapter 1 — Computer Abstractions and Technology — 26 § § 1.2 Eight Great Ideas in Computer Architecture Computer in Ideas Great Eight 1.2 Architecture Computer in Ideas Great Eight 1.2 Eight Great Design Ideas Eight Great Design Ideas (2) Design for Moore’s Law Performance via Parallelism Computer designs can take years, resources available A form of computation in which many calculations per chip can easily double or quadruple between start are carried out simultaneously and finish of project Performance via Pipelining Anticipate where technology will be when design finishes A particular pattern of parallelism A set of data processing elements connected in Use Abstraction to simplify design series, so that the output of one element is the input Hide lower-level details to offer a simpler model at higher of the next one levels Performance via Prediction Make the Common Case Fast It can be faster on average