欢迎来到天天文库
浏览记录
ID:58981061
大小:352.00 KB
页数:43页
时间:2020-09-27
《高级计算机体系结构 9 存储器系统ppt课件.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Lecture9:MemorySystems:TechniquestoReduceMissesSpring2010SuperComputingLab.Review:DSPvs.GeneralPurposeMPUMIPS/MFLOPSofDSPs:speedofMultiply-Accumulate(MAC)DSPsarejudgedifkeepthemultipliersbusy100%The"SPEC"ofDSPsis4algorithms:InifiniteImpuleResponse(IIR)filtersFiniteI
2、mpuleResponse(FIR)filtersFFT,andconvolversInDSPs,algorithmsarekey!BinarycompatibilityisnotanissueSoftwareisnotkeyissueinDSPsPeoplestillwriteinassemblylanguageLibrariesveryimportantsodon’thavetowrite4algorithmsSomecallanythingtheywriteinassemblylanguagelibraryWhyMore
3、AboutMemoryHierarchy?ProcessorOnlyThusFarinCourse:CPUcost/performance,ISA,PipelinedExecutionProcessor-MemoryPerformanceGapMaxProcessor%Area%Transistors(Cost)(Power)Alpha2116437%77%StrongArmSA11061%94%PentiumPro64%88%2diesperpackage:Proc/I$/D$+L2$Cacheshavenoinherent
4、value,onlytrytocloseperformancegapReview:FourQuestionsforMemoryHierarchyDesignQ1:Wherecanablockbeplacedintheupperlevel?(Blockplacement)FullyAssociative,SetAssociative,DirectMappedQ2:Howisablockfoundifitisintheupperlevel?(Blockidentification)Tag/BlockQ3:Whichblocksh
5、ouldbereplacedonamiss?(Blockreplacement)Random,LRUQ4:Whathappensonawrite?(Writestrategy)WriteBackorWriteThrough(withWriteBuffer)Review:CachePerformanceCPUtime=(CPUexecutionclockcycles+Memorystallclockcycles)xclockcycletimeMemorystallclockcycles=(ReadsxReadmissratexR
6、eadmisspenalty+WritesxWritemissratexWritemisspenalty)Memorystallclockcycles=MemoryaccessesxMissratexMisspenaltyReview:CachePerformanceCPUtime=InstructionCountx(CPIexecution+MemaccessesperinstructionxMissratexMisspenalty)xClockcycletimeMissesperinstruction=Memoryacc
7、essesperinstructionxMissrateCPUtime=ICx(CPIexecution+MissesperinstructionxMisspenalty)xClockcycletimeReview:ImprovingCachePerformance1.Reducethemissrate,2.Reducethemisspenalty,or3.Reducethetimetohitinthecache.ReducingMissesClassifyingMisses:3CsCompulsory-Thefirstacc
8、esstoablockisnotinthecache,sotheblockmustbebroughtintothecache.Alsocalledcoldstartmissesorfirstreferencemisses.(MissesinevenanInfiniteCach
此文档下载收益归作者所有