New approach eliminates software deadlocks using discrete control theory

December 2, 2008

(PhysOrg.com) -- 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.

Provided by University of Michigan


print this article email this article download pdf blog this article bookmark this article     Stumble it Digg this share on Facebook retweet share on Reddit add to delicious
Rate this story - 4.2 /5 (18 votes)

Rank Filter

Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

  • GrayMouser - Dec 02, 2008
    • Rank: 4 / 5 (1)
    This is the press release, verbatim even:
    http://www.eureka...0208.php
  • raron - Dec 03, 2008
    • Rank: not rated yet
    So it injects "control logic" into other programs... hm....
  • concerned - Dec 03, 2008
    • Rank: 5 / 5 (1)
    I'd have to see this. The logic that leads up to deadlocks can often be very complex and I have serious doubts that anything today (even this new method) can "see" the entire logic that leads up to a deadlock. I don't doubt that it can find SOME logic that leads to deadlocks, but not everything and not anything remotely complex.

December 2, 2008 all stories

Comments: 3

4.2 /5 (18 votes)
  • Stumble this up

  • Digg this

  • share this

  • hide
  • Related Stories

  • Spider secrets decoded in world-first database
    created 3 hours ago | popularity not rated yet | comments 0
  • Astronaut's baby daughter born as he circles Earth
    created Nov 22, 2009 | popularity not rated yet | comments 0
  • The court will now call its expert witness: the brain
    created Nov 20, 2009 | popularity not rated yet | comments 0
  • Gripes about swine flu vaccine abound
    created Nov 20, 2009 | popularity not rated yet | comments 0
  • Study raises concerns about outdoor second-hand smoke
    created Nov 18, 2009 | popularity not rated yet | comments 0



  • hide
  • Relevant PhysicsForums posts

  • Help with a camera choice
    created Nov 18, 2009
  • casio calculator that's similar to TI-89
    created Nov 08, 2009
  • Advice on what cell phone to get
    created Nov 08, 2009
  • Changing the language options on your phone.
    created Nov 03, 2009
  • More from Physics Forums - Computing & Technology

Other News

Intel logo A

Intel wants a chip implant in your brain

Technology / Hi Tech

created 14 hours ago | popularity 4.1 / 5 (15) | comments 27

(PhysOrg.com) -- Computer chip maker Intel wants to implant a brain-sensing chip directly into the brains of its customers to allow them to operate computers and other devices without moving a muscle.


IBM Researchers Lower Language Barrier With Text Translator

Technology / Computer Sciences

created 5 hours ago | popularity 4 / 5 (2) | comments 0

IBM Researchers are helping to break the language barrier with the advent of technology dubbed "n.Fluent" -- smart software that translates text between English and 11 other languages. IBM employees use it to instantaneously ...


Friends go online at Foursquare to meet offline (AP)

Friends go online at Foursquare to meet offline

Technology / Internet

created 5 hours ago | popularity not rated yet | comments 0

(AP) -- Laura Fitton's ascent has been staggering: In less than a year, she's become mayor of nine different places in several different states, all without giving any speeches or kissing any babies.


Feeling the way

Feeling the way: Robotic device can help visually impaired people

Technology / Engineering

created 5 hours ago | popularity not rated yet | comments 0

(PhysOrg.com) -- For many people, it has become routine to go online to check out a map before traveling to a new place. But for blind people, Google maps and other visual mapping applications are of little ...


HP's profit up 14 pct despite sales drop (AP)

HP's profit up 14 pct despite sales drop

Technology / Business

created 5 hours ago | popularity not rated yet | comments 0

(AP) -- Hewlett-Packard Co.'s profit jumped 14 percent in the latest quarter, helped by cost-cutting and better results from its technology services division.