Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Mely: Efficient Workstealing for Multicore Event-Driven Systems

Fabien Gaud 1 Sylvain Genevès 1 Renaud Lachaize 1 Baptiste Lepers 1 Fabien Mottet 1 Gilles Muller 2 Vivien Quéma 1 
1 SARDES - System architecture for reflective distributed computing environments
Inria Grenoble - Rhône-Alpes, LIG - Laboratoire d'Informatique de Grenoble
2 Regal - Large-Scale Distributed Systems and Applications
LIP6 - Laboratoire d'Informatique de Paris 6, Inria Paris-Rocquencourt
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.
Document type :
Reports (Research report)
Complete list of metadata

Cited literature [32 references]  Display  Hide  Download
Contributor : Renaud Lachaize Connect in order to contact the contributor
Submitted on : Sunday, January 24, 2010 - 8:04:58 PM
Last modification on : Wednesday, October 26, 2022 - 8:16:35 AM
Long-term archiving on: : Thursday, October 18, 2012 - 1:05:21 PM


Files produced by the author(s)


  • HAL Id : inria-00449530, version 1


Fabien Gaud, Sylvain Genevès, Renaud Lachaize, Baptiste Lepers, Fabien Mottet, et al.. Mely: Efficient Workstealing for Multicore Event-Driven Systems. [Research Report] RR-7169, INRIA. 2010, pp.23. ⟨inria-00449530⟩



Record views


Files downloads