IDEAS home Printed from https://ideas.repec.org/p/aeg/report/2013-07.html
   My bibliography  Save this paper

Self-optimizing Concurrency in Software Transactional Memory via Model-based Approach

Author

Listed:
  • Pierangelo Di Sanzo

    () (Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza")

  • Francesco Del Re

    () (Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza")

  • Diego Rughetti

    () (Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza")

  • Bruno Ciciani

    () (Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza")

  • Francesco Quaglia

    () (Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza")

Abstract

In the era of multi-core systems, the need for tools simplifying the development of concurrent applications is increasingly looming. In such a context, Software Transactional Memory (STM) is recognized as an effective programming paradigm, thanks to its ability to guarantee consistency of data that are shared across concurrent threads in an application transparent manner. On the other hand, a core problem to cope with for STM, which has received great attention of late, deals with (dynamically) regulating the degree of concurrency, in order to deliver optimal performance. In fact, depending on the application workload, whose profile can also change over time, an oversized number of concurrent threads may cause loss in performance due to excessive data contention, which may give rise to excessively high transaction abort rate. Conversely, an undersized number of threads may hamper performance due to limited exploitation of parallelism. We address this problem by proposing a self-regulation approach of the concurrency level, which leverages a parametric analytical performance model aimed at predicting the scalability of the STM application as a function of the actual workload profile and the number of concurrent threads supposed to sustaining the execution. The regulation scheme allows achieving optimal performance during the whole lifetime of the application via dynamically resizing the number of concurrent threads according to the predictions by the model. The later is customized for a specific application/platform pair through regression analysis, which is based on a lightweight sampling phase. We also present a real implementation of the model-based concurrency self-regulation architecture integrated within the open source TinySTM framework. Further, the effectiveness of the proposal is evaluated via an experimental assessment based on standard STM benchmark applications.

Suggested Citation

  • Pierangelo Di Sanzo & Francesco Del Re & Diego Rughetti & Bruno Ciciani & Francesco Quaglia, 2013. "Self-optimizing Concurrency in Software Transactional Memory via Model-based Approach," DIAG Technical Reports 2013-07, Department of Computer, Control and Management Engineering, Universita' degli Studi di Roma "La Sapienza".
  • Handle: RePEc:aeg:report:2013-07
    as

    Download full text from publisher

    File URL: http://www.dis.uniroma1.it/~bibdis/RePEc/aeg/report/2013-07.pdf
    File Function: Revised version, 2013
    Download Restriction: no

    More about this item

    Keywords

    Software Transactional Memory; performance modeling; concurrency regulation; self-tuning;

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:aeg:report:2013-07. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Antonietta Angelica Zucconi). General contact details of provider: http://edirc.repec.org/data/dirosit.html .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.