skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: MPX: software for multiplexing hardware performance counters in multithreaded programs

Conference ·

Hardware performance counters are CPU registers that count data loads and stores, cache misses, and other events. Counter data can help programmers understand software performance. Although CPUs typically have multiple counters, each can monitor only one type of event at a time, and some counters can monitor only certain events. Therefore, some CPUs cannot concurrently monitor interesting combinations of events. Software multiplexing partly overcomes this limitation by using time sharing to monitor multiple events on one counter: However; counter multiplexing is harder to implement for multithreaded programs than for single-threaded ones because of certain difficulties in managing the length of the time slices. This paper describes a software library called MPX that overcomes these difficulties. MPX allows applications to gather hardware counter data concurrently for any combination of countable events. MPX data are typically within a few percent of counts recorded without multiplexing.

Research Organization:
Lawrence Livermore National Lab. (LLNL), Livermore, CA (United States)
Sponsoring Organization:
USDOE
DOE Contract Number:
W-7405-ENG-48
OSTI ID:
15004103
Report Number(s):
UCRL-JC-140186-REV-1; TRN: US201015%%337
Resource Relation:
Conference: 15th Annual International Parallel and Distributed Processing Symposium, San Francisco, CA, Apr 23 - Apr 27, 2001
Country of Publication:
United States
Language:
English

Similar Records

MPX: software for multiplexing hardware performance counters in multithreaded programs
Conference · Wed Aug 23 00:00:00 EDT 2000 · OSTI ID:15004103

Data Locality Enhancement of Dynamic Simulations for Exascale Computing (Final Report)
Technical Report · Fri Nov 29 00:00:00 EST 2019 · OSTI ID:15004103

Complexity in scalable computing.
Journal Article · Mon Dec 01 00:00:00 EST 2008 · Proposed for publication in Scientific Programming. · OSTI ID:15004103

Related Subjects