- Literature - May 24
UChicago to honor historian Black, theater director Bogart at Convocation - Agronomy - May 24
Diagnostic labs analyze anything from bugs to toenails - Medicine - May 24
UCLA launches first face transplantation program in western U.S - Administration - May 24
’Click It or Ticket’ Enforcement on Penn Campus - Medicine - May 24
Hormone Plays Surprise Role in Fighting Skin Infections - Pedagogy - May 24
Two SEAS profs envision the next big ideas in teaching and learning - Environmental Sciences - May 24
Columbia's Manhattanville Campus Earns LEED Platinum for Neighborhood Plan - Law - May 24
Latest UT/Texas Tribune Poll: Tax Pledge Issue Reveals Conservative Divide - Computer Science - May 24
SDSC to Host "Summer Institute" Supercomputer Workshop August 6-10 - Earth Sciences - May 24
SDSC to Host Summer Institute for Geosciences August 6-10 - Arts - May 24
Center for the Art of Performance at UCLA announces 2012-13 season - Medicine - May 24
Device may inject a variety of drugs without using needles
By category
Official EventAdministration
Chemistry
Physics
Computer Science
Environmental Sciences
Earth Sciences
Life Sciences
Medicine
Business
Law
Literature
History
Arts
» » more
Engineering Breakthrough Improves Software Reliability and Security
9 November 2011 - COLUMBIA
Anyone who uses multithreaded computer programs—and that’s all of us, as these are the programs that power nearly all software applications including Office, Windows, MacOS, and Google Chrome Browser, and web services like Google Search, Microsoft Bing, and iCloud—knows well the frustration of computer crashes, bugs, and other aggravating problems.
The most widely used method to harness the power we require from multicore processors, multithreaded programs can be difficult for programmers to get right and they often contain elusive bugs called races. Data races can cause very serious problems, like the software bug that set off the 2003 power blackout in the Northeast. Now there is a new system that will combat this problem.
Peregrine, a new software system developed by a team of researchers at Columbia Engineering School, led by Assistant Professor of Computer Science Junfeng Yang (at right), will improve the reliability and security of multithreaded programs, benefiting virtually every computer user across the globe. Peregrine can be used by software vendors like Microsoft and Apple and web service providers like Google and Facebook, to provide reliable services to computer users. This new research was published in the 23rd ACM Symposium on Operating Systems Principles, considered to be the most prestigious systems conference held each year, and presented by Yang’s graduate student Heming Cui at Cascais, Portugal, on October 26. The paper can be found at http://systems.cs.columbia.edu/archive/pub/2011/10/efficient-deterministic-multithreading-through-schedule-relaxation/ .
“Multithreaded programs are becoming more and more critical and pervasive,” says Professor Yang.”But these programs are nondeterministic, so running them is like tossing a coin or rolling dice— sometimes we get correct results, and sometimes we get wrong results or the program crashes. Our main finding in developing Peregrine is that we can make threads deterministic in an efficient and stable way: Peregrine can compute a plan for allowing when and where a thread can “change lanes” and can then place barriers between the lanes, allowing threads to change lanes only at fixed locations, following a fixed order. This prevents the random collisions that can occur in a nondeterministic system.
“Once Peregrine computes a good plan without collisions for one group of threads,” adds Yang, “it can reuse the plan on subsequent groups to avoid the cost of computing a new plan for each new group. This approach matches our natural tendency to follow familiar routes so we can avoid both potential hazards in unknown routes and efforts to find a new route.”
Yang notes that in contrast to many earlier systems that address only resultant problems but not the root cause, Peregrine addresses nondeterminism—a system that is unpredictable as each input has multiple potential outcomes—and thus simultaneously addresses all the problems that are caused by nondeterminism.
Peregrine also deals with data races or bugs, unlike most previous efforts that do not provide such fine-grained control over the execution of a program. And it’s very fast—many earlier systems may slow down the execution of a program by up to ten times. Peregrine is also a practical system that works with current hardware and programming languages— it does not require new hardware or new languages, all of which can take years to develop. It reuses execution plans, whereas some previous work makes a different plan for each group of threads: as Yang points out, “The more plans one makes, the more likely some plans have errors and will lead to collisions.”
“Today’s software systems are large, complex, and plagued with errors, some of which have caused critical system failures and exploits,” adds Yang. “My research is focused on creating effective tools to improve the reliability and security of real software systems. I’m excited about this area because it has the potential to make the cyberspace a better place and benefit every government, business, and individual who uses computers.”
Yang’s research was funded by the National Science Foundation, including an NSF CAREER award, the Defense Advanced Research Projects Agency (DARPA), the Air Force Research Laboratory (AFRL), and the Intelligence Advanced Research Projects Activity (IARPA).
Peregrine, a new software system developed by a team of researchers at Columbia Engineering School, led by Assistant Professor of Computer Science Junfeng Yang (at right), will improve the reliability and security of multithreaded programs, benefiting virtually every computer user across the globe. Peregrine can be used by software vendors like Microsoft and Apple and web service providers like Google and Facebook, to provide reliable services to computer users. This new research was published in the 23rd ACM Symposium on Operating Systems Principles, considered to be the most prestigious systems conference held each year, and presented by Yang’s graduate student Heming Cui at Cascais, Portugal, on October 26. The paper can be found at http://systems.cs.columbia.edu/archive/pub/2011/10/efficient-deterministic-multithreading-through-schedule-relaxation/ .
“Multithreaded programs are becoming more and more critical and pervasive,” says Professor Yang.”But these programs are nondeterministic, so running them is like tossing a coin or rolling dice— sometimes we get correct results, and sometimes we get wrong results or the program crashes. Our main finding in developing Peregrine is that we can make threads deterministic in an efficient and stable way: Peregrine can compute a plan for allowing when and where a thread can “change lanes” and can then place barriers between the lanes, allowing threads to change lanes only at fixed locations, following a fixed order. This prevents the random collisions that can occur in a nondeterministic system.
“Once Peregrine computes a good plan without collisions for one group of threads,” adds Yang, “it can reuse the plan on subsequent groups to avoid the cost of computing a new plan for each new group. This approach matches our natural tendency to follow familiar routes so we can avoid both potential hazards in unknown routes and efforts to find a new route.”
Yang notes that in contrast to many earlier systems that address only resultant problems but not the root cause, Peregrine addresses nondeterminism—a system that is unpredictable as each input has multiple potential outcomes—and thus simultaneously addresses all the problems that are caused by nondeterminism.
Peregrine also deals with data races or bugs, unlike most previous efforts that do not provide such fine-grained control over the execution of a program. And it’s very fast—many earlier systems may slow down the execution of a program by up to ten times. Peregrine is also a practical system that works with current hardware and programming languages— it does not require new hardware or new languages, all of which can take years to develop. It reuses execution plans, whereas some previous work makes a different plan for each group of threads: as Yang points out, “The more plans one makes, the more likely some plans have errors and will lead to collisions.”
“Today’s software systems are large, complex, and plagued with errors, some of which have caused critical system failures and exploits,” adds Yang. “My research is focused on creating effective tools to improve the reliability and security of real software systems. I’m excited about this area because it has the potential to make the cyberspace a better place and benefit every government, business, and individual who uses computers.”
Yang’s research was funded by the National Science Foundation, including an NSF CAREER award, the Defense Advanced Research Projects Agency (DARPA), the Air Force Research Laboratory (AFRL), and the Intelligence Advanced Research Projects Activity (IARPA).
Links
Columbia UniversityLast job offers
- Law - 21.5
Doctoral Programme at the Law School of the University of Basel - Life Sciences - 18.4
Senior Expert - Genetic Biomarker Oncology (PhD) m/f - Business - 22.5
Research Associate - Civil Engineering - 15.5
Research Specialist - Beckman Institute (A1200274) - Life Sciences - 15.5
Staff Research Associate II - Medicine - 12.5
Research Specialist - Business - 4.5
Assistant Professor of Economics, Non Tenure Track, Fall 2012 - Business - 3.5
Post Doctoral Fellow


» Share this page: