• DocumentCode
    3359574
  • Title

    An Analysis of I/O And Syscalls In Critical Sections And Their Implications For Transactional Memory

  • Author

    Baugh, Lee ; Zilles, Craig

  • Author_Institution
    Dept. of Comput. Sci., Illinois Univ., Urbana, IL
  • fYear
    2008
  • fDate
    20-22 April 2008
  • Firstpage
    54
  • Lastpage
    62
  • Abstract
    Transactional memory (TM) is a scalable and concurrent way to build atomic sections. One aspect of TM that remains unclear is how side-effecting operations - that is, those which cannot be transparently undone by a TM system - should be handled. This uncertainty poses a significant barrier to the general applicability and acceptance of TM. Further, the absence of transactional workloads makes it difficult to study this aspect In this paper, we characterize the usage of I/O, and in particular system calls, within critical sections in two large applications, exploring both the actions performed and the characteristics of the critical sections in which they are performed. Shared memory programs employing critical sections are the closest approximation available to transactional workloads, so using this characterization, we attempt to reason about how the behavior we observed relates to the previous proposals for handling side-effecting operations within transactions. We find that the large majority of syscalls performed within critical sections can be handled with a range of existing techniques in a way transparent to the application developer. We also find that while side-effecting critical sections are rare, they tend to be quite long-lasting, and that many of these critical sections perform their first syscall (and thus become side-effecting) relatively early in their execution. Finally, we show that while these long-lived, side-effecting critical sections tend to execute concurrently with many critical sections on other threads, we observe little concurrency between side-effecting critical sections.
  • Keywords
    distributed programming; distributed shared memory systems; multi-threading; remote procedure calls; storage management; transaction processing; I/O analysis; concurrent programming; critical sections; multithreaded workloads; shared memory systems; side-effecting operations; syscalls analysis; transactional memory; Cache storage; Computer science; Concurrent computing; Data structures; Programming profession; Proposals; Protection; System recovery; Uncertainty; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Performance Analysis of Systems and software, 2008. ISPASS 2008. IEEE International Symposium on
  • Conference_Location
    Austin, TX
  • Print_ISBN
    978-1-4244-2232-6
  • Electronic_ISBN
    978-1-4244-2233-3
  • Type

    conf

  • DOI
    10.1109/ISPASS.2008.4510738
  • Filename
    4510738