版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter1ComputerAbstractionsandTechnologyChapter1ComputerAbstractionsTheComputerRevolutionProgressincomputertechnologyUnderpinnedbyMoore’sLaw
WhatisMoore’sLaw???Moore'slawdescribesalong-termtrendinthehistoryofcomputinghardware.Thequantityoftransistorsthatcanbeplacedinexpensivelyonanintegratedcircuithasdoubledapproximatelyeverytwoyears.§1.1Introductionppt课件TheComputerRevolutionProgresMoore’sLawThetrendhascontinuedformorethanhalfacenturyandisnotexpectedtostopuntil2015orlater.ppt课件Moore’sLawThetrendhascontiTheComputerRevolutionMakesnovelapplicationsfeasibleComputersinautomobiles§1.1Introductionppt课件TheComputerRevolutionMakesnTheComputerRevolutionMakesnovelapplicationsfeasibleCellphones§1.1Introductionppt课件TheComputerRevolutionMakesnTheComputerRevolutionMakesnovelapplicationsfeasibleHumangenomeprojectWorldWideWebSearchEngines§1.1Introductionppt课件TheComputerRevolutionMakesnTheComputerRevolutionComputersarepervasive§1.1Introductionppt课件TheComputerRevolutionComputeClassesofComputersQuestion:Howdoyouclassifycomputers?DesktopComputersServerComputersEmbeddedComputersppt课件ClassesofComputersQuestion:ClassesofComputersDesktopcomputersPCGeneralpurpose,varietyofsoftwareSubjecttocost/performancetradeoffppt课件ClassesofComputersDesktopcoClassesofComputersServercomputersNetworkbasedHighcapacity,performance,reliabilityRangefromsmallserverstobuildingsized
World’ssmallestwebserverppt课件ClassesofComputersServercomClassesofComputersEmbeddedcomputersHiddenascomponentsofsystemsStringentpower/performance/costconstraintsppt课件ClassesofComputersEmbeddedcTheProcessorMarketppt课件TheProcessorMarketppt课件WhatYouWillLearnHowprogramsaretranslatedintothemachinelanguageAndhowthehardwareexecutesthemThehardware/softwareinterfaceWhatdeterminesprogramperformanceAndhowitcanbeimprovedHowhardwaredesignersimproveperformanceWhatisparallelprocessingppt课件WhatYouWillLearnHowprogramLevelsofProgramCodeHigh-levellanguageLevelofabstractionclosertoproblemdomainProvidesforproductivityandportabilityAssemblylanguageTextualrepresentationofinstructionsHardwarerepresentationBinarydigits(bits)Encodedinstructionsanddatappt课件LevelsofProgramCodeHigh-levBelowYourProgramApplicationsoftwareWritteninhigh-levellanguage(HLL)SystemsoftwareCompiler:translatesHLLcodetomachinecodeOperatingSystem:servicecodeHandlinginput/outputManagingmemoryandstorageSchedulingtasks&sharingresourcesHardwareProcessor,memory,I/Ocontrollers§1.2BelowYourProgramppt课件BelowYourProgramApplicationUnderstandingPerformanceAlgorithmDeterminesnumberofoperationsexecutedProgramminglanguage,compiler,architectureDeterminenumberofmachineinstructionsexecutedperoperationProcessorandmemorysystemDeterminehowfastinstructionsareexecutedI/Osystem(includingOS)DetermineshowfastI/Ooperationsareexecutedppt课件UnderstandingPerformanceAlgorComponentsofaComputerSamecomponentsfor
allkindsofcomputerDesktop,server,
embeddedInput/outputincludesUser-interfacedevicesDisplay,keyboard,mouseStoragedevicesHarddisk,CD/DVD,flashNetworkadaptersForcommunicatingwithothercomputers§1.3UndertheCoversTheBIGPictureppt课件ComponentsofaComputerSamecAnatomy(结构)ofaComputerOutputdeviceInputdeviceInputdeviceNetworkcableppt课件Anatomy(结构)ofaComputerOutpAnatomyofaMouseOpticalmouseLEDilluminatesdesktopSmalllow-rescameraBasicimageprocessorLooksforx,ymovementButtons&wheelSupersedesroller-ballmechanicalmouseppt课件AnatomyofaMouseOpticalmousThroughtheLookingGlassLCDscreen:pictureelements(pixels)Mirrorscontentofframebuffermemoryppt课件ThroughtheLookingGlassLCDsOpeningtheBoxppt课件OpeningtheBoxppt课件InsidetheProcessor(CPU)Datapath:performsoperationsondataControl:sequencesdatapath,memory,...CachememorySmallfastSRAMmemoryforimmediateaccesstodataSRAM–StaticRandomAccessMemoryppt课件InsidetheProcessor(CPU)DataInsidetheProcessorAMDBarcelona:4processorcoresppt课件InsidetheProcessorAMDBarcelASafePlaceforDataVolatile(易变的)mainmemoryLosesinstructionsanddatawhenpoweroffNon-volatilesecondarymemoryMagneticdiskFlashmemoryOpticaldisk(CDROM,DVD)ppt课件ASafePlaceforDataVolatileNetworksCommunicationandresourcesharingLocalareanetwork(LAN):EthernetWithinabuildingWideareanetwork(WAN):theInternetppt课件NetworksCommunicationandresoAbstractionsInstructionSetArchitecture(ISA)Aninterfacebetweenthehardwareandthelowest-level
softwareTheabstractimageofacomputingsystemthatisseenbyamachine/assemblylanguageprogrammerIncludinginstructions,registers,memoryaccess,I/O,…TheBIGPictureppt课件AbstractionsInstructionSetArISAsSystem/360andupwardscompatiblesuccessorsz/ArchitecturePowerArchitecturePDP-11SPARCSuperHTricoreTransputerUNIVAC1100/2200seriesVAXx86IA-32(32-bitx86,firstimplementedintheIntel80386)x86-64(64-bitsupersetofIA-32,firstimplementedintheAMDOpteron)EISC(AE32K)4004,40406800,6502,6809,68HC11,68HC08.8008,8080,8085,Z80,Z180,eZ80,etc.8048,8051,etc.Z8,eZ8,etc.AlphaARMBurroughsB5000seriesBurroughsB6000/B7000serieseSi-RISCIA-64(Itanium)Mico32MIPSMotorola68kPA-RISCIBM700/7000linesppt课件ISAsSystem/360andupwardscomAbstractionsApplicationBinaryInterface(ABI)thelow-level
interface
betweenanapplicationprogramandOS
ABIscoverdetailssuchasdatatype,size,alignment,callingconvention,binaryformatofobjectfiles,etc.Definesastandardforbinaryportabilityacrosscomputers.ppt课件AbstractionsApplicationBinaryAbstractionsImplementationHardwarethatobeysthearchitectureabstraction
ManyimplementationsforthesameISAExample:IntelPentiumvsAMDAthlon,almostidenticalISA,butradicallydifferentinternaldesigns.ppt课件AbstractionsImplementationppt课PERFORMANCEppt课件PERFORMANCEppt课件DefiningPerformanceWhichairplanehasthebestperformance?§1.4Performanceppt课件DefiningPerformanceWhichairpDefiningPerformanceWhichairplanehasthebestperformance?§1.4Performanceppt课件DefiningPerformanceWhichairpDefiningPerformancePerformance=SpeedE.g.,takingasinglepassengerfromonepointtoanotherWinner:ConcordePerformance=PassengerThroughputPassengersxm.p.hE.g.,transporting450passengersfromonepointtoanotherWinner:Boeing747ppt课件DefiningPerformancePerformancResponseTimeandThroughputResponsetimeHowlongittakestodoataskThroughputTotalworkdoneperunittimee.g.,tasks/transactions/…perhourppt课件ResponseTimeandThroughputReResponseTimeandThroughputHowareresponsetimeandthroughputaffectedbyReplacingtheprocessorwithafasterversion?Addingmoreprocessors?We’llfocusonresponsetimefornow…ppt课件ResponseTimeandThroughputHoRelativePerformanceDefinePerformance=1/ExecutionTime“XisntimefasterthanY”Example:timetakentorunaprogram10sonA,15sonBExecutionTimeB/ExecutionTimeA
=15s/10s=1.5SoAis1.5timesfasterthanBppt课件RelativePerformanceDefinePerMeasuringExecutionTimeElapsedtimeTotalresponsetime,includingallaspectsProcessing,I/O,OSoverhead,idletimeDeterminessystemperformanceCPUtimeTimespentprocessingagivenjobDiscountsI/Otime,otherjobs’sharesComprisesuserCPUtimeandsystemCPUtimeDifferentprogramsareaffecteddifferentlybyCPUandsystemperformanceppt课件MeasuringExecutionTimeElapseCPUClockingOperationofdigitalhardwaregovernedbyaconstant-rateclockClock(cycles)Datatransfer
andcomputationUpdatestateClockperiodClockcycletime:durationofaclockcyclee.g.,250ps=0.25ns=250×10–12sClockfrequency(clockrate):cyclesperseconde.g.,4.0GHz=4000MHz=4.0×109Hzppt课件CPUClockingOperationofdigitCPUTimePerformanceimprovedbyReducingnumberofclockcyclesIncreasingclockrateHardwaredesignermustoftentradeoffclockrateagainstcyclecountppt课件CPUTimeppt课件CPUTimeExampleComputerA:2GHzclock,10sCPUtimeDesigningComputerBAimfor6sCPUtimeCandofasterclock,butcauses1.2×clockcyclesHowfastmustComputerB’sclockratebe?
ppt课件CPUTimeExampleComputerA:2GInstructionCountandCPIInstructionCountforaprogramDeterminedbyprogram,ISAandcompilerAveragecyclesperinstructionDeterminedbyCPUhardwareIfdifferentinstructionshavedifferentCPIAverageCPIaffectedbyinstructionmixCPIppt课件InstructionCountandCPIInstrCPIExampleComputerA:CycleTime=250ps,CPI=2.0ComputerB:CycleTime=500ps,CPI=1.2SameISAWhichisfaster,andbyhowmuch?Aisfaster……bythismuchppt课件CPIExampleComputerA:CycleTCPIinMoreDetailIfdifferentinstructionclassestakedifferentnumbersofcyclesWeightedaverageCPIRelativefrequencyppt课件CPIinMoreDetailIfdifferentCPIExampleAlternativecompiledcodesequencesusinginstructionsinclassesA,B,CSequence1:IC=5ClockCycles
=2×1+1×2+2×3
=10Avg.CPI=10/5=2.0Sequence2:IC=6ClockCycles
=4×1+1×2+1×3
=9Avg.CPI=9/6=1.5Whatisavg.CPI?IC=InstructionCountppt课件CPIExampleAlternativecompilePerformanceSummaryPerformancedependsonAlgorithm:affectsIC,possiblyCPIProgramminglanguage:affectsIC,CPICompiler:affectsIC,CPIInstructionsetarchitecture:affectsIC,CPI,TcTheBIGPictureppt课件PerformanceSummaryPerformancePOWERppt课件POWERppt课件PowerTrendsInCMOSICtechnology§1.5ThePowerWall×1000×305V→1Vppt课件PowerTrendsInCMOSICtechnolReducingPowerSupposeanewCPUhas85%ofcapacitiveloadofoldCPU15%voltageand15%frequencyreductionThepowerwallWecan’treducevoltagefurtherWecan’tremovemoreheatHowelsecanweimproveperformance?ppt课件ReducingPowerSupposeanewCPUniprocessorPerformance§1.6TheSeaChange:TheSwitchtoMultiprocessorsConstrainedbypower,instruction-levelparallelism,memorylatencyppt课件UniprocessorPerformance§1.6TMultiprocessorsMulticoremicroprocessorsMorethanoneprocessorperchipRequiresexplicitlyparallelprogrammingComparewithinstructionlevelparallelismHardwareexecutesmultipleinstructionsatonceHiddenfromtheprogrammerHardtodoProgrammingforperformanceLoadbalancingOptimizingcommunicationandsynchronizationppt课件MultiprocessorsMulticoremicroManufacturingppt课件Manufacturingppt课件ManufacturingICsYield:proportionofworkingdiesperwafer§1.7RealStuff:TheAMDOpteronX4ppt课件ManufacturingICsYield:proporAMDOpteronX2WaferX2:300mmwafer,117
chips,90nmtechnologyX4:45nmtechnologyppt课件AMDOpteronX2WaferX2:300mmIntegratedCircuitCostNonlinearrelationtoareaanddefectrateWafercostandareaarefixedDefectratedeterminedbymanufacturingprocessDieareadeterminedbyarchitectureandcircuitdesignppt课件IntegratedCircuitCostNonlineBenchmarkingppt课件Benchmarkingppt课件SPECCPUBenchmarkProgramsusedtomeasureperformanceSupposedlytypicalofactualworkloadStandardPerformanceEvaluationCorp(SPEC)DevelopsbenchmarksforCPU,I/O,Web,…SPECCPU2006ElapsedtimetoexecuteaselectionofprogramsNegligibleI/O,sofocusesonCPUperformanceNormalize
relativetoreferencemachineSummarizeasgeometricmeanofperformanceratiosCINT2006(integer)andCFP2006(floating-point)ppt课件SPECCPUBenchmarkProgramsuseCINT2006forOpteronX42356ppt课件CINT2006forOpteronX42356ppSPECPowerBenchmarkPowerconsumptionofserveratdifferentworkloadlevelsPerformance:ssj_ops/secPower:Watts(Joules/sec)ppt课件SPECPowerBenchmarkPower
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公共设施运行维护管理制度
- 跨境副食品配送方案研究
- 2024-2025学年新教材高中英语Unit4BodyLanguage话题四肢体语言课时作业含解析新人教版选择性必修第一册
- 2024-2025学年高中数学第二章框图章末优化总结课后巩固提升含解析北师大版选修1-2
- 酒店客房消毒隔离管理制度
- 科研机构固定资产管理制度解析
- 北京市丰台区2023-2024学年高一上学期期末考试数学试卷 含解析
- 生物化学2022年秋季学习通超星期末考试答案章节答案2024年
- 2024年信息技术在建筑合同中的应用
- 2024年XPS挤塑板供需合同
- 期中测试卷-2024-2025学年统编版语文一年级上册
- 国家基本医疗保险、工伤保险和生育保险药品目录(2023年)
- 人教版一年级数学上册《第一、二单元测试卷》(附答案)
- 人教版二年级上册数学计算题400道
- 供应室教学课件
- 第三单元 测量(单元测试)-2024-2025学年三年级上册数学人教版
- 1输变电工程施工质量验收统一表式(线路工程)-2024年版
- 护理观察瞳孔
- 华为年财务报表分析(共16张课件)
- 让我们一起去追“星”!两弹一星之核弹老人魏世杰课件高二下学期爱国主义教育主题班会
- 不锈钢管市场洞察报告
评论
0/150
提交评论