




已阅读5页,还剩58页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter1,ComputerAbstractionsandTechnology,Chapter1ComputerAbstractionsandTechnology2,TheComputerRevolution,ProgressincomputertechnologyUnderpinnedbyMooresLawWhatisMooresLaw?Mooreslawdescribesalong-termtrendinthehistoryofcomputinghardware.Thequantityoftransistorsthatcanbeplacedinexpensivelyonanintegratedcircuithasdoubledapproximatelyeverytwoyears.,1.1Introduction,MooresLaw,Chapter1ComputerAbstractionsandTechnology3,Thetrendhascontinuedformorethanhalfacenturyandisnotexpectedtostopuntil2015orlater.,Chapter1ComputerAbstractionsandTechnology4,TheComputerRevolution,MakesnovelapplicationsfeasibleComputersinautomobiles,1.1Introduction,Chapter1ComputerAbstractionsandTechnology5,TheComputerRevolution,MakesnovelapplicationsfeasibleCellphones,1.1Introduction,Chapter1ComputerAbstractionsandTechnology6,TheComputerRevolution,MakesnovelapplicationsfeasibleHumangenomeprojectWorldWideWebSearchEngines,1.1Introduction,Chapter1ComputerAbstractionsandTechnology7,TheComputerRevolution,Computersarepervasive,1.1Introduction,Chapter1ComputerAbstractionsandTechnology8,ClassesofComputers,Question:Howdoyouclassifycomputers?DesktopComputersServerComputersEmbeddedComputers,Chapter1ComputerAbstractionsandTechnology9,ClassesofComputers,DesktopcomputersPCGeneralpurpose,varietyofsoftwareSubjecttocost/performancetradeoff,Chapter1ComputerAbstractionsandTechnology10,ClassesofComputers,ServercomputersNetworkbasedHighcapacity,performance,reliabilityRangefromsmallserverstobuildingsized,Worldssmallestwebserver,Chapter1ComputerAbstractionsandTechnology11,ClassesofComputers,EmbeddedcomputersHiddenascomponentsofsystemsStringentpower/performance/costconstraints,Chapter1ComputerAbstractionsandTechnology12,TheProcessorMarket,Chapter1ComputerAbstractionsandTechnology13,WhatYouWillLearn,HowprogramsaretranslatedintothemachinelanguageAndhowthehardwareexecutesthemThehardware/softwareinterfaceWhatdeterminesprogramperformanceAndhowitcanbeimprovedHowhardwaredesignersimproveperformanceWhatisparallelprocessing,Chapter1ComputerAbstractionsandTechnology14,LevelsofProgramCode,High-levellanguageLevelofabstractionclosertoproblemdomainProvidesforproductivityandportabilityAssemblylanguageTextualrepresentationofinstructionsHardwarerepresentationBinarydigits(bits)Encodedinstructionsanddata,Chapter1ComputerAbstractionsandTechnology15,BelowYourProgram,ApplicationsoftwareWritteninhigh-levellanguage(HLL)SystemsoftwareCompiler:translatesHLLcodetomachinecodeOperatingSystem:servicecodeHandlinginput/outputManagingmemoryandstorageSchedulingtasks&sharingresourcesHardwareProcessor,memory,I/Ocontrollers,1.2BelowYourProgram,Chapter1ComputerAbstractionsandTechnology16,UnderstandingPerformance,AlgorithmDeterminesnumberofoperationsexecutedProgramminglanguage,compiler,architectureDeterminenumberofmachineinstructionsexecutedperoperationProcessorandmemorysystemDeterminehowfastinstructionsareexecutedI/Osystem(includingOS)DetermineshowfastI/Ooperationsareexecuted,Chapter1ComputerAbstractionsandTechnology17,ComponentsofaComputer,SamecomponentsforallkindsofcomputerDesktop,server,embeddedInput/outputincludesUser-interfacedevicesDisplay,keyboard,mouseStoragedevicesHarddisk,CD/DVD,flashNetworkadaptersForcommunicatingwithothercomputers,1.3UndertheCovers,TheBIGPicture,Chapter1ComputerAbstractionsandTechnology18,Anatomy(结构)ofaComputer,Outputdevice,Inputdevice,Inputdevice,Networkcable,Chapter1ComputerAbstractionsandTechnology19,AnatomyofaMouse,OpticalmouseLEDilluminatesdesktopSmalllow-rescameraBasicimageprocessorLooksforx,ymovementButtons&wheelSupersedesroller-ballmechanicalmouse,Chapter1ComputerAbstractionsandTechnology20,ThroughtheLookingGlass,LCDscreen:pictureelements(pixels)Mirrorscontentofframebuffermemory,Chapter1ComputerAbstractionsandTechnology21,OpeningtheBox,Chapter1ComputerAbstractionsandTechnology22,InsidetheProcessor(CPU),Datapath:performsoperationsondataControl:sequencesdatapath,memory,.CachememorySmallfastSRAMmemoryforimmediateaccesstodataSRAMStaticRandomAccessMemory,Chapter1ComputerAbstractionsandTechnology23,InsidetheProcessor,AMDBarcelona:4processorcores,Chapter1ComputerAbstractionsandTechnology24,ASafePlaceforData,Volatile(易变的)mainmemoryLosesinstructionsanddatawhenpoweroffNon-volatilesecondarymemoryMagneticdiskFlashmemoryOpticaldisk(CDROM,DVD),Chapter1ComputerAbstractionsandTechnology25,Networks,CommunicationandresourcesharingLocalareanetwork(LAN):EthernetWithinabuildingWideareanetwork(WAN):theInternet,Chapter1ComputerAbstractionsandTechnology26,Abstractions,InstructionSetArchitecture(ISA)Aninterfacebetweenthehardwareandthelowest-levelsoftwareTheabstractimageofacomputingsystemthatisseenbyamachine/assemblylanguageprogrammerIncludinginstructions,registers,memoryaccess,I/O,TheBIGPicture,ISAs,System/360andupwardscompatiblesuccessorsz/ArchitecturePowerArchitecturePDP-11SPARCSuperHTricoreTransputerUNIVAC1100/2200seriesVAXx86IA-32(32-bitx86,firstimplementedintheIntel80386)x86-64(64-bitsupersetofIA-32,firstimplementedintheAMDOpteron)EISC(AE32K),Chapter1ComputerAbstractionsandTechnology27,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/7000lines,Chapter1ComputerAbstractionsandTechnology28,Abstractions,ApplicationBinaryInterface(ABI)thelow-levelinterfacebetweenanapplicationprogramandOSABIscoverdetailssuchasdatatype,size,alignment,callingconvention,binaryformatofobjectfiles,etc.Definesastandardforbinaryportabilityacrosscomputers.,Chapter1ComputerAbstractionsandTechnology29,Abstractions,ImplementationHardwarethatobeysthearchitectureabstractionManyimplementationsforthesameISAExample:IntelPentiumvsAMDAthlon,almostidenticalISA,butradicallydifferentinternaldesigns.,PERFORMANCE,Chapter1ComputerAbstractionsandTechnology30,Chapter1ComputerAbstractionsandTechnology31,DefiningPerformance,Whichairplanehasthebestperformance?,1.4Performance,Chapter1ComputerAbstractionsandTechnology32,DefiningPerformance,Whichairplanehasthebestperformance?,1.4Performance,DefiningPerformance,Performance=SpeedE.g.,takingasinglepassengerfromonepointtoanotherWinner:ConcordePerformance=PassengerThroughputPassengersxm.p.hE.g.,transporting450passengersfromonepointtoanotherWinner:Boeing747,Chapter1ComputerAbstractionsandTechnology33,Chapter1ComputerAbstractionsandTechnology34,ResponseTimeandThroughput,ResponsetimeHowlongittakestodoataskThroughputTotalworkdoneperunittimee.g.,tasks/transactions/perhour,Chapter1ComputerAbstractionsandTechnology35,ResponseTimeandThroughput,HowareresponsetimeandthroughputaffectedbyReplacingtheprocessorwithafasterversion?Addingmoreprocessors?Wellfocusonresponsetimefornow,Chapter1ComputerAbstractionsandTechnology36,RelativePerformance,DefinePerformance=1/ExecutionTime“XisntimefasterthanY”,Example:timetakentorunaprogram10sonA,15sonBExecutionTimeB/ExecutionTimeA=15s/10s=1.5SoAis1.5timesfasterthanB,Chapter1ComputerAbstractionsandTechnology37,MeasuringExecutionTime,ElapsedtimeTotalresponsetime,includingallaspectsProcessing,I/O,OSoverhead,idletimeDeterminessystemperformanceCPUtimeTimespentprocessingagivenjobDiscountsI/Otime,otherjobssharesComprisesuserCPUtimeandsystemCPUtimeDifferentprogramsareaffecteddifferentlybyCPUandsystemperformance,Chapter1ComputerAbstractionsandTechnology38,CPUClocking,Operationofdigitalhardwaregovernedbyaconstant-rateclock,Clock(cycles),Datatransferandcomputation,Updatestate,Clockperiod,Clockcycletime:durationofaclockcyclee.g.,250ps=0.25ns=2501012sClockfrequency(clockrate):cyclesperseconde.g.,4.0GHz=4000MHz=4.0109Hz,Chapter1ComputerAbstractionsandTechnology39,CPUTime,PerformanceimprovedbyReducingnumberofclockcyclesIncreasingclockrateHardwaredesignermustoftentradeoffclockrateagainstcyclecount,Chapter1ComputerAbstractionsandTechnology40,CPUTimeExample,ComputerA:2GHzclock,10sCPUtimeDesigningComputerBAimfor6sCPUtimeCandofasterclock,butcauses1.2clockcyclesHowfastmustComputerBsclockratebe?,Chapter1ComputerAbstractionsandTechnology41,InstructionCountandCPI,InstructionCountforaprogramDeterminedbyprogram,ISAandcompilerAveragecyclesperinstructionDeterminedbyCPUhardwareIfdifferentinstructionshavedifferentCPIAverageCPIaffectedbyinstructionmix,CPI,Chapter1ComputerAbstractionsandTechnology42,CPIExample,ComputerA:CycleTime=250ps,CPI=2.0ComputerB:CycleTime=500ps,CPI=1.2SameISAWhichisfaster,andbyhowmuch?,Aisfaster,bythismuch,Chapter1ComputerAbstractionsandTechnology43,CPIinMoreDetail,Ifdifferentinstructionclassestakedifferentnumbersofcycles,WeightedaverageCPI,Relativefrequency,Chapter1ComputerAbstractionsandTechnology44,CPIExample,AlternativecompiledcodesequencesusinginstructionsinclassesA,B,C,Sequence1:IC=5ClockCycles=21+12+23=10Avg.CPI=10/5=2.0,Sequence2:IC=6ClockCycles=41+12+13=9Avg.CPI=9/6=1.5,Whatisavg.CPI?,IC=InstructionCount,Chapter1ComputerAbstractionsandTechnology45,PerformanceSummary,PerformancedependsonAlgorithm:affectsIC,possiblyCPIProgramminglanguage:affectsIC,CPICompiler:affectsIC,CPIInstructionsetarchitecture:affectsIC,CPI,Tc,TheBIGPicture,POWER,Chapter1ComputerAbstractionsandTechnology46,Chapter1ComputerAbstractionsandTechnology47,PowerTrends,InCMOSICtechnology,1.5ThePowerWall,1000,30,5V1V,Chapter1ComputerAbstractionsandTechnology48,ReducingPower,SupposeanewCPUhas85%ofcapacitiveloadofoldCPU15%voltageand15%frequencyreduction,ThepowerwallWecantreducevoltagefurtherWecantremovemoreheatHowelsecanweimproveperformance?,Chapter1ComputerAbstractionsandTechnology49,UniprocessorPerformance,1.6TheSeaChange:TheSwitchtoMultiprocessors,Constrainedbypower,instruction-levelparallelism,memorylatency,Chapter1ComputerAbstractionsandTechnology50,Multiprocessors,MulticoremicroprocessorsMorethanoneprocessorperchipRequiresexplicitlyparallelprogrammingComparewithinstructionlevelparallelismHardwareexecutesmultipleinstructionsatonceHiddenfromtheprogrammerHardtodoProgrammingforperformanceLoadbalancingOptimizingcommunicationandsynchronization,Manufacturing,Chapter1ComputerAbstractionsandTechnology51,Chapter1ComputerAbstractionsandTechnology52,ManufacturingICs,Yield:proportionofworkingdiesperwafer,1.7RealStuff:TheAMDOpteronX4,Chapter1ComputerAbstractionsandTechnology53,AMDOpteronX2Wafer,X2:300mmwafer,117chips,90nmtechnologyX4:45nmtechnology,Chapter1ComputerAbstractionsandTechnology54,IntegratedCircuitCost,NonlinearrelationtoareaanddefectrateWafercostandareaarefixedDefectratedeterminedbymanufacturingprocessDieareadeterminedbyarchitectureandcircuitdesign,Benchmarking,Chapter1ComputerAbstractionsandTechnology55,Chapter1ComputerAbstractionsandTechnology56,SPECCPUBenchmark,ProgramsusedtomeasureperformanceSupposedlytypicalofactualworkloadStandardPerformanceEvaluationCorp(SPEC)DevelopsbenchmarksforCPU,I/O,Web,SPECCPU2006ElapsedtimetoexecuteaselectionofprogramsNegligibleI/O,sofocusesonCPUperformanceNormalizerelativetoreferencemachineSummarizeasgeometricmeanofperformanceratiosCINT2006(integer)andCFP2006(floating-point),Chapter1ComputerAbstractionsandTechnology57,CINT2006forOpteronX42356,Chapter1ComputerAbstractionsandTechnology58,SPECPowerBenchmark,PowerconsumptionofserveratdifferentworkloadlevelsPerformance:ssj_ops/secPo
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 乡村新型农业合作示范项目协议
- 环保集团资金管理制度及流程手册
- 2025年图书馆RFID行业需求分析及创新策略研究报告
- 2025年工程招标代理行业投资趋势与盈利模式研究报告
- 2025年知识产权代理行业需求分析及创新策略研究报告
- (2025年标准)护渔协议书
- (2025年标准)户口迁入南京协议书
- 2025年生物芯片行业规模分析及投资前景研究报告
- (2025年标准)后厨入股协议书
- (2025年标准)合作协议提前终止协议书
- 2025年三类人员安全员C证继续教育题库带参考答案
- 蝴蝶的色彩课件
- 2022年江苏泰州泰兴市济川街道招聘劳动保障协理员6人笔试备考试题及答案解析
- 2025年《药品管理法》试题(附答案)
- 基孔肯雅热防控指南专题课件
- 2025年党建知识应知应会测试题库(附答案)
- 2025至2030中国人造土壤市场经营形势与未来发展方向研究报告
- 特种设备突发事件应急处置技术指南 第5部分:起重机械-地方标准
- 友邦资讯面试题目及答案
- 2025年社区工作者考试真题库及答案
- 血症中医护理方法
评论
0/150
提交评论