Title | L01 - reference |
---|---|
Author | 鸿昌 梁 |
Course | Computer Architecture |
Institution | National University of Singapore |
Pages | 36 |
File Size | 2.1 MB |
File Type | |
Total Downloads | 110 |
Total Views | 166 |
reference...
18‐447Lecture1: IntrotoComputerArchitecture
JamesC.Hoe DepartmentofECE CarnegieMellonUniversity
18‐447‐S21‐L01‐S1,JamesC.Hoe,CMU/ECE/CALCM,©2021
Housekeeping • Yourgoaltoday – knowwhatyouaregettinginto – decideifyouarecomingback...
• Notices – completestudentsurveyonCanvas,dueWed2/10 – H01:syllabus – Lab1outonWed; formgroupsof2or3
• Readings – P&HCh1 – P&HCh2.1~2.10(nexttime) 18‐447‐S21‐L01‐S2,JamesC.Hoe,CMU/ECE/CALCM,©2021
Whatis18‐447? • 18‐213:IntroductiontoComputerSystems – “C”asthemodelofcomputation – interactwiththecomputerhardwarethroughOS – whataboutthedetailsbelowtheabstraction?
Somehowaprogramends upexecutingasdigitallogic • 18‐240:FundamentalsofComputerEngineering – digitallogicasthemodelofcomputation – gatesandwiresasbuildingblocks – whataboutthedetailsbelowthisabstraction? 18‐447‐S21‐L01‐S3,JamesC.Hoe,CMU/ECE/CALCM,©2021
18‐447:FuzzytoConcrete 18‐213
• “ComputerArchitecture” – functionalspecforsoftwareandprogrammers – designspecforthehardwarepeople
• ComputerOrganization – takearchitectureto“micro”architecture – howtoassemble/evaluate/tune
• ComputationStructures – digitalrepresentations – processing,storageandI/Oelements 18‐240 18‐447‐S21‐L01‐S4,JamesC.Hoe,CMU/ECE/CALCM,©2021
WhatisaComputer? • Computer,2.a. Acalculating‐machine;esp.an automaticelectronicdeviceforperforming mathematicalorlogicaloperations;freq.with definingwordprefixed,asanalogue,digital, electroniccomputer. ‐‐‐ OxfordEnglishDictionary,circa2000
18‐447‐S21‐L01‐S5,JamesC.Hoe,CMU/ECE/CALCM,©2021
SomeFamiliarComputers
18‐447‐S21‐L01‐S6,JamesC.Hoe,CMU/ECE/CALCM,©2021
[imagesfromWikipedia]
Whereisthecomputer?
[imagesfromWikipedia] 18‐447‐S21‐L01‐S7,JamesC.Hoe,CMU/ECE/CALCM,©2021
Moderncomputingisasmuchabout enhancingcapabilitiesasdataprocessing!!
Keepingupwiththetimes • Computer,3.Anelectronicdevice(orsystemof devices)whichisusedtostore,manipulate,and communicateinformation,performcomplex calculations,orcontrolorregulateotherdevicesor machines,andiscapableofreceivinginformation... andofprocessingitinaccordancewithvariable proceduralinstructions...usedesp.forhandling text,images,music,andvideo,accessingandusing theInternet,communicatingwithotherpeople(e.g. bymeansofemail),andplayinggames. ‐‐‐ OxfordEnglishDictionary,circa2018 18‐447‐S21‐L01‐S8,JamesC.Hoe,CMU/ECE/CALCM,©2021
Sowhatmakesacomputeracomputer? Processing control (sequencing)
Storage (program anddata)
I/O
datapath
18‐447‐S21‐L01‐S9,JamesC.Hoe,CMU/ECE/CALCM,©2021
Havingprogramstoredasdataisan extremely importantstep inthe evolutionofcomputerarchitectures
“Canonical”ComputerOrganization CPU ALU
CPU RF
cache
ALU
RF
cache Memory“Bus”
MainMemory (DRAM)
I/O Bridge
I/O“Bus” Disk Video
18‐447‐S21‐L01‐S10,JamesC.Hoe,CMU/ECE/CALCM,©2021
Kbd& Net‐ Mouse work
AtmelATmega8 state I/O logic
[imagefromWikipedia]
18‐447‐S21‐L01‐S11,JamesC.Hoe,CMU/ECE/CALCM,©2021
Page9Atmel8‐bitAVRATmega8Databook
ComputerArchitectureisEngineering • Anapplieddisciplineoffindingandoptimizing solutionsunderthejointconstraints ofdemand,technology,economics, andethics • Thus,instancesofwhatwepractice evolvecontinuously • Needtolearntheprinciples thatgovernhowtodevelop solutionstomeetconstraints • Don’tmemorizeinstances; understandwhyitisthatway 18‐447‐S21‐L01‐S12,JamesC.Hoe,CMU/ECE/CALCM,©2021
CourseLogistics • PleasepayattentiontoCanvasandPiazzafor updatesandannouncements • H01:Syllabus – thisisourcontractfortheterm – pleasereadit
• Lecturescheduleonline – http://www.ece.cmu.edu/~ece447/schedule.html – readingassignmentsaretobecompletedbefore lecture – payattentiontomidtermdates;thetimeto resolveconflictsisrightnow 18‐447‐S21‐L01‐S13,JamesC.Hoe,CMU/ECE/CALCM,©2021
SpecialNoticesaboutLabs • Lab1startsonWed – RISC‐Vsimulator(Ccode) – single‐cycleRISC‐V(RTLVerilog)
• Togetready – getaGitHubaccount – findlabpartners
• Pleaseobserve – – – –
labassignmentsMUSTbedoneingroupsof2or3 entiregroupMUSTbepresentduringcheck‐off 10%perdaypenaltyforlatelabs,cappedat50% alllabsMUSTbecheckedofftopassthecourse
18‐447‐S21‐L01‐S14,JamesC.Hoe,CMU/ECE/CALCM,©2021
HistoricalPerspectives: preludetomoderncomputerarchitecture
Youshouldread“HistoricalPerspectives”atendofP&Hchapters. Formore,read“AHistoryofModernComputing”byCeruzzi. 18‐447‐S21‐L01‐S15,JamesC.Hoe,CMU/ECE/CALCM,©2021
ForcesonInnovation • Timelyinnovationsarerarelyuniqueororiginal • Similarconstraintsleadtosimilarengineering solutions
18‐447‐S21‐L01‐S16,JamesC.Hoe,CMU/ECE/CALCM,©2021
BeginningsofDigitalComputing • IndustrialRevolutionera’s“hi‐tech”inmechanization – steamengines – mechanicalcalculators, – Jacquard’sloom: gears,pulleys, chainsand punchcards
[imagesfromWikipedia] 18‐447‐S21‐L01‐S17,JamesC.Hoe,CMU/ECE/CALCM,©2021
CharlesBabbage(1791‐1871) • DifferenceEngine,1823:aspecial‐purposecomputer – evaluatedpolynomialfunctionsbyNewton'smethod ofsuccessivedifferences(requiringonlyadditions) – eventuallybuiltbyGeorg andEdvardSchuetzin1855
• AnalyticalEngine,1833:ageneral‐purposecomputer – programmedbypunchcards,“assembly language”includedloopsandbranches – 1000word datastore,punchcardI/O – unfortunately nevercompleted (wouldhavebeen10x30meters, steam‐enginepowered) [imagesfromWikipedia]
18‐447‐S21‐L01‐S18,JamesC.Hoe,CMU/ECE/CALCM,©2021
100YearsofTechnologyAdvances • Mechanical,1800s – gears,chains,pulleys,andsteampower – punchcards!!
• Electromechanical,early1900s – switches,relays,“acoustic”delayline“memory” – e.g. Harvard/IBMMark1,Aiken1939~1944,50ftlong, 5ton,750Kparts,3~6secperaddition UsedideasfromAnalyticalEngine
• Electrical,mid1900sandon – plugboards,vacuumtubes,CRTs – andlaterDRUM,core,transistorsandsoon..... Changingdemandsandeconomics?
18‐447‐S21‐L01‐S19,JamesC.Hoe,CMU/ECE/CALCM,©2021
ENIAC,1946 EckertandMauchly,UofPenn
[imagesfromWikipedia]
18‐447‐S21‐L01‐S20,JamesC.Hoe,CMU/ECE/CALCM,©2021
• thefirstprogrammable electronicdigitalcomputer • 18,000vacuumtubes • 30ton,80by8.5feet • 1900additionspersecond • 2010‐decimal‐digitwords (100‐wordcoreby1952) • Programmedby3000 switchesinthefunctiontable andplug‐cables(later becamestoredprogramfor fasterprogramloading)
Proliferationin40sand50s • From“MooreSchoolLectures” – – – – –
ENIAC,Eckert&Mauchly,1946(revealed) EDVAC,vonNeumann,1944~1952 EDSAC,Wilkes,1949(firststored‐programbuilt) IAS,Bigelow,1952 ORDVAC,SEAC,MANIAC,JOHNIAC,ILLIAC...
• Theywerenotalone: – ABC,AtanasoffandBerry,39~42 – Z3,Z4,KonradZuselate30’searly40’s – Colossus,AlanTuring,1943
• Don’tforgetsoftwareadvances‐‐‐Fortranwasfirst donein1954 18‐447‐S21‐L01‐S21,JamesC.Hoe,CMU/ECE/CALCM,©2021
Commercializationinthe50s • UNIVAC(1951)thefirstcommercialcomputer contractprice$400K,actualcost~$1M,sold48copies
• IBM701(1952)“leased”19units,$12Kpermonth (www‐1.ibm.com/ibm/history/exhibits/701/701_customers.html)
• IBM650(1953)sold~2000unitsat$200K~400K • IBMSystem/360,1964RedefinedIndustry!! – afamilyofbinarycompatible computers (previously,IBMhad4incompatiblelines) – 19combinationsofvaryingspeedandmemory capacityfrom$200K~$2M – ISAstillalivetodayinz/Architecturemainframes 18‐447‐S21‐L01‐S22,JamesC.Hoe,CMU/ECE/CALCM,©2021
CheaperorFasterin60sand70s • Minicomputers – DECPDP‐8,1965,$20K,sizeoflargerefrigerators – lesspowerfulthan“mainframes”,10xcheaper – departmentalcomputers,timesharing‐‐‐PDP‐11and VAXsenjoyedextremepopularityinthe70sand80s
• Supercomputers – performanceatallcost!!(ECL,liquid‐cool,hand‐built) – biggestcustomers:nationalsecurity,nuclearweapons, cryptography,(alsoaerospace,petroleum,automotive, pharmaceutical,sciences) – seeSeymourCray(1925~1996)onWikipedia 18‐447‐S21‐L01‐S23,JamesC.Hoe,CMU/ECE/CALCM,©2021
Whathappenedtothesecomputerlines?
[imagesfromWikipedia]
EarlyExamples
DECPDP8,1963 anearlymini 18‐447‐S21‐L01‐S24,JamesC.Hoe,CMU/ECE/CALCM,©2021
XeroxAlto,1973 anearly“PC”with mouseandGUI
Cray3,1993
90KW:liquidcooledby“Fluorinert” $30,000,000 15GFLOPS(1seconCray3 67yearsENIAC) 18‐447‐S21‐L01‐S25,JamesC.Hoe,CMU/ECE/CALCM,©2021
[imagesfromWikipedia]
The“KillerMicros”from70sandon • Intel4004,firstsinglechipCPU – 4‐bitprocessorforcalculator – 2,300transistors – 16‐pinDIPpackage – 740kHz(eightclockcyclesper CPUcycleof10.8sec) – ~100KOPspersecond downloadtheactualschematic fromwww.4004.com [fromMolecularExpressions] 18‐447‐S21‐L01‐S26,JamesC.Hoe,CMU/ECE/CALCM,©2021
IntelItanium(Montecito)2004 • 64‐bitprocessor • 1.7billiontransistors • 1.7GHz,issueupto8 instructionspercycle • 26MByteofcache!!
[fromBestServersof2004, MicroprocessorReport,January2005.]
18‐447‐S21‐L01‐S27,JamesC.Hoe,CMU/ECE/CALCM,©2021
In~30years,about 100,000fold growth intransistorcountand performance!
TheEraofMoore’sLaw
[http://www.intel.com/research/silicon/mooreslaw.htm] Originalarticleathttp://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=658762 18‐447‐S21‐L01‐S28,JamesC.Hoe,CMU/ECE/CALCM,©2021
The“Other”Moore’sLaw
18‐447‐S21‐L01‐S29,JamesC.Hoe,CMU/ECE/CALCM,©2021
TheActualMoore’sLaw
[CrammingMoreComponentsOntoIntegratedCircuits,G.E.Moore,1965] 18‐447‐S21‐L01‐S30,JamesC.Hoe,CMU/ECE/CALCM,©2021
TheEndofMoore’sLaw?
[Tri‐gateFinFET,IntelNewsroom,2015] 18‐447‐S21‐L01‐S31,JamesC.Hoe,CMU/ECE/CALCM,©2021
Distancebetweensiliconatoms~500pm
Moore’sLawwithoutDennardScaling 100
2013Intl.TechnologyRoadmapforSemiconductors logicdensity VDD
10
>16x
1
25% node“label”141075
3.5
2.5
1.8
??
Underfixedpowerceiling,moreops/second onlyachievableiflessJoules/op?
18‐447‐S21‐L01‐S32,JamesC.Hoe,CMU/ECE/CALCM,©2021
Whymulticoreseverywhere? technology normalized power (Watt)
Pentium4 Bettertoreplace1ofthis by2ofthese; OrNof these
486 EnergyperInstructionTrendsinIntel® Microprocessors,Grochowskietal.,2006
PowerPerf1.75
technology normalized performance (op/sec)
Moore’sLawScalingwithCores
little core
BigCore
1970~2005 18‐447‐S21‐L01‐S34,JamesC.Hoe,CMU/ECE/CALCM,©2021
little little core core little little core core
little core
little little core core
little core
little core
little little core core
little core
little core
little little core core
little core
little core
little little core core
little core
2005~rightaboutnow
Futureisabout Performance/Watt andOps/Joule little little little core core core
BigCore
W do with a GPGPU
little little little core
FPGA
ittle core
m Logic
Thisisasignofdesperation.... 18‐447‐S21‐L01‐S35,JamesC.Hoe,CMU/ECE/CALCM,©2021
Wheredowegofromhere? (http://www.ece.cmu.edu/~ece447/schedule.html)
18‐447‐S21‐L01‐S36,JamesC.Hoe,CMU/ECE/CALCM,©2021...