St Andrews Research Repository

St Andrews University Home
View Item 
  •   St Andrews Research Repository
  • University of St Andrews Research
  • University of St Andrews Research
  • University of St Andrews Research
  • View Item
  •   St Andrews Research Repository
  • University of St Andrews Research
  • University of St Andrews Research
  • University of St Andrews Research
  • View Item
  •   St Andrews Research Repository
  • University of St Andrews Research
  • University of St Andrews Research
  • University of St Andrews Research
  • View Item
  • Login
JavaScript is disabled for your browser. Some features of this site may not work without it.

Repeating history : execution replay for Parallel Haskell programs

Thumbnail
View/Open
tfp2012.pdf (214.1Kb)
Date
2013
Author
Ferrerio, Henrique
Janjic, Vladimir
Castro, Laura
Hammond, Kevin
Keywords
QA75 Electronic computers. Computer science
Metadata
Show full item record
Altmetrics Handle Statistics
Altmetrics DOI Statistics
Abstract
Parallel profiling tools, such as ThreadScope for Parallel Haskell, allow programmers to obtain information about the performance of their parallel programs. However, the information they provide is not always sufficiently detailed to precisely pinpoint the cause of some per- formance problems. Often, this is because the cost of obtaining that information would be prohibitive for a complete program execution. In this paper, we adapt the well-known technique of execution replay to make it possible to simulate a previous run of a program. We ensure that the non-deterministic parallel behaviour of the application is prop- erly emulated while the deterministic functional code is run unmodified. In this way, we can gather additional data about the behaviour of a par- allel program by replaying some parts of it with more detailed profiling information. We exploit this ability to identify performance bottlenecks in a quicksort implementation, and to derive a version that gives better speedups on multicore machines.
Citation
Ferrerio , H , Janjic , V , Castro , L & Hammond , K 2013 , Repeating history : execution replay for Parallel Haskell programs . in Trends in Functional Programming : 13th International Symposium . vol. 7829 , Lecture Notes in Computer Science (LNCS) , Springer , pp. 231-246 . https://doi.org/10.1007/978-3-642-40447-4_15
Publication
Trends in Functional Programming
DOI
https://doi.org/10.1007/978-3-642-40447-4_15
Type
Conference item
Rights
© 2013. Springer-Verlag Berlin Heidelberg. This is an Accepted Manuscript of an article published in Lecture Notes on Computer Science, subseries Trends in Functional Programming 2013. The final publication is available at Springer via http://dx.doi.org/10.1007/978-3-642-40447-4_15
Collections
  • Centre for Interdisciplinary Research in Computational Algebra (CIRCA) Research
  • Computer Science Research
  • University of St Andrews Research
URI
http://hdl.handle.net/10023/5895

Items in the St Andrews Research Repository are protected by copyright, with all rights reserved, unless otherwise indicated.

Advanced Search

Browse

All of RepositoryCommunities & CollectionsBy Issue DateNamesTitlesSubjectsClassificationTypeFunderThis CollectionBy Issue DateNamesTitlesSubjectsClassificationTypeFunder

My Account

Login

Open Access

To find out how you can benefit from open access to research, see our library web pages and Open Access blog. For open access help contact: openaccess@st-andrews.ac.uk.

Accessibility

Read our Accessibility statement.

How to submit research papers

The full text of research papers can be submitted to the repository via Pure, the University's research information system. For help see our guide: How to deposit in Pure.

Electronic thesis deposit

Help with deposit.

Repository help

For repository help contact: Digital-Repository@st-andrews.ac.uk.

Give Feedback

Cookie policy

This site may use cookies. Please see Terms and Conditions.

Usage statistics

COUNTER-compliant statistics on downloads from the repository are available from the IRUS-UK Service. Contact us for information.

© University of St Andrews Library

University of St Andrews is a charity registered in Scotland, No SC013532.

  • Facebook
  • Twitter