Classes of Computers

Download Report

Transcript Classes of Computers

COMPUTER ARCHITECTURE &
OPERATIONS I
Instructor: Ryan Florin
Housekeeping

Blackboard

Syllabus

Class Schedule

Class Notes

Assignments

Sending out emails to class
Housekeeping

Best way to contact me is by email:


[email protected]
Or in office hours

Office location: 3106 E&CS

Office hours:

T, R: 5:40PM-6:40PM
Housekeeping

Grading Policy

(6) Assignments 40%

(2) Midterms: 30%


Open book, open notes
(1) final: 30%

Open book, open notes
Housekeeping

Textbook


Computer Organization and Design: The
Hardware/Software Interface, 5th Edition, by
Patterson and Hennessy, Morgan and
Kaufman Publishers, Inc., 2014
Same textbook in CS270
Honor Code

All assignments, unless explicitly specified,
are to be completed on your own

ODU Honor Council


http://orgs.odu.edu/hc/
Evidence of cheating, plagiarism, or
unauthorized collaboration will result in a 0
grade for quiz/assignment/exam

May have further consequences
How to get help?



Ask questions in class (or after class)
Attend office hours
Email me


Make sure that you put “CS170” in your
subject line
Send it from your .odu account


It wouldn’t come to my spam folder
State clearly what you need in your email
How to Get an A in this Class

Attendance



Notes


Attend class regularly and on time
Ask questions and participate
Review class notes after class
Homework


Get started as early as possible
Contact me with any questions
CS170 will cover


Chapters 1, 2, 3
Appendix B
Importance of This Course

Prerequisite for CS270


You must get a C or better to pass
Foundation for advanced courses







Operating Systems
Programming Language
Compiler Design
Networking
Parallel Programming
Algorithm
I/O Management
Computer Evolution

Moore’s Law

The number of transistors that can be placed
inexpensively on an integrated circuit
doubles approximately every two years


Chip performance double every two years
So does




CPU speed
Memory
Number of sensors
Number of Pixels in digital camera
Computer Evolution

Moore’s “Law”




1958 - first transistors on chip
1965 – Doubles every year
1976 – Doubles every 2 years
2015 – Doubles every 2.5 years
Moore’s Law
Moore’s Law

Progress in computer technology


Makes novel applications feasible







Underpinned by Moore’s Law
Computers in automobiles
Cell phones
Human genome project
Computational biology/chemistry/physics
World Wide Web
Search Engines
Computers are pervasive
§1.1 Introduction
The Computer Revolution
Classes of Computers

Personal computers


General purpose, variety of software
Subject to cost/performance tradeoff
Classes of Computers

Embedded computers


Hidden as components of systems
Examples



Computer in your car
Processor in your cell phone
Stringent power/performance/cost constraints
Classes of Computers

Server computers



Network based
High capacity, performance, reliability
Range


Small file servers
Supercomputers
Poor Man’s Super Computer

What is a Cluster?


Cluster consists of





“Collection of interconnected
stand-alone computers
working together as a single,
integrated computing
resource”
Nodes
Network
OS
Cluster middleware
Standard components

Avoiding expensive
proprietary components
Classes of Computers

Warehouse scale computers

servers, storage, cooling, power all working
together on huge scales to deliver compute
power as a “utility” for a small fee.
The Processor Market
Understanding Computer Performance

Algorithm


Programming language, compiler, architecture


Determine number of machine instructions executed
per operation
Processor and memory system


Determines number of operations executed
Determine how fast instructions are executed
I/O system (including OS)

Determines how fast I/O operations are executed

Application software


Written in high-level language
System software


Compiler: translates High Level
Language code to machine code
Operating System: service code




Handling input/output
Managing memory and storage
Scheduling tasks & sharing resources
Hardware

Processor, memory, I/O controllers
§1.2 Below Your Program
Below Your Program
Levels of Program Code

High-level language



Assembly language


Level of abstraction closer
to problem domain
Provides for productivity
and portability
Symbolic representation of
instructions
Hardware representation


Binary digits (bits)
Encoded instructions and
data
Compiler

Function of Compiler

Convert programs in high-level language to
programs in assembly language
Example: C Compiler
C program
Assembly Program
Assembler

Assembler


Translates assembly language into binary
instructions
Assembly Language


Use symbols instead of 0’s and 1’s
More readable
Binary Instructions
MIPS binary code for summing 0 to 100 square
The BIG Picture

Same components for
all kinds of computer


Desktop, server,
embedded
Input/output includes

User-interface devices


Storage devices


Display, keyboard, mouse
Hard disk, CD/DVD, flash
Network adapters

For communicating with
other computers
§1.3 Under the Covers
Components of a Computer
Anatomy of a Computer
Output
device
Network
cable
Input
device
Input
device
Anatomy of a Mouse

Optical mouse



LED illuminates
desktop
Small low-res camera
Basic image processor



Looks for x, y
movement
Buttons & wheel
Supersedes roller-ball
mechanical mouse
Through the Looking Glass

LCD screen: picture elements (pixels)

Mirrors content of frame buffer memory
Opening the Box
Inside the Processor (CPU)



Datapath: performs operations on data
Control: sequences datapath, memory, ...
Cache memory

Small fast SRAM memory for immediate
access to data
Inside the Processor

AMD Barcelona: 4 processor cores
A Safe Place for Data

Volatile main memory


Loses instructions and data when power off
Non-volatile secondary memory



Magnetic disk
Flash memory
Optical disk (CDROM, DVD)
Networks


Communication and resource sharing
Local area network (LAN): Ethernet



Within a building
Wide area network (WAN: the Internet)
Wireless network: WiFi, Bluetooth
Technology Trends

Electronics
technology
continues to evolve


Increased capacity
and performance
Reduced cost
DRAM capacity
Summary





Syllabus
Moore’s Law
Classes of Computers
Performance of a Computer
Components of a Computer
What I want you to do


Review Chapter 1 and Class Slides
Enjoy your new semester