文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Graphic Engine Resource Management
侵权投诉

Graphic Engine Resource Management

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

第1页

你可能喜欢

热门文档

相关文档

  • 轮机实务与安全(ERM1)

    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 ...

  • MTK平台个人笔记

    4. G2D: Graphic 2D engine. 5. LCD: LCD interface, support 4 layers. ...14. RR: Radio resource management. RR task includes several sub-modules. ...

  • cmd常用指令

    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 子能卡资源管理服 务器 ...

  • cmd常用命令大全

    graphic device interface 图形界面驱动 grovel.exe ...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...

  • RC_Ch12

    QUESTIONS WHY HUMAN RESOURCE MANAGEMENT IS IMPORTANT...engine motor would be an example of what kind ...graphic rating scales (c; difficult; p. 296) ...

  • DirectFB_overview_V0[1].2

    . 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....

  • CMD常用指令大全

    graphic device interface 图形界面驱动 grovel.exe >...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...

  • cmd常用命令大全

    graphic device interface 图形界面驱动 grovel.exe >...engine database 转换jet engine数据库 jetpack.exe ...resource management server 子能卡资源管理服务器 ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email