Michael Stumm: Publications

Paper Details

Reference:

Livio Soares and Michael Stumm,
"Exception-less system calls for event-driven servers",
In Proceedings of the USENIX Annual Technical Conference (Usenix-ATC'11), Portland, OR, U.S.A., Usenix Association, Berkeley, CA, USA, June, 2011, pp. 131–145.

Download:

PDF ; Talk Slides ; Talk

Abstract:

Event-driven architectures are currently a popular design choice for scalable, high-performance server applications. For this reason, operating systems have invested in efficiently supporting non-blocking and asynchronous I/O, as well as scalable event-based notification systems.

We propose the use of exception-less system calls as the main operating system mechanism to construct high-performance event-driven server applications. Exceptionless system calls have four main advantages over traditional operating system support for event-driven programs: (1) any system call can be invoked asynchronously, even system calls that are not file descriptor based, (2) support in the operating system kernel is nonintrusive as code changes are not required for each system call, (3) processor efficiency is increased since mode switches are mostly avoided when issuing or executing asynchronous operations, and (4) enabling multi-core execution for event-driven programs is easier, given that a single user-mode execution context can generate enough requests to keep multiple processors/cores busy with kernel execution.

We present libflexsc, an asynchronous system call and notification library suitable for building event-driven applications. Libflexsc makes use of exception-less system calls through our Linux kernel implementation, FlexSC. We describe the port of two popular event-driven servers, memcached and nginx, to libflexsc. We show that exception-less system calls increase the throughput of memcached by up to 35% and nginx by up to 120% as a result of improved processor efficiency.

Keywords:

Operating systems, system call, exception-less system call, event-driven servers

Reference Info:

ACMid: 2002191
ISBN: 978-931971-85-0

BibTeX:

@inproceedings(Soares-USENIXATC11,
    author = {Livio Soares and Michael Stumm},
    title = {Exception-less system calls for event-driven servers},
    booktitle = {Proceedings of the USENIX Annual Technical Conference (\textbf{Usenix-ATC'11})},
    location = {Portland, OR, U.S.A.},
    organization = {Usenix Association},
    address = {Berkeley, CA, USA},
    month = {June},
    year = {2011},
    pages = {131-145},
    isbn = {978-931971-85-0},
    keywords = {Operating systems, system call, exception-less system call, event-driven servers}
)