(Press-News.org) CAMBRIDGE, Mass-- In today's computers, moving data to and from main memory consumes so much time and energy that microprocessors have their own small, high-speed memory banks, known as "caches," which store frequently used data. Traditionally, managing the caches has required fairly simple algorithms that can be hard-wired into the chips.
In the 21st century, however, in order to meet consumers' expectations for steadily increasing computational power, chipmakers have had to begin equipping their chips with more and more cores, or processing units. And as cores proliferate, cache management becomes much more difficult.
Daniel Sanchez, an assistant professor in MIT's Department of Electrical Engineering and Computer Science, believes that it's time to turn cache management over to software. This week, at the International Conference on Parallel Architectures and Compilation Techniques, Sanchez and his student Nathan Beckmann presented a new system, dubbed Jigsaw, that monitors the computations being performed by a multicore chip and manages cache memory accordingly.
In experiments simulating the execution of hundreds of applications on 16- and 64-core chips, Sanchez and Beckmann found that Jigsaw could speed up execution by an average of 18 percent — with more than twofold improvements in some cases — while actually reducing energy consumption by as much as 72 percent. And Sanchez believes that the performance improvements offered by Jigsaw should only increase as the number of cores does.
Location, location, location
In most multicore chips, each core has several small, private caches. But there's also what's known as a last-level cache, which is shared by all the cores. "That cache is on the order of 40 to 60 percent of the chip," Sanchez says. "It is a significant fraction of the area because it's so crucial to performance. If we didn't have that cache, some applications would be an order of magnitude slower."
Physically, the last-level cache is broken into separate memory banks and distributed across the chip; for any given core, accessing the nearest bank takes less time and consumes less energy than accessing those farther away. But because the last-level cache is shared by all the cores, most chips assign data to the banks randomly.
Jigsaw, by contrast, monitors which cores are accessing which data most frequently and, on the fly, calculates the most efficient assignment of data to cache banks. For instance, data being used exclusively by a single core is stored near that core, whereas data that all the cores are accessing with equal frequency is stored near the center of the chip, minimizing the average distance it has to travel.
Jigsaw also varies the amount of cache space allocated to each type of data, depending on how it's accessed. Data that is reused frequently receives more space than data that is accessed infrequently or only once.
In principle, optimizing cache space allocations requires evaluating how the chip as a whole will perform given every possible allocation of cache space to all the computations being performed on all the cores. That calculation would be prohibitively time-consuming, but by ignoring some particularly convoluted scenarios that are extremely unlikely to arise in practice, Sanchez and Beckmann were able to develop an approximate optimization algorithm that runs efficiently even as the number of cores and the different types of data increases dramatically.
Quick study
Of course, since the optimization is based on Jigsaw's observations of the chip's activity, "it's the optimal thing to do assuming that the programs will behave in the next 20 milliseconds the way they did in the last 20 milliseconds," Sanchez says. "But there's very strong experimental evidence that programs typically have stable phases of hundreds of milliseconds, or even seconds."
Sanchez also points out that the new paper represents simply his group's "first cut" at turning cache management over to software. Going forward, they will be investigating, among other things, the co-design of hardware and software to improve efficiency even further and the possibility of allowing programmers themselves to classify data according to their memory-access patterns, so that Jigsaw doesn't have to rely entirely on observation to evaluate memory allocation.
###
Written by Larry Hardesty, MIT News Office
Software may be able to take over from hardware in managing caches
MIT research shows that it may be time to let software, rather than hardware, manage the high-speed on-chip memory banks known as 'caches'
2013-09-13
ELSE PRESS RELEASES FROM THIS DATE:
NASA satellite sees 2 vortices circling newborn Tropical Storm Man-yi's center
2013-09-13
NASA's Terra satellite passed over newborn Tropical Storm Man-yi and captured and image that clearly showed two vortices rotating around a large center of circulation. Man-yi formed on Sept. 12 in the northwestern Pacific Ocean as the sixteenth tropical depression and by Sept. 13 it strengthened into a tropical storm.
When NASA's Terra satellite passed over newborn Tropical Storm Man-yi in the northwestern Pacific Ocean on Sept. 13 at 01:15 UTC, the Moderate Resolution Imaging Spectroradiometer or MODIS instrument captured a visible image of the storm. The MODIS image ...
Catalysts team up with textiles
2013-09-13
This news release is available in German.
In future, it will be much easier to produce some active pharmaceutical substances and chemical compounds than was the case to date. An international team working with chemists from the Max-Planck-Institut für Kohlenforschung in Mülheim an der Ruhr have immobilised various catalysts on nylon in a very simple way. Catalysts mediate between the reagents in a chemical reaction and control the process leading to the desired end product. When textile material is used as a support for the chemical auxiliaries, the reaction can ...
NIH clinical study establishes human model of influenza pathogenesis
2013-09-13
WHAT:
A National Institutes of Health (NIH) clinical study of healthy adult volunteers who consented to be infected with the 2009 H1N1 influenza virus under carefully controlled conditions has provided researchers with concrete information about the minimum dose of virus needed to produce mild-to-moderate illness. The study also gives a clearer picture of how much time elapses between a known time of infection, the start of viral shedding (a signal of contagiousness), the development of an immune response, and the onset and duration of influenza symptoms. The data obtained ...
The '50-50' chip: Memory device of the future?
2013-09-13
WASHINGTON, D.C. Sept. 13, 2013 -- A new, environmentally-friendly electronic alloy consisting of 50 aluminum atoms bound to 50 atoms of antimony may be promising for building next-generation "phase-change" memory devices, which may be the data-storage technology of the future, according to a new paper published in the journal Applied Physics Letters, which is produced by AIP Publishing.
Phase-change memory is being actively pursued as an alternative to the ubiquitous flash memory for data storage applications, because flash memory is limited in its storage density and ...
NASA sees southwesterly wind shear weakened hurricane Humberto
2013-09-13
Southwesterly wind shear has taken its toll on hurricane Humberto, and NASA's TRMM satellite noticed that in rainfall data.
When NASA's Tropical Rainfall Measuring Mission or TRMM satellite passed over Hurricane Humberto on September 12, 2013 at 1625 UTC/12:25 p.m. EDT the eye was no longer visible. An analysis derived from
TRMM Microwave Imager (TMI) and Precipitation Radar (PR) data showed that most of the precipitation with Humberto was located in the northwestern quadrant, pushed there by the strong southwesterly wind shear.
TRMM found that the most intense rain ...
To touch the microcosmos
2013-09-13
WASHINGTON, D.C. Sept. 13, 2013 -- What if you could reach through a microscope to touch and feel the microscopic structures under the lens? In a breakthrough that may usher in a new era in the exploration of the worlds that are a million times smaller than human beings, researchers at Université Pierre et Marie Curie in France have unveiled a new technique that allows microscope users to manipulate samples using a technology known as "haptic optical tweezers."
Featured in the journal Review of Scientific Instruments, which is produced by AIP Publishing, the new technique ...
Diets low in polyunsaturated fatty acids may be a problem for youngsters
2013-09-13
In the first study to closely examine the polyunsaturated fatty acid (PUFA) intake among U.S. children under the age of 5, Sarah Keim, PhD, principal investigator in the Center for Biobehavioral Health at The Research Institute at Nationwide Children's Hospital, has found what might be a troubling deficit in the diet of many youngsters. The study, published online today by Maternal and Child Nutrition, used data on nearly 2500 children age 12 to 60 months from the U.S. National Health and Nutrition Examination Survey.
PUFAs are essential to human health. A proper ratio ...
Immune to aging
2013-09-13
This news release is available in German.
While ageing remains an inevitable fact of life, Max Planck researchers have discovered a microbe that stays forever young by rejuvenating every time it reproduces. The findings, published in Current Biology, provide fundamental insights into the mechanisms of aging.
In general, even symmetrically dividing microbes do not split into two exactly identical halves. Detailed investigations revealed that there are mechanisms in place that ensure that one half receives older, often defective, cell material, whereas the other ...
Novelty of eco-friendly bamboo garments lures consumers -- if the price is right, Baylor study shows
2013-09-13
Consumers who plan to buy eco-friendly bamboo apparel are attracted if the price is right, but their next consideration is the novelty of the product, according to a new study by Baylor University researchers.
Bamboo has been championed by many as friendly to the environment, although the Federal Trade Commission issued a 2009 consumer alert noting that some pollutants are released in production from bamboo stalks.
When it comes to product consumption in general, consumers are influenced by emotion, price, functionality, social image and curiosity, said lead researcher ...
UNC research points to promising treatment for macular degeneration
2013-09-13
CHAPEL HILL, N.C. – Researchers at the University of North Carolina School of Medicine have published new findings in the hunt for a better treatment for macular degeneration. In studies using mice, a class of drugs known as MDM2 inhibitors proved highly effective at regressing the abnormal blood vessels responsible for the vision loss associated with the disease.
"We believe we may have found an optimized treatment for macular degeneration," said senior study author Sai Chavala, MD, director of the Laboratory for Retinal Rehabilitation and assistant professor of Ophthalmology ...
LAST 30 PRESS RELEASES:
Late-breaking study finds comparable long-term survival between two leading multi-arterial CABG strategies
Lymph node examination should be expanded to accurately assess cancer spread in patients with lung cancer
Study examines prediction of surgical risk in growing population of adults with congenital heart disease
Novel radiation therapy QA method: Monte Carlo simulation meets deep learning for fast, accurate epid transmission dose generation
A 100-fold leap into the unknown: a new search for muonium conversion into antimuonium
A new approach to chiral α-amino acid synthesis - photo-driven nitrogen heterocyclic carbene catalyzed highly enantioselective radical α-amino esterification
Physics-defying discovery sheds new light on how cells move
Institute for Data Science in Oncology announces new focus-area lead for advancing data science to reduce public cancer burden
Mapping the urban breath
Waste neem seeds become high-performance heat batteries for clean energy storage
Scientists map the “physical genome” of biochar to guide next generation carbon materials
Mobile ‘endoscopy on wheels’ brings lifesaving GI care to rural South Africa
Taming tumor chaos: Brown University Health researchers uncover key to improving glioblastoma treatment
Researchers enable microorganisms to build molecules with light
Laws to keep guns away from distressed individuals reduce suicides
Study shows how local business benefits from city services
RNA therapy may be a solution for infant hydrocephalus
Global Virus Network statement on Nipah virus outbreak
A new molecular atlas of tau enables precision diagnostics and drug targeting across neurodegenerative diseases
Trends in US live births by race and ethnicity, 2016-2024
Sex and all-cause mortality in the US, 1999 to 2019
Nasal vaccine combats bird flu infection in rodents
Sepsis study IDs simple ways to save lives in Africa
“Go Red. Shop with Heart.” to save women’s lives and support heart health this February
Korea University College of Medicine successfully concludes the 2025 Lee Jong-Wook Fellowship on Infectious Disease Specialists Program
Girls are happiest at school – for good reasons
Researchers from the University of Maryland School of Medicine discover genetic ancestry is a critical component of assessing head and neck cancerous tumors
Can desert sand be used to build houses and roads?
New species of ladybird beetle discovered on Kyushu University campus
Study identifies alternate path for inflammation that could improve RA treatment
[Press-News.org] Software may be able to take over from hardware in managing cachesMIT research shows that it may be time to let software, rather than hardware, manage the high-speed on-chip memory banks known as 'caches'