Ignore:
Timestamp:
Jul 4, 2023, 12:37:32 PM (14 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
930a800
Parents:
adb67cf3
Message:

polished waituntil and conclusion chapter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/colby_parsons_MMAth/text/conclusion.tex

    radb67cf3 r5e81a9c  
    55% ======================================================================
    66This thesis presented a suite of safe and efficient concurrency tools that provide users with the means to write scalable programs in \CFA through many avenues.
    7 If users prefer the message passing paradigm of concurrency, \CFA now provides tools in the form of a performant actor system and channels.
     7If users prefer the message passing paradigm of concurrency, \CFA now provides message passing tools in the form of a performant actor system and channels.
    88For shared memory concurrency the mutex statement provides a safe and easy-to-use interface for mutual exclusion.
    9 The waituntil statement provided by this works aids in writing concurrent programs in both the message passing and shared memory worlds of concurrency.
    10 Furthermore no other language provides a synchronous multiplexing tool polymorphic over resources like \CFA's waituntil.
     9The waituntil statement provided by this works aids in writing concurrent programs in both the message passing and shared memory paradigms of concurrency.
     10Furthermore, no other language provides a synchronous multiplexing tool polymorphic over resources like \CFA's waituntil.
    1111From the novel copy queue data structure in the actor system, to the plethora of user-supporting safety features, all these utilities build upon existing tools with value added.
    1212
     
    1515This thesis scratches the surface of implicit concurrency by providing an actor system.
    1616There is room for more implicit concurrency tools in \CFA.
    17 User-defined implicit concurrency in the form of annotated loops or recursive functions exists in many other languages and libraries~\cite{uC++,openmp} and could be implemented and expanded on in \CFA.
     17User-defined implicit concurrency in the form of annotated loops or recursive functions exists in many other languages and libraries~\cite{uC++,openmp}. Similar implicit concurrency mechanisms could be implemented and expanded on in \CFA.
    1818Additionally, the problem of automatic parallelism of sequential programs via the compiler is an interesting research space that other languages have approached~\cite{wilson94,haskell:parallel} that could also be explored in \CFA.
    19 
    20 
    21 \subsection{Synchronously Multiplexing System Calls}
    22 There are many tools that try to sychronize on or asynchronously check I/O, since improvements in this area pay dividends in many areas of computer science~\cite{linux:select,linux:poll,linux:epoll,linux:iouring}.
    23 Research on improving user-space tools to synchronize over I/O and other system calls is an interesting area to explore in the world of concurrent tooling.
    2419
    2520\subsection{Advanced Actor Stealing Heuristics}
    2621In this thesis, two basic victim selection heuristics were chosen when implementing the work stealing actor system. Good victim selection is an active area of work stealing research, especially when taking into account NUMA effects and cache locality~\cite{barghi18,wolke17}. The actor system in \CFA is modular and exploration of other victim selection heuristics for queue stealing in \CFA could constitute future work. The other question that arises with work stealing is: When should a worker thread steal? Work stealing systems can often be too aggressive when stealing, causing the cost of the steal to be higher than what is saved by sharing the work. In the presented actor system, a worker thread steals work after it checks all its work queues for work twice and sees them all empty. Given that thief threads often have cycles to spare, there is room for a more nuanced approach to choosing when to steal.
     22
     23\subsection{Synchronously Multiplexing System Calls}
     24There are many tools that try to sychronously wait for or asynchronously check I/O, since improvements in this area pay dividends in many areas of computer science~\cite{linux:select,linux:poll,linux:epoll,linux:iouring}.
     25Research on improving user-space tools to synchronize over I/O and other system calls is an interesting area to explore in the world of concurrent tooling.
    2726
    2827\subsection{Better Atomic Operations}
     
    3433The semantics and safety of these builtins require careful navigation since they require the user to have a nuanced understanding of concurrent memory ordering models to pass via flags.
    3534Furthermore, these atomics also often require a user to understand how to fence appropriately to ensure correctness.
    36 All these problems and more could benefit from language support, and adding said language support in \CFA could constitute a great research contribution, and allow for easier writing of low-level safe concurrent code.
     35All these problems and more could benefit from language support in \CFA.
     36Adding good language support for atomics is a difficult and nuanced problem, which if solved well would allow for easier and safer writing of low-level concurrent code.
Note: See TracChangeset for help on using the changeset viewer.