Modern software takes computational speed for granted. But modern microprocessors can only speed up by increasing the number of cores. To take full advantage of multiple cores, software developers have to arrange their code in such a way that it is executable in parallel – an error-prone and expensive task. Computer scientists from Saarland University have developed a tool that parallelizes the necessary code sections automatically, and also gives developers programming advice. In the long term, they are planning to extend their “Sambamba” system to automatically parallelize any given program (Hall 9, Booth E13).
“Multicore architectures are becoming more and more important, even in netbooks and mobile phones,” says Andreas Zeller. “While devices are shrinking, they are also optimized to use as little energy as possible, which makes multicore ever more necessary.”
Zeller, professor for software engineering at Saarland University, developed the tool together with his doctoral students, Kevin Streit and Clemens Hammacher. Their system, called “Sambamba”, automatically converts conventionally programmed code into code that is executable in parallel.
“The aim is to find several parallelization options for every individual function in the examined application, and then select the best one during runtime,” says Sebastian Hack, professor of programming at Saarland University. He and his doctoral student Johannes Doerfert also took part in the Sambamba project.
Computer scientists describe runtime as the time that elapses between initialization and completion of a program. To identify sections where parallelization is possible and to exclude others, Sambamba analyzes the code even before it is executed. But with these preliminary analyses, it is hard to find parallelization options that are input-dependent and therefore appear just occasionally.
“That’s why Sambamba consists of two modules: a comprehensive program analysis tool that examines the code for its parallelization potential before runtime, and a second module that can then utilize these results and optimize the code with additional information obtained at runtime.” Sebastian Hack explains.
In this way, the computer scientists of Saarland University elegantly avoided some of the problems that researchers so far have not been able to solve: While different methods usually work fine for particular forms of parallelization, none of these procedures fits all.
“Even if we were to construct a kind of translator application that has mastered every single technique ever devised and tested, we would still be lacking the type of cost model that can determine the best method in each case automatically,” Hack continues. With their integrative technique, they therefore try to gather as much information as possible in advance, and then collect additional information during the runtime of the program. This way, additional parallelization opportunities can be exposed and the program can “learn” which parallelization method works best.
Sambamba works well for programs written in languages that are widespread in practice but hard to analyze, like C++. But the more complex a program is, the more important the analysis at runtime becomes, independent of the language. “Sambamba can parallelize code entirely automatically. But in some cases, developers might want to verify different options, or choose one themselves. So our system can also communicate with the user and make suggestions on how to parallelize the code,” Zeller explains. At the upcoming CeBIT computer fair, the researchers will be presenting the programming environment they designed around Sambamba, in which developers can additionally get direct support on parallelization issues.
Computer science and informatics at Saarland University
The Department of Computer Science forms the core of the informatics landscape at Saarland University. A further seven internationally renowned research institutes are located in the immediate vicinity on campus. As well as the two Max Planck Institutes for Informatics and for Software Systems, the Saarbrücken campus is also home to the German Research Center for Artificial Intelligence, the Intel Visual Computing Institute, the Center for IT Security, Privacy and Accountability (CISPA) and the Cluster of Excellence ‘Multimodal Computing and Interaction’.
A short video is available here: http://www.sambamba.org/
Professor Andreas Zeller
Computer Science Department, Saarland University
Phone: +49 681 302-70791
Professor Sebastian Hack
Computer Science Department, Saarland University
Phone: +49 681 302-71
Competence Center Computer Science Saarland
Phone: +49 681 302-70741
Note for radio journalists: Phone interviews with Saarland University scientists can be conducted in studio quality using the Radio Codec (via direct-dial IP connection, or the ARD Sternpunkt 106813020001). Interview requests can be made via our press department (+49 681 302-2601).
Melanie Löw | Universität des Saarlandes
AchemAsia 2019 will take place in Shanghai
15.06.2018 | DECHEMA Gesellschaft für Chemische Technik und Biotechnologie e.V.
Insects supply chitin as a raw material for the textile industry
05.06.2018 | Fraunhofer-Institut für Grenzflächen- und Bioverfahrenstechnik IGB
A new manufacturing technique uses a process similar to newspaper printing to form smoother and more flexible metals for making ultrafast electronic devices.
The low-cost process, developed by Purdue University researchers, combines tools already used in industry for manufacturing metals on a large scale, but uses...
For the first time ever, scientists have determined the cosmic origin of highest-energy neutrinos. A research group led by IceCube scientist Elisa Resconi, spokesperson of the Collaborative Research Center SFB1258 at the Technical University of Munich (TUM), provides an important piece of evidence that the particles detected by the IceCube neutrino telescope at the South Pole originate from a galaxy four billion light-years away from Earth.
To rule out other origins with certainty, the team led by neutrino physicist Elisa Resconi from the Technical University of Munich and multi-wavelength...
For the first time a team of researchers have discovered two different phases of magnetic skyrmions in a single material. Physicists of the Technical Universities of Munich and Dresden and the University of Cologne can now better study and understand the properties of these magnetic structures, which are important for both basic research and applications.
Whirlpools are an everyday experience in a bath tub: When the water is drained a circular vortex is formed. Typically, such whirls are rather stable. Similar...
Physicists working with Roland Wester at the University of Innsbruck have investigated if and how chemical reactions can be influenced by targeted vibrational excitation of the reactants. They were able to demonstrate that excitation with a laser beam does not affect the efficiency of a chemical exchange reaction and that the excited molecular group acts only as a spectator in the reaction.
A frequently used reaction in organic chemistry is nucleophilic substitution. It plays, for example, an important role in in the synthesis of new chemical...
Optical spectroscopy allows investigating the energy structure and dynamic properties of complex quantum systems. Researchers from the University of Würzburg present two new approaches of coherent two-dimensional spectroscopy.
"Put an excitation into the system and observe how it evolves." According to physicist Professor Tobias Brixner, this is the credo of optical spectroscopy....
13.07.2018 | Event News
12.07.2018 | Event News
03.07.2018 | Event News
20.07.2018 | Power and Electrical Engineering
20.07.2018 | Information Technology
20.07.2018 | Materials Sciences