30-Structural aspects of the System 360 Model 85, Part II The cache.pdf30-Structural aspects of the System 360 Model 85, Part II The cache.pdf

收藏 分享

资源预览需要最新版本的Flash Player支持。
您尚未安装或版本过低,建议您

THECACHE,AHIGHSPEEDBUFFERESTABLISHINGASTORAGEHIERARCHYINTHEMODEL85,ISDISCUSSEDINDEPTHINTHISPART,SINCEITREPRESENTSTHEBASICORGANIZATIONALDEPARTUREFROMOTHERSYSTEM/BOCOMPUTERSDISCUSSEDAREORGANIZATIONANDOPERATIONOFTHECACHE,INCLUDINGTHEMECHANISMSUSEDTOLOCATEANDRETRIEVEDATANEEDEDBYTHEPROCESSORTHEINTERNALPERFORMANCESTUDIESTHATLEDTOUSEOFTHECACHEAREDESCRIBED,ANDSIMULATEDPERFORMANCEOFTHECHOSENCONFIGURATIONISCOMPAREDWITHTHATOFATHEORETICALSYSTEMHAVINGANENTIRE80NANOSECONDMAINSTORAGEFINALLY,THEEFFECTSOFVARYINGCACHEPARAMETERSAREDISCUSSEDANDTABULATEDSTRUCTURALASPECTSOFTHESYSTEM/360MODEL8511THECACHEBYJSLIPTAYAMONGTHEOBJECTIVESOFTHEMODEL85ISTHATOFPROVIDINGASYSTEM/COMPATIBLEPROCESSORWITHBOTHHIGHPERFORMANCEANDHIGHTHROUGHPUTONEOFTHEIMPORTANTINGREDIENTSOFHIGHTHROUGHPUTISALARGEMAINSTORAGECAPACITYSEETHEACCOMPANYINGARTICLEINPARTIHOWEVER,ITISNOTFEASIBLETOPROVIDEALARGEMAINSTORAGEWITHANACCESSTIMECOMMENSURATEWITHTHE80NANOSECONDPROCESSORCYCLEOFTHEMODEL85ALONGERACCESSTIMECANBEPARTIALLYCOMPENSATEDFORBYANINCREASEINOVERLAP,GREATERBUFFERING,DEEPERSTORAGEINTERLEAVING,MORESOPHISTICATIONINTHEHANDLINGOFBRANCHES,ANDOTHERIMPROVEMENTSINTHEPROCESSORALLOFTHESEFACTORSONLYPARTIALLYCOMPENSATEFORTHESLOWERSTORAGE,AND,THEREFORE,WEDECIDEDTOUSEASTORAGEHIERARCHYINSTEADTHESTORAGEHIERARCHYCONSISTSOFA104MICROSECONDMAINSTORAGEANDASMALL,FASTSTORECALLEDACACHE,LWHICHISINTEGRATEDINTOTHECPUTHECACHEISNOTADDRESSABLEBYAPROGRAM,BUTRATHERISUSEDTOHOLDTHECONTENTSOFTHOSEPORTIONSOFMAINSTORAGETHATARECURRENTLYBEINGUSEDMOSTPROCESSORFETCHESCANTHENBEHANDLEDBYREFERRINGTOTHECACHE,SOTHATMOSTOFTHETIMETHEPROCESSORHASASHORTACCESSTIMEWHENTHEPROGRAMSTARTSOPERATINGONDATAINADIFFERENTPORTIONOFMAINSTORAGE,THEDATAINTHATPORTIONMUSTBELOADEDINTOTHECACHEANDTHEDATAFROMSOMEOTHERPORTIONREMOVEDTHISACTIVITYMUSTTAKEPLACEWITHOUTPROGRAMASSISTANCE,SINCETHEMODEL85MUSTBECOMPATIBLEWITHTHERESTOFTHISPAPERDISCUSSESORGANIZATIONOFTHECACHEANDTHESTUDIESTHATLEDTOITSUSEINTHEMODEL85ANDTOSELECTINGOFVALUESFORITSPARAMETERSTHESYSTEM/360LINEZBMSYSTEMSJOURNALVOL7NO1196815FIGURE1ASSIGNMENTOFCACHESECTORSTOMAINSTORAGESECTORSMAINSTORAGECACHEORGANIZATIONTHEMAINSTORAGEUNITSTHATCANBEUSEDONTHEMODEL85ARETHEIBM23655ANDTHE2385THEYHAVEA104MICROSECONDCYCLETIMEANDMAKEAVAILABLECAPACITIESFROM512KBYTESTO4096KBYTESK1024THECACHEISA16KBYTEINTEGRATEDSTORAGE,WHICHISCAPABLEOFOPERATINGEVERYPROCESSORCYCLEOPTIONALLY,ITCANBEEXPANDEDTO24KBYTESOR32KBYTESBOTHTHECACHEANDMAINSTORAGEARELOGICALLYDIVIDEDINTOSECTORS,EACHCONSISTINGOF1KCONTIGUOUSBYTESSTARTINGON1KBYTEBOUNDARIESDURINGOPERATION,ACORRESPONDENCEISSETUPBETWEENCACHESECTORSANDMAINSTORAGESECTORSINWHICHEACHCACHESECTORISASSIGNEDTOASINGLEDIFFERENTMAINSTORAGESECTORHOWEVER,BECAUSEOFTHELIMITEDNUMBEROFCACHESECTORS,MOSTMAINSTORAGESECTORSDONOTHAVEANYCACHESECTORSASSIGNEDTOTHEMSEEFIGURE1EACHOFTHECACHESECTORSHASA14BITSECTORADDRESSREGISTER,WHICHHOLDSTHEADDRESSOFTHEMAINSTORAGESECTORTOWHICHITISASSIGNEDTHEASSIGNMENTOFCACHESECTORSISDYNAMICALLYADJUSTEDDURINGASSIGNINGOPERATION,SOTHATTHEYAREASSIGNEDTOTHEMAINSTORAGESECTORSTHATCACHEARECURRENTLYBEINGUSEDBYTHEPROGRAMIFTHEPROGRAMCAUSESASECTORSFETCHFROMAMAINSTORAGESECTORTHATDOESNOTHAVEACACHESECTORASSIGNEDTOIT,ONEOFTHECACHESECTORSISTHENREASSIGNEDTOTHATMAINSTORAGESECTORTOMAKEAGOODSELECTIONOFACACHESECTORTOREASSIGN,ENOUGHINFORMATIONISMAINTAINEDTOORDERTHECACHESECTORSINTOANACTIVITYLISTTHESECTORATTHETOPOFTHELISTISTHEONETHATWASMOSTRECENTLYREFERREDTO,THESECONDONEISTHENEXTMOSTRECENTLYREFERREDTO,ANDSOFORTHWHENACACHESECTORISREFERREDTO,ITISMOVEDTOTHETOPOFTHELIST,ANDTHEINTERVENINGONESAREMOVEDDOWNONEPOSITIONTHISISNOTMEANTTOIMPLYANACTUALMOVEMENTOFSECTORSWITHINTHECACHE,BUTRATHERREFERSTOALOGICAL16J8LIPTAYORDERINGOFTHESECTORSWHENITISNECESSARYTOREASSIGNASECTOR,THEONESELECTEDISTHEONEATTHEBOTTOMOFTHEACTIVITYLISTTHISCACHESECTORISTHEONETHATHASGONETHELONGESTWITHOUTBEINGREFERREDTOWHENACACHESECTORISASSIGNEDTOADIFFERENTMAINSTORAGESECTOR,THECONTENTSOFALLOFTHE1KBYTESLOCATEDINTHATMAINSTORAGESECTORARENOTLOADEDINTOTHECACHEATONCERATHER,EACHSECTORISDIVIDEDINTO16BLOCKSOF64BYTES,ANDTHEBLOCKSARELOADEDONADEMANDBASISWHENACACHESECTORISREASSIGNED,THEONLYBLOCKTHATISLOADEDISTHEONETHATWASREFERREDTOIFTHEYAREREQUIRED,THEREMAININGBLOCKSARELOADEDLATER,ONEATATIMEEACHBLOCKINTHECACHEHASABITASSOCIATEDWITHITTORECORDWHETHERITHASBEENLOADEDTHIS“VALIDITYBIT”ISTURNEDONWHENTHEBLOCKISLOADEDANDOFFWHENTHESECTORISREASSIGNEDSTOREOPERATIONSALWAYSCAUSEMAINSTORAGETOBEUPDATEDIFTHEMAINSTORAGESECTORBEINGCHANGEDHASACACHESECTORASSIGNEDTOIT,THECACHEISALSOUPDATED;OTHERWISE,NOACTIVITYRELATEDTOTHECACHETAKESPLACETHEREFORE,STOREOPERATIONSCANNOTCAUSEACACHESECTORTOBEREASSIGNED,ABLOCKTOBELOADED,ORTHEACTIVITYLISTTOBEREVISEDSINCEALLOFTHEDATAINTHECACHEISALSOINMAINSTORAGE,ITISNOTNECESSARYONACACHESECTORREASSIGNMENTTOMOVEANYDATAFROMTHECACHETOMAINSTORAGEALLTHATISREQUIREDISTOCHANGETHESECTORADDRESSREGISTER,RESETTHEVALIDITYBITS,ANDINITIATEIOADINGOFABLOCKTHEPROCESSORISCAPABLEOFBUFFERINGONEINSTRUCTIONREQUESTINGTHESTORINGOFINFORMATIONINMAINSTORAGE,SOTHATITCANPROCEEDWITHSUBSEQUENTINSTRUCTIONSEVENIFEXECUTIONOFTHESTOREINSTRUCTIONCANNOTBEINITIATEDIMMEDIATELYTWOPROCESSORCYCLESAREREQUIREDTOFETCHDATATHATISINTHECACHETHEFIRSTCYCLEISUSEDTOEXAMINETHESECTORADDRESSREGISTERSANDTHEVALIDITYBITSTODETERMINEIFTHEDATAISINTHECACHETHESECONDCYCLEISTHENUSEDTOREADTHEDATAOUTOFTHECACHEHOWEVER,REQUESTSCANNORMALLYBEOVERLAPPED,SOTHATONEREQUESTCANBEPROCESSEDEVERYCYCLEIFTHEDATAISNOTPRESENTINTHECACHE,ADDITIONALCYCLESAREREQUIREDWHILETHEBLOCKISLOADEDINTOTHECACHEFROMMAINSTORAGETHESTORAGEWORDSIZEONWHICHTHEMODEL85OPERATESINTERNALLYIS16BYTESTHISISTHEWIDTHOFTHEDATAPATHSTOANDFROMTHESTORAGEUNITS,ANDISTHEAMOUNTTHEPROCESSORCANSTOREORFETCHWITHASINGLEREQUESTBECAUSEASINGLE23655STORAGEUNITOPERATESONAN8BYTEWIDEINTERFACE,TWOUNITSAREPAIREDTOGETHERANDOPERATEDSIMULTANEOUSLYEXCEPTFORTHE512KCONFIGURATION,MAINSTORAGEISINTERLEAVEDFOURWAYSSINCEABLOCKIS64BYTES,FOURFETCHESTOMAINSTORAGEAREREQUIREDTOLOADONEBLOCKINTOTHECACHEWITHFOURWAYINTERLEAVING,THISMEANSONEREQUESTTOEACHBASICSTORAGEMODULETOIMPROVEPERFORMANCE,THEFIRSTBASICSTORAGEMODULEREFERREDTODURINGEACHBLOCKLOADISTHEONECONTAININGTHE16BYTESWANTEDBYTHEPROCESSORINADDITIONTOBEINGLOADEDINTOTHECACHE,THEDATAISSENTDIRECTLYTOTHEPROCESSOR,SOTHATEXECUTIONCANPROCEEDASSOONASPOSSIBLESEEFIGURE2ONTHEMODEL85,CHANNELSSTOREANDFETCHDATABYWAYOFTHEMODEL85CACHEFIGURE2TIMINGFORABLOCKLOADMAINSTORAGENTTUTUBSMZACCESSTIMEIBSMPIBSMOACCESSTIMEWBSMBASICSTORAGEMODULEPROCESSORCHANNELFETCHESAREPROCESSEDBYGETTINGTHEREQUIREDDATAFROMMAINSTORAGEWITHOUTREFERRINGTOTHECACHECHANNELSTORESAREHANDLEDTHESAMEWAYASPROCESSORSTORESINTHISWAY,IFACHANNELCHANGESDATATHATISINTHECACHE,THECACHEISUPDATEDBUTTHECHANNELSDONOTHAVEANYPARTOFTHECACHEDEVOTEDTOTHEMPERFORMANCESTUDIESAMONGTHEQUESTIONSTHATHADTOBEANSWEREDTODETERMINEWHETHERTHECACHEAPPROACHSHOULDBETAKENWERE1HOWEFFECTIVEISIT,AND2DOESITSEFFECTIVENESSVARYSUBSTANTIALLYFROMONEPROGRAMTOANOTHERTHEPRINCIPALTOOLSUSEDTOANSWERTHESEQUESTIONSARETHETRACINGANDTIMINGTECHNIQUESREFERREDTOINPARTITHETRACINGTECHNIQUEPRODUCESANINSTRUCTIONBYINSTRUCTIONTRACEOFAPROGRAMOPERATINGUNDERTHESYSTEM/OOPERATINGSYSTEMTHEOUTPUTISASEQUENCEOF‘TRACETAPES,”WHICHCONTAINEVERYINSTRUCTIONEXECUTED,WHETHERINTHEPROBLEMPROGRAMORTHEOPERATINGSYSTEM,ANDTHENECESSARYINFORMATIONTODETERMINEHOWLONGITTAKESTOBEEXECUTEDTHESETRACETAPESCONTAINABOUT250,000INSTRUCTIONSEACHANDAREUSEDASINPUTTOATIMINGPROGRAM,WHICHDETERMINES,CYCLEBYCYCLE,HOWTHEMODEL85WOULDEXECUTETHATSEQUENCEOFINSTRUCTIONSTHESETECHNIQUESAREINTENDEDTODETERMINEINTERNALPERFORMANCEANDDONOTPROVIDEANYINFORMATIONCONCERNINGTHROUGHPUTANINTENSIVEINVESTIGATIONPRECEDEDSELECTIONOFTHEPROGRAMSUSEDINTHISSTUDYINORDERTOMEASURETHEEFFECTIVENESSOFTHECACHE,WEPOSTULATEDCACHEASYSTEMIDENTICALTOTHEMODEL85EXCEPTTHATTHESTORAGEHIERARCHYEFFECTIVENESSISREPLACEDBYASINGLELEVELSTORAGEOPERATINGATCACHESPEEDTHEPERFORMANCEOFSUCHASYSTEMISTHATWHICHWOULDBEACHIEVEDBYTHEMODEL85IFITALWAYSFOUNDTHEDATAITWANTEDINTHECACHEANDIFITNEVERENCOUNTEREDINTERFERENCEINMAINSTORAGEDUETOSTORESTHEREFORE,ITREPRESENTSANUPPERLIMITONTHEPERFORMANCEOFTHEMODEL85;HOWCLOSETHEMODEL85APPROACHESTHISIDEALCANSERVEASAMEASUREOFHOWEFFECTIVETHECACHEISNINETEENTRACETAPESI18JSLIPTAYFIGURE3MODEL85PERFORMANCERELATIVETOSINGLELEVELSTORAGEOPERATINGATCACHESPEEDMEAN81757980849094PERCENTAGEOFIDEALPERFORMANCEFLGURE4PROBABILITYOFFINDINGFETCHEDDATAINCACHEPROBABILITYWERETIMEDFORBOTHTHEMODEL85ANDTHEPOSTULATEDSYSTEM,ANDTHEPERFORMANCEOFTHEMODEL85WASEXPRESSEDASAPERCENTAGEOFTHEPERFORMANCEOFTHEIDEALSYSTEMFIGURE3SHOWSTHEDISTRIBUTIONOFPERFORMANCEDATAOBTAINED,THEAVERAGEWAS81PERCENTOFTHEPERFORMANCEOFTHEIDEALSYSTEM,WITHARANGEBETWEEN66AND94PERCENTANIMPORTANTSTATISTICRELATEDTOCACHEOPERATIONISTHEPROBABILITYOFFINDINGTHEDATAWANTEDFORAFETCHINTHECACHEFIGURE4SHOWSTHEDISTRIBUTIONOFTHISPROBABILITYFORTHESAME19TRACETAPESUSEDFORFIGURE3THEAVERAGEPROBABILITYWAS0968ITISWORTHNOTINGTHAT,IFTHEADDRESSESGENERATEDBYAPROGRAMWERERANDOM,THEPROBABILITYOFFINDINGTHEDATAWANTEDINTHECACHEWOULDBEMUCHLESSTHAN001THEREFORE,ITCANBESAIDTHATWHATMAKESTHECACHEWORKISTHEFACTTHATREALPROGRAMSARENOTRANDOMINTHEIRADDRESSINGPATTERNSMODEL85CACHETABLE2AVERAGEPERFORMANCERELATIVETOANIDEALSYSTEMWITHCACHESIZEANDNUMBEROFBYTESPERBLOCKVARIEDNUMBEROFSECTORS16NUMBEROFNUMBEROFBYTESPERBLOCKCACHEBYTES64128266,8K074416K08250810078132K089108850870TABLE3COMPARATIVEPERFORMANCEUSINGDIFFERENTCACHESECTORREPLACEMENTALGORITHMSALGORITHMPERFORMANCE1PARTITION10002PARTITIONS09904PARTITIONS09878PARTITIONS097916PARTITIONS0933USAGEBITS0931REPLACEMENTALGORITHMCHOSENFORTHEMODEL85TABLE3SUMMARIZESTHERESULTSOBTAINEDTHECHOICEOFTHEACTIVITYLISTWASMADEBECAUSEITPROVIDEDTHEBESTBALANCEBETWEENCOSTANDPERFORMANCESUMMARYCOMMENTTHEINCLUSIONOFASTORAGEHIERARCHYREPRESENTSONEOFTHEMAJORADVANCESINSYSTEMORGANIZATIONPRESENTINTHEMODEL85ALTHOUGHTHECONCEPTOFASTORAGEHIERARCHYISNOTNEW,THESUCCESSFULIMPLEMENTATIONOFANANOSECOND/MICROSECONDLEVELOFHIERARCHYWASINHIBITEDUNTILNOWBYTHELACKOFASUITABLETECHNOLOGYASIMPLEMENTEDINTHEMODEL85,THEFASTMONOLITHICSTORAGEPHYSICALLYINTEGRATEDWITHTHECPULOGICYIELDSTHEDESIREDMACHINESPEED,WHILETHELARGECORESTORAGEYIELDSTHEDESIREDSTORAGECAPACITY,THECOMBINATIONBEINGTRANSPARENTTOTHEUSERITISLIKELYTHATWITHFUTUREPROGRESSINTECHNOLOGYTHISNANOSECOND/MICROSECONDHIERARCHYISNOTMERELYANINNOVA
编号:201401051948176808    类型:共享资源    大小:412.87KB    格式:PDF    上传时间:2014-01-05
  
5
关 键 词:
工业、机械、能源、设计、建模、模具、工学
  人人文库网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:30-Structural aspects of the System 360 Model 85, Part II The cache.pdf
链接地址:http://www.renrendoc.com/p-256808.html

当前资源信息

4.0
 
(2人评价)
浏览:24次
baixue100上传于2014-01-05

官方联系方式

客服手机:17625900360   
2:不支持迅雷下载,请使用浏览器下载   
3:不支持QQ浏览器下载,请用其他浏览器   
4:下载后的文档和图纸-无水印   
5:文档经过压缩,下载后原文更清晰   

精品推荐

相关阅读

人人文库
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服客服 - 联系我们

网站客服QQ:2846424093    人人文库上传用户QQ群:460291265   

[email protected] 2016-2018  renrendoc.com 网站版权所有   南天在线技术支持

经营许可证编号:苏ICP备12009002号-5