TAUg- Runtime GlobalPerformance Data Access using .ppt
《TAUg- Runtime GlobalPerformance Data Access using .ppt》由会员分享,可在线阅读,更多相关《TAUg- Runtime GlobalPerformance Data Access using .ppt(28页珍藏版)》请在麦多课文档分享上搜索。
1、TAUg: Runtime Global Performance Data Access using MPI Kevin A. Huck, Allen D, Malony, Sameer Shende and Alan Morris khuck,malony,sameer,amorriscs.uoregon.edu Performance Research Laboratory Department of Computer and Information Science University of Oregon http:/www.cs.uoregon.edu/research/tau/,Mo
2、tivation,Growing interest in adaptive computations Decisions at runtime based on dynamic state Application adapts to current execution conditions problem state and performance Scalable parallel performance measurements Good solutions exist for parallel profiling and tracing profiling: Dynaprof, mpiP
3、, HPMToolkit, TAU tracing: KOJAK, Paraver, TAU Use of performance tools in adaptive applications Integrate with performance measurement infrastructure Requires means to access performance data online,Need For A Runtime Global Performance View,Performance data collected locally and concurrently Scala
4、ble efficiency dictates “local” measurements save data in processes or threads (“local context”) Done without synchronization or central control Parallel performance state is globally distributed Logically part of applications global data space Offline tools aggregate data after execution Online use
5、 requires access to global performance state How does an application access performance data? Abstract interface (view) to global performance state Extend performance measurement system to collect data,Related Work,Performance monitoring OCM / OMIS Wismuller1998 Peridot Gerndt2002 Distributed perfor
6、mance consultant Miller1995, Roth2006 Computational steering Falcon Gu1995 Echo / PBIO / DataExchange Eisenhauer1998 Online performance adaption Autopilot Ribler2001 Active harmony Tapus2002 Computational Quality of Service Norris2004, Ray2004,Solutions Approaches,Any solution needs to take into con
7、sideration: Granularity of global performance data to be accessed Cost of observation Approach 1: Build on global file system Tool dumps performance data to the filesystem Application processes read from file system Approach 2: Build on a collection network Additional threads, processes or daemons (
8、external) Gather and communicate performance data MRNet (Paradyn) Arnold2005 and Supermon Sottile2005 Our approach: Build on MPI and TAU (TAUg),Tarzan and Taug,“The ape-mans eyes fell upon Taug, the playmate of his childhood, Tarzan knew, Taug was courageous, and he was young and agile and wonderful
9、ly muscled.”,Jungle Tales of TarzanEdgar Rice Burroughs,TAUg (TAU global),TAU global performance space TAU aggregates local parallel performance measurements Uses application communication infrastructure (MPI) Application-level access to global performance data TAU API lets application create perfor
10、mance views Application abstractions as basis for performance view TAU aggregates performance data for a view (internal) TAUg infrastructure focuses on: Portability Scalability Application-level support,TAUg System Design,Global Performance Space,Views and Communicators,Global performance communicat
11、or subset of MPI processes,Global performance view subset of global profile data,TAUg Programming Interface,TAUg uses both TAU and MPI TAUg method interfaces Designed in MPI style Callable from C, C+, and Fortran. View and communicator definition void static TAU_REGISTER_VIEW() void static TAU_REGIS
12、TER_COMMUNICATOR() Called after MPI_Init() Get global performance view data void static TAU_GET_VIEW(),View and Communicator Registration,void static TAU_REGISTER_VIEW(char* tau_event_name,int* new_view_ID );void static TAU_REGISTER_COMMUNICATOR(int member_processes,int number_of_processes,int* new_
13、communicator_id );,Registration Sample Code,int viewID = 0, commID = 0, numprocs = 0;/* register a view for the calc method */ TAU_REGISTER_VIEW(“calc()“, ,Registration Implementation Details,Registering a communicator Creates a new MPI communicator Uses process ranks from MPI_COMM_WORLD Used by TAU
14、g only TAUg maintains a map MPI_COMM_WORLD new communicator rank Returns a TAUg communicator ID Not MPI_Comm object reference Ensures TAUg can support other communication libraries,Getting Global Performance Data View,void static TAU_GET_VIEW(int viewID,int communicatorID,int type,int sink,double* d
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- TAUGRUNTIMEGLOBALPERFORMANCEDATAACCESSUSINGPPT

链接地址:http://www.mydoc123.com/p-389637.html