350 likes | 541 Views
Computer Architecture CSE420/598 Spring 2010. Sandeep K. S. Gupta Arizona State University. Computer Architecture?. CA = ISA + O + H ISA – Instruction Set Architecture O – Organization H - Hardware Computer architect design a computer to meet functional requirements AND
E N D
Computer Architecture CSE420/598 Spring 2010 Sandeep K. S. Gupta Arizona State University
Computer Architecture? • CA = ISA + O + H • ISA – Instruction Set Architecture • O – Organization • H - Hardware • Computer architect design a computer • to meet functional requirements AND • to meet price, performance and availability goals
Motivational Quote • “It is not a dreary science of paper machines that will never work. No! It’s a discipline of keen intellectual interest, requiring the balance of marketplace forces to cost-performance-power, leading to glorious failuresand some notable successes.” – HP, CAaQA 1st ed.
Course Goals • To understand fundamentals of instruction set design, processor design to exploit parallelism (ILP, TLP, DLP), memory-hierarchy design, storage system design. • To understand the current trends in CA • shift from single processor (core) chips to multiprocessor on chips (multi-core) to optimize performance/watts, • increasing focus on dependability – to address more hard/soft errors at smaller feature sizes < 65nm.
Course Goals - Indirect • To get you a high-paying job • To enrich with new ideas • To train you in systems oriented thinking • To prepare you for research in computer architecture – but more generally – in computer systems (CA+Compiler+OS+Application)
Architecture? http://www.keppiedesign.co.uk/images/KeppieArchitectureGuernsey.jpg http://www.nahbmonday.com/consumer/editor_images/adobe3-1.JPG http://www.busyboo.com/wp-content/uploads/2007/12/dynamic-architecture-design.jpg http://sum1.onreact.com/bilder/100-dollar-laptop-notebook.jpg http://www.cray.com/Assets/images/products/xt5.jpg http://cache.gizmodo.com/assets/images/4/2009/07/504x_Cray-1.jpg
Architecture of a Computing Machine? Source:http://cache.kotaku.com/assets/resources/2007/10/BRAIN.jpg Source: http://www.tpetionnouvelgaye.com/images/526px-NIA_human_brain_drawing.jpg
How Computer Architectures evolved? http://www.uncommondescent.com/wp-content/uploads/2009/09/sr2.gif
What is the architecture of Intel ATOM and Why it is used in Notebooks? http://www.geeky-gadgets.com/wp-content/uploads/2009/12/new-intel-atom-platform.jpg Source: http://en.wikipedia.org/wiki/Intel_Atom
Why PS3 Uses Cell Processors? Source:http://en.wikipedia.org/wiki/PlayStation_3 Source: http://domino.watson.ibm.com/comm/research_projects.nsf/pages/cellcompiler.cell.html
Why Multicore Architectures? An AMDAthlon X2 6400+dual-core processor Source: http://en.wikipedia.org/wiki/Multi-core_processor Source: www.cnet.com.au/story_media/339274935/1.jpg
Why companies are very secretive about their Datacenter’s Architecture? And Why (Mega) Datacenters are situated near large electricity power plants? Source: news.cnet.com/i/bto/20090123/Iowa.jpg Source: eetdnews.lbl.gov/nl12/images/data-center.gif
And Much More… • Dynamic Scheduling: Tumasulo’s Algorithm • Virtual Memory • Protection and Synchronization Mechanisms • Shared memory architectures • Storage Architectures: RAID
Some Quotes from Randy Pausch “The Last Lecture” http://www.mediabistro.com/galleycat/original/randy-pausch.jpg “Have something to bring to the table, because that will make you more welcome.” “You’ve got to get the fundamentals down because otherwise the fancy stuff isn’t going to work. “ “The brick walls are not there to keep us out. The brick walls are there to give us a chance to show how badly we want something. Because the brick walls are there to stop the people who don’t want it badly enough.” “Be prepared. Luck is truly where preparation meets opportunity.”
Course Pre-req • CSE 230 (new) – Computer Organization and Assembly Language Programming http://cse.asu.edu/courses/descriptions/230.php • CSE 330 (old) – Computer Organization, CSE 225 – Assembly Language programming • Knowledge of C and Assembly Language Programming
That is … • CSE230 Goal 1 “To provide an exposure to the organization and implementation of a computer system at the hardware level.” • The student can identify the five major components of a computersystem and describe how the components interact and the effect on the system as a whole. • The student can describe data representation, the instruction set, addressing modes, and register organization. • The student can describe the execution of instructions, and the hardware components used in each step. • The student can identify several approaches to processor implementations: Single cycle, Multi-cycle, Pipelined, Superscalar • The students can describe various memory organizations including virtual memory and cache organization structures • The student can describe what busses are and describe their role in connecting the major system components. • The student can describe how processor identifies different sources of interruptsand exceptions and invokes the corresponding handler to deal with the interrupt or exception.
That is … (Cont.) • CSE230 Goal 2 “To develop an introductory understanding of assembly language and the relationship between computer hardware and machine code/assembly code.” • The student can develop assembly language programs that include flow control constructs (sequential, conditional and iterative). • The student can develop assembly language programs, including subroutines employing modularity, readability and reliability principles. • The student can develop assembly-language programs that use the stack to save register contents, pass parameters to subroutines, and create stack frames for local variables. • The student can develop abasic interrupt handler routine • The student can develop a basic IO handler routine
That is … (Cont.) • CSE 230 Goal 3: “To develop the tools necessary to analyze the performance of computer architecture and organization.” • The student can identify various metrics to evaluate the performance of computer systems. • The student can evaluate memory cache performance • The student can identify several I/O performance measures.
PreReq: Fallacies and Pitfalls • Fallacy: “Pre-req don’t matter, I am smart enough to pick it up during semester.” • Fallacy: “Instructor doesn’t care about Pre-req.” • Pitfall: Attempting to do assignments and exams without getting sound grasp on pre-req material
Course Books • Computer Architecture: A Quantitative Approach (Fourth Edition) by John L. Hennessy and David A. Patterson • Computer Organization and Design: The Hardware Software Interface, Patterson and Hennessy
Course Mechanics • Assignments : 30% • involves solving problems and programming in C/Java/Assembly • Quizzes + Class Presentation: 20% • Projects/Term Paper: 20% • Details will be announced later • Exams : 30% • At least one midterm and final
A Note about “RAQ” Hazard • RAQ = “Read After Quiz” • Quizzes can be unannounced • Meant to make sure you are in SYNC with the class • Reduce some pressure for Exam preparation • Read the material (book, slides, paper etc.) before coming to class
“ No Distraction” Policy • No Laptops/Netbooks/Cell Phone/News Papers etc. • Laptops/Netbooks may be permitted – only with instructor’s permission
Cheating/Plagarism Policy • Strictly prohibited • See University policy • Minimum punishment – zero in the assignment
Grad. Student Work++ • Graduate students are expected to demonstrate a deeper understanding of the subject material. • At times, graduate students will be assigned more challenging assignments and exam problems • Paper reading and presentation • Solving more difficult problem • Short (team) projects
Class Format • Quiz (10 min) • Quiz review + Recap (5 min) • Lecture (45 to 55 (when no Q) min) • Take Notes! • (If used) Slides will be posted after the class • Discussion (10) • Take Notes! • Assignment Qs/Next Class (5 min) • Take Notes!
Class Cyberpresence • http://impact.asu.edu/cse420sp10.html • class assignments • Solutions • Slides • reference material • Visit regularly for latest information • Discussion board - If enough interest.
What can you expect from this course? • Lots of in-class interaction • Interesting and challenging assignments and exam questions • Help/Tutorials by instructor/TA on difficult material • And lot more!
Contacting Me or TA • Instructor • Email: sandeep.gupta@asu.edu • Subject line: CSE420Sp10 • Office: BY 522 • Phone: 5-3806 • Office Hours: MW 3:15-4:45pm • Call me || come to my office hrs || Set up an appointment • http://impact.asu.edu • TA Su Kim • Email: su.kim@asu.edu • Office BY517 • Tue and Thu 10-11:30am or by appointment
Thermal Management for Data Centers Pervasive Health Monitoring Criticality Aware-Systems Mobile Ad-hoc Networks ID Assurance • Goal: • Increasing computing capacity for datacenters • Energy efficiency • Features: • Online thermal evaluation • Thermal Aware Scheduling • Sponsor: • Goal: • Protect people’s identity & consumer computing from viral threats • Features: • PKI based • Non-tamperable, non-programmable personal authenticator • Hardware and VM based trust management • Sponsor: • Goal: • Container Monitoring for Homeland Security • Dynamic Supply Chain Management • Features: • Integration of RFID and environmental sensors • Energy management • Communication security • Sponsor: • Goal: • Protocols for mobile ad-hoc networks • Features: • Energy efficiency • Increased lifetime • Data aggregation • Localization • Caching • Multicasting • Sponsor: Intelligent Container IMPACT: Research Use-inspired research in pervasive computing & wireless sensor networking • Goal: • Pervasive Health monitoring • Evaluation of medical applications • Features: • Secure, Dependable and Reliable data collection, storage and communication • Sponsor: • Goal: • Evaluation of crisis response management • Features: • Theoretical model • Performance evaluation • Access control for crisis management • Sponsor: Medical Devices, Mobile Pervasive Embedded Sensor Networks BOOK: Fundamentals of Mobile and Pervasive Computing, Publisher: McGraw-Hill Dec. 2004
NSF REU positions available • Contact me if you are interested in working with my graduate students on NSF projects on Green Computing, Pervasive Health monitoring, Mobile Computing, Wireless Sensor Networks, Information Security/Privacy, Energy-Efficient Computing.
What’s Next? • Next Class: Fundamentals of Computer Design – CH1 CA-QA • Start reading Chapter 1 • Plan for next few lectures: Fundamentals of Computer Design (Ch1) Review of ISA (Appendix B), Memory Hierarchy (Appendix C) and Pipelining (Appendix A)