THIS SITE

Information for

SCS Colloquium Series: Peter Buhr - High-Performance N-Thread Software Solutions for Mutual Exclusion (Creating Mutual Exclusion out of Thin Air)Export this event to calendar

Wednesday, November 19, 2014 — 3:30 PM EST

Portrait of Peter BuhrPeter Buhr

David R. Cheriton School of Computer Science
University of Waterloo

3:30pm, Wednesday, November 19
DC 1302

Abstract:

Software solutions for mutual exclusion developed over a 30-year period,
starting with complex ad-hoc algorithms and progressing to simpler formal ones. While it is easy to dismiss software solutions for mutual exclusion, as this family of algorithms is antiquated and most platforms support atomic hardware instructions, there is still a need for these algorithms in threaded, embedded systems running on low-cost processors lacking atomic instructions; e.g., low-cost devices like basic cell phones, cameras, printers, music players, toys, and even singing greeting cards. While N-thread solutions are usually short (10-25 lines of code), each is ingenious with exceptionally subtle aspects, often making it difficult to prove correctness or construct an implementation.
 
The talk presents a survey of existing algorithms, with explanations of the intuition behind the algorithms and how they work.  In the existing algorithms, several errors were found and corrections made, as well as a few small improvements; two new high-performance algorithms were developed. Finally, high and low contention experiments were performed to compare the algorithms and contrast them with three common locks based on hardware atomic instructions. The results show our two new algorithms are highly competitive with an equivalent hardware lock (Mellor-Crummey and Scott) over a range of 1--32 processors on both AMD and SPARC processors.  Hence, threading is a viable alternative to event-driven programming for complex embedded systems without atomic instructions.
Location 
DC - William G. Davis Computer Research Centre
200 University Avenue West
Waterloo, ON N2L 3G1
Canada

S M T W T F S
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
  1. 2018 (1)
    1. January (1)
  2. 2017 (37)
    1. December (2)
    2. November (5)
    3. October (3)
    4. September (4)
    5. July (4)
    6. June (3)
    7. May (2)
    8. April (2)
    9. March (6)
    10. February (4)
    11. January (2)
  3. 2016 (21)
    1. December (1)
    2. November (5)
    3. October (1)
    4. September (2)
    5. August (1)
    6. July (1)
    7. April (1)
    8. March (1)
    9. January (8)
  4. 2015 (37)
  5. 2014 (33)
  6. 2013 (23)
  7. 2012 (4)
  8. 2011 (1)
  9. 2010 (1)
  10. 2009 (1)
  11. 2008 (1)