资源描述:
《the opentm transactional application programming interface》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、TheOpenTMTransactionalApplicationProgrammingInterfaceWoongkiBaek,ChiCaoMinh,MartinTrautmann,ChristosKozyrakisandKunleOlukotunComputerSystemsLaboratoryStanfordUniversity{wkbaek,caominh,mat42,kozyraki,kunle}@stanford.eduAbstractcode.Concurrencycontrolasmultipletransactionsexecuteinparallelistherespon
2、sibilityofthesystem.SeveralTMTransactionalMemory(TM)simplifiesparallelpro-systemshavebeenproposed,basedonhardware[21,24],grammingbysupportingatomicandisolatedexecutionofsoftware[26,11],orhybridtechniques[18,27,6].user-identifiedtasks.Todate,TMprogramminghasre-Toachievewidespreaduse,TMmustbeintegrated
3、intoquiredtheuseoflibrariesthatmakeitdifficulttoachievepracticalandfamiliarprogrammingenvironments.Todate,scalableperformancewithcodethatiseasytodevelopandTMprogramminghasprimarilybeenbasedonlibrariesthatmaintain.ForTMprogrammingtobecomepractical,itisincludespecialfunctionstodefinetransactionboundari
4、es,importanttointegrateTMintofamiliar,high-levelenviron-manipulateshareddata,andcontroltheruntimesystem.mentsforparallelprogramming.Whilethelibrary-basedapproachissufficientforinitialThispaperpresentsOpenTM,anapplicationprogram-experimentationwithsmallprograms,itisinadequateforminginterface(API)forp
5、arallelprogrammingwithtrans-largesoftwareprojectsbynon-expertdevelopers.Library-actions.OpenTMextendsOpenMP,awidelyusedAPIforbasedcodeisdifficulttocomprehend,maintain,port,andshared-memoryparallelprogramming,withasetofcom-scale,sincetheprogrammermustmanuallyannotateac-pilerdirectivestoexpressnon-blo
6、ckingsynchronizationandcessestoshareddata.Libraryannotationscanalsocompli-speculativeparallelizationbasedonmemorytransactions.catestaticanalysisandreducetheeffectivenessofcompilerWealsopresentaportableOpenTMimplementationthatoptimizations[2].producescodeforhardware,software,andhybridTMsys-Thispaper
7、presentsOpenTM,anapplicationprogram-tems.TheimplementationbuildsupontheOpenMPsupportminginterface(API)forparallelprogrammingwithtrans-intheGCCcompilerandincludesaruntimefortheCpro-actions.OpenTMextendsthepo