Modern consumer-grade 3D graphic cards boast a computation/memory resource that can easily rival or even exceed that of standard desktop PCs. Although these cards are mainly designed for 3D gaming applications, their enormous computational power has attrac
GraphicEngineResourceManagement
MikhailBautinAshokDwarakinathTzi-ckerChiueh
ComputerScienceDepartment
StonyBrookUniversity
{mbautin,ashok,chiueh}@cs.sunysb.edu
ABSTRACT
Modernconsumer-grade3Dgraphiccardsboastacomputation/memoryresourcethatcaneasilyrivalorevenexceedthatofstandarddesktopPCs.Althoughthesecardsaremainlydesignedfor3Dgamingapplications,theirenormouscomputationalpowerhasattracteddeveloperstoportanincreasingnumberofscienti ccomputationprogramstothesecards,includingmatrixcomputation,collisiondetection,cryptography,databasesorting,etc.Asmoreandmoreapplicationsrunon3Dgraphiccards,thereisaneedtoallocatethecomputation/memoryresourceonthesecardsamongthesharingapplicationsmorefairlyande ciently.Inthispaper,wedescribethedesign,implementationandevaluationofaGraphicProcessingUnit(GPU)schedulerbasedonDe citRoundRobinschedulingthatsuccessfullyallocatestoeveryprocessanequalshareoftheGPUtimeregardlessoftheirdemand.Thisscheduler,calledGERM,estimatestheexecutiontimeofeachGPUcommandgroupbasedondynamicallycollectedstatistics,andcontrolseachprocess’sGPUcommandproductionratethroughitsCPUschedulingpriority.Measurementsonthe rstGERMprototypeshowthatthisapproachcankeepthemaximalGPUtimeconsumptiondi erenceamongconcurrentGPUprocessesconsistentlybelow5%foravarietyofapplicationmixes.
Keywords:GPUscheduling,ResourceManagement,GPUfairness,DRI,DRMkernelmodule,GERM
1.INTRODUCTION
Modernconsumer-gradegraphiccardsboastacomputation/memoryresourcethatcaneasilyrivalorevenexceedthatofstandarddesktopPCs.Forexample,aGeforce8800GTX-basedcardcontains786MBofmemorywithatotalmemorybandwidthof86.4GB/sec,andaG80GPUthathas128shaderprocessorseachoperatingat
1.35GHz,where16pixelsareprocessedsimultaneouslyineachclockcycle.Althoughthesecardsareoriginallydesignedfor3Dgamingapplications,theirenormouscomputationalpowerhasattractedanincreasingnumberofresearcherstoporttheirapplicationstothem.Non-graphicapplications1thathavebeensuccessfullyportedtoGPUsincludematrixcomputation,video/imageprocessing,collisiondetection,cryptography,databasesorting,etc.AsmoreandmoreGPU-exploitingapplicationsstarttoemerge,aGPU’scomputation/memoryresourcemayneedtobetime-sharedamongmultiplesuchapplicationsthatarerunningconcurrently.Asaresult,GPUneedsanoperatingsystemtomanageitscomputation/memoryresource,justasCPU.Inaddition,theGPU’sresourcemanagershouldcoordinateitsresourceallocationdecisionswiththosemadebythemainOSrunningontheCPU.
ExistingoperatingsystemsupportforGPU2,3allowsmultiplegraphicapplicationstorunonasingleGPUasifeachofthemhasexclusiveaccesstotheGPU’sresource,butdoesnotpreventapplicationsfrommonopolizingtheGPUresource.Typically,agraphicapplicationisbuiltontopofauser-levelgraphiclibrary,e.g.OpenGLorDirect3D,whichconvertshigh-levelcommandsintolow-levelGPUcommandsthroughauser-levelGPU-speci cdriver.AGPUinteractswithitsdriverviaaGPUcommandringbu eronthegraphiccard,towhichtheGPUdriverDMAscommandsfromthehostmemory.AlthoughGPUinterruptsCPUwhenDMAtransactionscomplete,theydonotgenerateinterruptswhenaGPUcommandexitstheGPU’sgraphicpipeline.
ModernGPUsarestatefulinthesensethatagraphicapplication’sGPUcommandsmustbeexecutedwithrespecttoaspeci cGPUstatethatitsetupbeforehand.AGPUstatetypicallyincludestransformationmatrices,view-portspeci cations,lightingparameters,etc.Becausedi erentapplicationsrequiredi erentGPUstates,itisessentialtorestoretheGPUstateofagraphicapplicationbeforeschedulingitsGPUcommands.Restoringagraphicapplication’sstaterequiresissuingasequenceofGPUcommandstoproperlysetupthe
PREFACE (Engine Resource Management) 序言 (轮机资源管理) Accidents will be often happened in the air, on the highways and railways, but it will be ...
Engine Resource Management File Manager (NFS) General Utility Connectivity ...API (Telephony API, Network API, Graphic API, etc.) Telephony TAPI TE ...
4. G2D: Graphic 2D engine. 5. LCD: LCD interface, support 4 layers. ...14. RR: Radio resource management. RR task includes several sub-modules. ...
graphic device interface 图形界面驱动 grovel.exe -...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...
graphic device interface 图形界面驱动 grovel.exe >...engine database 转换 jet engine 数据库 jetpack....resource management server 子能卡资源管理服 务器 ...
graphic device interface 图形界面驱动 grovel.exe ...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...
QUESTIONS WHY HUMAN RESOURCE MANAGEMENT IS IMPORTANT...engine motor would be an example of what kind ...graphic rating scales (c; difficult; p. 296) ...
. 1.2.3 Resource Management 1.2.4 Graphic Drivers . . . 1.2.5 ...graphics hardware to submit the command to the card’s acceleration engine....
graphic device interface 图形界面驱动 grovel.exe >...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...
graphic device interface 图形界面驱动 grovel.exe >...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...
热门文档