inria-00449530, version 1
Mely: Efficient Workstealing for Multicore Event-Driven Systems
a, 1
b, 1
b, 1
c, 1
c, 1
2
d, 1
N° RR-7169 (2010)
Abstract: Many high-performance communicating systems are designed using the event-driven paradigm. As multicore platforms are now pervasive, it becomes crucial for such systems to take advantage of the available hardware parallelism. Event-coloring is a promising approach in this regard. First, it allows programmers to simply and progressively inject support for the safe, parallel execution of multiple event handlers through the use of annotations. Second, it relies on a workstealing algorithm to dynamically balance the execution of event handlers on the available cores. This paper studies the impact of the workstealing algorithm on the overall system performance. We first show that the only existing workstealing algorithm designed for event-coloring runtimes is not always efficient: for instance, it causes a 33% performance degradation on a Web server. We then introduce several enhancements to improve the workstealing behavior. An evaluation using both microbenchmarks and real applications, a Web server and the Secure File Server (SFS), shows that our system consistently outperforms a state-of-the-art runtime (Libasync-smp), with or without workstealing. In particular, our new workstealing improves performance by up to +25% compared to Libasync-smp without workstealing and by up to +73% compared to the Libasync-smp workstealing algorithm, in the Web server case.
- a – Grenoble INP
- b – Université Joseph Fourier - Grenoble I
- c – INRIA
- d – CNRS
- 1:
- INRIA – Institut polytechnique de Grenoble (Grenoble INP) – Université Joseph Fourier - Grenoble I – Université Pierre-Mendès-France - Grenoble II – CNRS : UMR5217
- 2:
- INRIA – CNRS : UMR7606 – Université Pierre et Marie Curie [UPMC] - Paris VI
- Domain : Computer Science/Operating Systems
- Keywords : multicore architectures – event-driven programming – workstealing – system services – performance
- Internal note : RR-7169
- inria-00449530, version 1
- http://hal.inria.fr/inria-00449530
- oai:hal.inria.fr:inria-00449530
- From:
- Submitted on: Sunday, 24 January 2010 20:04:58
- Updated on: Wednesday, 27 January 2010 09:22:59




Associated documents
Export