. Energy News .




.
TECH SPACE
Major breakthrough improves software reliability and security
by Staff Writers
New York, NY (SPX) Nov 07, 2011

File image.

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, 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. The paper can be found here.

"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).

Related Links
Columbia University
Space Technology News - Applications and Research




.
.
Get Our Free Newsletters Via Email
...
Buy Advertising Editorial Enquiries




.

. Comment on this article via your Facebook, Yahoo, AOL, Hotmail login.

Share this article via these popular social media networks
del.icio.usdel.icio.us DiggDigg RedditReddit GoogleGoogle



TECH SPACE
Trillions served: Massive, complex projects for DOE JGI 2012 Community Sequencing Program
Walnut Creek, CA (SPX) Nov 07, 2011
According to roadside signs, the number of burgers served has eclipsed the billion mark, while the U.S. Department of Energy (DOE) Joint Genome Institute (JGI) will now serve up trillions of nucleotides of information from scores of newly-selected projects geared to feed the data-hungry worldwide research community. The 2012 Community Sequencing Program (CSP) call invited researchers to su ... read more


TECH SPACE
Gravitational waves that are 'sounds of universe'

Microgravity Science Glovebox Team Celebrates 10,000 Hours of Glovebox Operation

Squeezed laser will bring gravitational waves to the light of day

NASA Seeks Undergraduates To Fly Research In Microgravity

TECH SPACE
EASAC study on solar thermal power

SunPower Partners with Orchard Supply Hardware to Offer High Efficiency Solar Power Systems

SunRun Selects Mercury Solar Systems

MiaSole Achieves Production Milestone

TECH SPACE
Mortenson Construction Builds Its Fifth Wind Facility In Illinois

Chinese Wind Market To Overtake Germany by 2018, Second Only to the UK

Huhne slams green energy 'naysayers'

Wind farm development can be powerful, as long as proper design is implemented

TECH SPACE
Greenpeace protests 'climate killer' coal plant in S.Africa

Creating markets to pay for public good offer promise, peril

China plans switch to energy-saving lights

'Third World' power outages plague US homes, firms

TECH SPACE
China plays down Japan's arrest of fisherman

Hybrid Power Plants Can Help Industry Go Green

US handling of US-Canada pipeline study probed: documents

Italian smart grid demo project under way

TECH SPACE
Three New Planets and a Mystery Object Discovered Outside Our Solar System

Dwarf planet sized up accurately as it blocks light of faint star

Herschel Finds Oceans of Water in Disk of Nearby Star

UH Astronomer Finds Planet in the Process of Forming

TECH SPACE
Berlin 'threatens 6th sub sale to Israel'

Defender sets sail on maiden voyage

Missing Submarine K XVI Found After 70 Years

Lockheed Martin Team Lays Keel On Fifth US Littoral Combat Ship

TECH SPACE
Moscow's Mars volunteers to 'land' after 520 days

Mars Express observations temporarily suspended

NASA Study of Clays Suggests Watery Mars Underground

Mars500 crew prepare to open the hatch


.

The content herein, unless otherwise known to be public domain, are Copyright 1995-2011 - Space Media Network. AFP and UPI Wire Stories are copyright Agence France-Presse and United Press International. ESA Portal Reports are copyright European Space Agency. All NASA sourced material is public domain. Additional copyrights may apply in whole or part to other bona fide parties. Advertising does not imply endorsement,agreement or approval of any opinions, statements or information provided by Space Media Network on any Web page published or hosted by Space Media Network. Privacy Statement