New approach eliminates software deadlocks using discrete control theory
Software deadlocks are the Catch-22s of the computer world. These common bugs can freeze the machine when different parts of a program end up in an endless cycle of waiting for one another as they access shared data. University of Michigan researchers developed a new way around this problem with a controller that can anticipate and prevent situations that might cause deadlock.
Their controller is called Gadara. It's a plug-in that operates using feedback techniques similar to those that give us cruise control in cars and thermostats in heating systems.
"This is a totally different approach to what people had done before for deadlock. Previously, engineers would try to identify potential deadlocks through testing or program analysis and then go back and rewrite the program. The bug fixes were manual, and not automatic. Gadara automates the process," said Stéphane Lafortune, a professor in the Department of Electrical Engineering and Computer Science and a Gadara developer.
Yin Wang, a doctoral student who works with Lafortune in the same department, will present a paper on Gadara Dec. 9 at the USENIX Symposium on Operating Systems Design and Implementation in San Diego.
"Every time you find a problem today you need the original programmer to solve it. The goal of Gadara is to allow anyone with our tool to solve the problem," Wang said.
Deadlock is becoming a more pressing concern as multicore chips grow in complexity and software performs an increasing number of tasks simultaneously. The bug shows up often in parallel programs that use shared data.
Gadara works by analyzing a program to find potential deadlocks, and then inserting control logic into the program. The control logic ensures that the program cannot deadlock.
Gadara uses a unique combination of discrete control theory and compiler technology, said Lafortune, whose primary work focuses on discrete control theory. The control theory provides the logic that allows Gadara to use feedback to prevent software deadlocks.
The compiler technology, which was developed by Scott Mahlke, a professor in the Department of Electrical Engineering and Computer Science, enables Gadara to operate on real-world applications. Compilers translate programs written in high-level programming languages in executable code.
Source: University of Michigan
Related
- Online service lets blind surf the Internet from any computer, anywhereWed, 25 Jun 2008, 14:07:51 EDT
- Quantum computers will require complex software to manage errorsWed, 8 Apr 2009, 11:52:09 EDT
- Computer scientists scale 'layer 2' data center networks to 100,000 ports and beyondMon, 17 Aug 2009, 18:23:28 EDT
- Sending science down the phone: New technology will map research across the worldTue, 15 Sep 2009, 21:28:43 EDT
- Patient privacy assured by electronic censorThu, 24 Jul 2008, 2:50:00 EDT
Other sources
- New Approach Eliminates Software Deadlocks Using Discrete Control Theoryfrom Science DailyFri, 5 Dec 2008, 22:28:16 EST
- New approach eliminates software deadlocks using discrete control theoryfrom Science CentricWed, 3 Dec 2008, 1:42:56 EST
- New approach eliminates software deadlocks using discrete control theoryfrom PhysorgTue, 2 Dec 2008, 14:00:24 EST
- New Approach Eliminates Software Deadlocks Using Discrete Control Theoryfrom Newswise - ScinewsTue, 2 Dec 2008, 10:29:03 EST
Latest Science Newsletter
Get the latest and most popular science news articles of the week in your Inbox!Learn more about
Popular science news articles
- Scientists visualize how bacteria talk to one another
- Findings show nanomedicine promising for treating spinal cord injuries
- Deep creep means milder, more frequent earthquakes along Southern California's San Jacinto fault
- Carnegie Mellon researchers link health-care debate to risk of dying in US and Europe
- Developmental delay could stem from nicotinic receptor deletion
- African desert rift confirmed as new ocean in the making
- Why nice guys usually get the girls
- Does green tea prevent cancer? Evidence continues to brew, but questions remain
- Digital 'plaster' for monitoring vital signs undergoes first clinical trials
- Higher carotid arterial stenting rates associated with poorer clinical outcomes
- African desert rift confirmed as new ocean in the making
- 1 shot of gene therapy and children with congenital blindness can now see
- Scientists discover influenza's Achilles heel: Antioxidants
- Cleanliness is next to godliness: New research shows clean smells promote moral behavior
- Super typhoon Lupit heading west in the Philippine Sea
No popular news yet
- African desert rift confirmed as new ocean in the making
- Common plants can eliminate indoor air pollutants
- Study reveals a 'missing link' in immune response to disease
- Reduction in glycotoxins from heat-processing of foods reduces risk of chronic disease
- Digital 'plaster' for monitoring vital signs undergoes first clinical trials