Profile-directed optimization of event-based programs

被引:5
作者
Rajagopalan, M [1 ]
Debray, SK
Hiltunen, MA
Schlichting, RD
机构
[1] Univ Arizona, Dept Comp Sci, Tucson, AZ 85721 USA
[2] AT&T Labs Res, Florham Pk, NJ 07932 USA
关键词
profiling; events; handlers; performance;
D O I
10.1145/543552.512543
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Events are used as a fundamental abstraction in programs ranging from graphical user interfaces (GUIs) to systems for building customized network protocols, While providing a flexible structuring and execution paradigm, events have the potentially serious drawback of extra execution overhead due to the indirection between modules that raise events and those that handle them. This paper describes an approach to addressing this issue using static optimization techniques. This approach, which exploits the underlying predictability often exhibited by event-based programs, is based on first profiling the program to identify commonly occurring event sequences. A variety of techniques that use the resulting profile information are then applied to the program to reduce the overheads associated with such mechanisms as indirect function calls and argument marshaling. In addition to describing the overall approach, experimental results are given that demonstrate the effectiveness of the techniques. These results are from event-based programs written for X Windows, a system for building GUIs, and Cactus, a system for constructing highly configurable distributed services and network protocols.
引用
收藏
页码:106 / 116
页数:11
相关论文
共 50 条
  • [21] FamiWare: a family of event-based middleware for ambient intelligence
    Nadia Gámez
    Lidia Fuentes
    [J]. Personal and Ubiquitous Computing, 2011, 15 : 329 - 339
  • [22] Event-based techniques to debug an object request broker
    Galdámez, P
    Murphy, D
    Bernabéu-Aubán, JM
    Muñoz-Escoí, FD
    [J]. JOURNAL OF SUPERCOMPUTING, 1999, 13 (02) : 133 - 149
  • [23] Event-based topology for dynamic planar areal objects
    Jiang, Jixiang
    Worboys, Michael
    [J]. INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2009, 23 (01) : 33 - 60
  • [24] Representation of Event-Based Ontology Models: A Comparative Study
    Ali, Ashour
    Noah, Shahrul Azman Mohd
    Zakaria, Lailatul Qadri
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2022, 22 (07): : 147 - 156
  • [25] An Event-based Retransmission Scheduling for Remote State Estimation
    Wang, Lulu
    Cao, Xianghui
    Sun, Changyin
    [J]. PROCEEDINGS 2018 33RD YOUTH ACADEMIC ANNUAL CONFERENCE OF CHINESE ASSOCIATION OF AUTOMATION (YAC), 2018, : 603 - 608
  • [26] MAIA: An Event-based Modular Architecture for Intelligent Agents
    Fernando Sanchez-Rada, J.
    Iglesias, Carlos A.
    Coronado, Miguel
    [J]. 2014 IEEE/WIC/ACM INTERNATIONAL JOINT CONFERENCES ON WEB INTELLIGENCE (WI) AND INTELLIGENT AGENT TECHNOLOGIES (IAT), VOL 3, 2014, : 87 - 94
  • [27] FamiWare: a family of event-based middleware for ambient intelligence
    Gamez, Nadia
    Fuentes, Lidia
    [J]. PERSONAL AND UBIQUITOUS COMPUTING, 2011, 15 (04) : 329 - 339
  • [28] ADAPT: An Event-Based Adaptive Collective Communication Framework
    Luo, Xi
    Wu, Wei
    Bosilca, George
    Patinyasakdikul, Thananon
    Wang, Linnan
    Dongarra, Jack
    [J]. HPDC '18: PROCEEDINGS OF THE 27TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING, 2018, : 118 - 130
  • [29] Architecting an event-based pervasive sensing environment in the hospital
    Wu, Bin
    George, Roy
    Shujaee, Khalil
    [J]. 2006 3RD INTERNATIONAL IEEE CONFERENCE INTELLIGENT SYSTEMS, VOLS 1 AND 2, 2006, : 268 - 272
  • [30] An Event-Based Language for Dynamic Binary Translation Frameworks
    Makarov, Serguei
    Brown, Angela Demke
    Goel, Ashvin
    [J]. PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'14), 2014, : 499 - 500