Conquering the chaos in modern, multiprocessor computers
Computers should not play dice. That, to paraphrase Einstein, is the feeling of a University of Washington computer scientist with a simple manifesto: If you enter the same computer command, you should get back the same result. Unfortunately, that is far from the case with many of today's machines. Beneath their smooth exteriors, modern computers behave in wildly unpredictable ways, said Luis Ceze, a UW assistant professor of computer science and engineering. "With older, single-processor systems, computers behave exactly the same way as long as you give the same commands. Today's computers are non-deterministic. Even if you give the same set of commands, you might get a different result," Ceze said.
He and UW associate professors of computer science and engineering Mark Oskin and Dan Grossman and UW graduate students Owen Anderson, Tom Bergan, Joseph Devietti, Brandon Lucia and Nick Hunt have developed a way to get modern, multiple-processor computers to behave in predictable ways, by automatically parceling sets of commands and assigning them to specific places. Sets of commands get calculated simultaneously, so the well-behaved program still runs faster than it would on a single processor.
Next week at the International Conference on Architectural Support for Programming Languages and Operating Systems (http://www.ece.cmu.edu/CALCM/asplos10/doku.php) in Pittsburgh, Bergan will present a software-based version of this system that could be used on existing machines. It builds on a more general approach the group published last year, which was recently chosen as a top paper for 2009 by the Institute of Electrical and Electronics Engineers' journal Micro.
In the old days one computer had one processor. But today's consumer standard is dual-core processors, and even quad-core machines are appearing on store shelves. Supercomputers and servers can house hundreds, even thousands, of processing units.
On the plus side, this design creates computers that run faster, cost less and use less power for the same performance delivered on a single processor. On the other hand, multiple processors are responsible for elusive errors that freeze Web browsers and crash programs.
It is not so different from the classic chaos problem in which a butterfly flaps its wings in one place and can cause a hurricane across the globe. Modern shared-memory computers have to shuffle tasks from one place to another. The speed at which the information travels can be affected by tiny changes, such as the distance between parts in the computer or even the temperature of the wires. Information can thus arrive in a different order and lead to unexpected errors, even for tasks that ran smoothly hundreds of times before.
"With multi-core systems the trend is to have more bugs because it's harder to write code for them," Ceze said. "And these concurrency bugs are much harder to get a handle on."
One application of the UW system is to make errors reproducible, so that programs can be properly tested.
"We've developed a basic technique that could be used in a range of systems, from cell phones to data centers," Ceze said. "Ultimately, I want to make it really easy for people to design high-performing, low-energy and secure systems."
Last year Ceze, Oskin, and Peter Godman, a former director at Isilon Systems, founded a company to commercialize their technology. PetraVM (http://petravm.com/) is initially named after the Greek word for rock because it hopes to develop "rock-solid systems," Ceze said. The Seattle-based startup will soon release its first product, Jinx, which makes any errors that are going to crop up in a program happen quickly.
"We can compress the effect of thousands of people using a program into a few minutes during the software's development," Ceze said. "We want to allow people to write code for multi-core systems without going insane."
The company already has some big-name clients trying its product, Ceze said, though it is not yet disclosing their identities.
"If this erratic behavior irritates us, as software users, imagine how it is for banks or other mission-critical applications."
Source: University of Washington
Related
- Researchers use human cues to improve computer user-friendlinessFri, 4 Mar 2011, 14:08:52 EST
- Liter of fuel would last UK 1 year if cars had kept pace with computersThu, 19 Jun 2008, 14:14:42 EDT
- UC San Diego's GreenLight Project to improve energy efficiency of computingTue, 29 Jul 2008, 12:00:43 EDT
- Teaching computer gamesThu, 21 Jan 2010, 11:19:24 EST
- Optical chip enables new approach to quantum computingThu, 16 Sep 2010, 14:44:21 EDT
Other sources
- Conquering the Chaos in Modern, Multiprocessor Computersfrom Newswise - ScinewsWed, 10 Mar 2010, 17:35:35 EST
- Conquering the chaos in modern, multiprocessor computersfrom PhysorgWed, 10 Mar 2010, 17:14:22 EST
- Conquering the chaos in modern, multiprocessor computersfrom Science DailyWed, 10 Mar 2010, 17:14:13 EST
Latest Science Newsletter
Get the latest and most popular science news articles of the week in your Inbox! It's free!Learn more about
Check out our next project, Biology.Net
Popular science news articles
- High-speed method to aid search for solar energy storage catalysts
- Like curry? New biological role identified for compound used in ancient medicine
- Tiny planet-finding mirrors borrow from Webb Telescope playbook
- UMass Amherst wildlife researcher photographs rare Sumatran rabbit
- CSHL researchers solve structure of human protein critical for silencing genes
- Good news for nanomedicine: Quantum dots appear safe in pioneering study on primates
- Taking solar technology up a notch
- El Niño weather and climate change threaten survival of baby leatherback sea turtles
- Using graphene, scientists develop a less toxic way to rust-proof steel
- Deep sea animals stowaway on submarines and reach new territory
- Good news for nanomedicine: Quantum dots appear safe in pioneering study on primates
- Pacific islands may become refuge for corals in a warming climate, study finds
- In metallic glasses, researchers find a few new atomic structures
- New graphene-based material could revolutionize electronics industry
- UCLA researchers map damaged connections in Phineas Gage's brain
- Modern dog breeds genetically disconnected from ancient ancestors
- Calcium supplements linked to significantly increased heart attack risk
- Good news for nanomedicine: Quantum dots appear safe in pioneering study on primates
- New study examines relationship between social status and wound healing in wild baboons
- Study highlights how Twitter is used to share information after a disaster
- Italian merchants funded England's discovery of North America
- New graphene-based material could revolutionize electronics industry
- Babies' brains benefit from music lessons, researchers find
- Happiness model developed by MU researcher could help people go from good to great
- UCLA researchers map damaged connections in Phineas Gage's brain