|
Centre Mont-Royal
Montreal, Canada July 13-17, 2009 |
|||||
|
Keynotes
Venue
|
The good, the bad and the ugly: on threads processes and co-processesGilad Ben-Yossef (gilad@codefidence.com)Developers of Linux applications seemingly face a two pronged dilemma when trying to design applicationד to make good use of multi-core hardware: use threads and sacrifice the memory protections provided by processes use in favor of reduced overhead, or use process and sacrifice performance for memory protection. This talk will explore some of the myths surrounding the use of threads and processes, present some real world measurements to the cost involved taken using a modified LMBench tool, discuss some very real but rarely mentioned reasons developers choose threads over processes and finally present CoProc (http://github.com/gby/coproc/), a proof of concept code library that tries to provide a golden mean between threads and processes, by providing an easy to use wrapper around the Linux clone() and mmap() system calls. |
| |||||||||||||||
|
Copyright © 2009 Linux Symposium Inc. All rights reserved. |
|||||||||||||||||