Sunday, 15 September 2013
On 20:40 by Asveth Sreiram No comments
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.
"More and more of our computation is happening in data centers," say Jason Mars, an assistant professor of computer science at the University of Michigan. "In the data-center space, it's going to be very important to be able to have the microarchitecture partition and allocate resources on an application-by-application basis."
"When you have multiple applications that are running inside a single box," he explains, "there's a point of interference where jobs can hurt the performance of each other. With current commodity hardware, there are a limited number of mechanisms we have to manage how jobs hurt each other."
Mars cautions that a system like Jigsaw dispenses with a layer of abstraction between chip hardware and the software running on it. "Companies like Intel, once they expose the microarchitectural configurations through the software layer, they have to keep that interface over future generations of the processor," Mars says. "So if Intel wanted to do something audacious with the microarchitecture to make a big change, they'll have to keep that legacy support around, which can limit the design options they can explore."
"However," he adds, "the techniques in Jigsaw seem very practical, and I could see some variant of this hardware-software interface being adopted in future designs. It's a pretty compelling approach, actually."
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
A team of scientists using NASA's Hubble Space Telescope has made the most detailed global map yet of the glow from a planet orbiti...
-
Aug. 29, 2013 — The age at which children learn a second language can have a significant bearing on the structure of their adult brain, ...
-
Nov. 2, 2013 — It doesn't take a Watson to realize that even the world's best supercomputers are staggeringly inefficient and ene...
-
Oct. 3, 2013 — Scientists have revealed nearly 100 genetic variants implicated in the development of cancers such as breast cancer and pr...
-
Nov. 1, 2013 — It was once thought that each cell in a person's body possesses the same DNA code and that the particular way the geno...
-
Oct. 30, 2013 — Video gaming causes increases in the brain regions responsible for spatial orientation, memory formation and strategic pl...
-
What you'll need: A plastic comb (or an inflated balloon) A narrow stream of water from a tap Dry hair Instructions: Tu...
-
Aug. 26, 2013 — Where did the Chelyabinsk meteorite come from? As a meteoroid, it either collided with another body in the solar system ...
-
Dec. 13, 2013 — South Pole Telescope scientists have detected for the first time a subtle distortion in the oldest light in the universe,...
-
This image shows two of the galaxy clusters Aug. 1, 2013 — Our universe is filled with gobs of galaxies, bound together by gravity...
Recent Posts
Sample Text
Blog Archive
-
▼
2013
(421)
-
▼
September
(151)
- Ancient Soils Reveal Clues to Early Life On Earth
- Engineers Build Computer Using Carbon Nanotube Tec...
- 'Jekyll and Hyde' Star Morphs from Radio to X-Ray ...
- Oldest Lizard-Like Fossil Yet to Be Found Hints at...
- Enormous Catalog of More Than 300,000 Nearby Galaxies
- World Record Solar Cell With 44.7% Efficiency
- Math Explains History: Simulation Accurately Captu...
- Scientists Closer to Universal Flu Vaccine After P...
- Chasing the 'Black Holes' of the Ocean
- Optical Properties of a Novel Kind of Magnetism Pr...
- NASA Curiosity Rover Detects No Methane On Mars
- Formation of Unusual Ring of Radiation Around Eart...
- Novel Gene Discovery Could Lead to New HIV Treatments
- Beyond Quantum Simulation: Physicists Create 'Crys...
- Stem Cell Reprogramming Made Easier
- Four New Species of 'Legless Lizards' Discovered L...
- Clues to Growth of Colossus in Coma Cluster of Gal...
- Scientists Reveal How Beta-Amyloid May Cause Alzhe...
- Seismologists Puzzle Over Largest Deep Earthquake ...
- Giant Prehistoric Elephant Slaughtered by Early Hu...
- Earth Expected to Be Habitable for Another 1.75 Bi...
- Toxoplasma Infection Permanently Shifts Balance in...
- Coma: Researchers Observe Never-Before-Detected Br...
- Controlling Wettability: 'Sticky Tape' for Water D...
- Uncovering Cancer's Inner Workings by Capturing Li...
- Hubble Catches a Spiral in the Air Pump
- Death and Disability from Air Pollution Down 35 Pe...
- Dinosaur Wind Tunnel Test Provides New Insight Int...
- Algorithm Finds Missing Phytoplankton in Southern ...
- Wetlands More Cost-Effective in Nutrient Removal, ...
- Environmental Complexity Promotes Biodiversity
- Heavily Logged Forests Still Valuable for Tropical...
- Model of Dangerous Bee Disease in Jersey Provides ...
- Wide-Faced Men Make Others Act Selfishly
- Who Was Eating Salmon 45,000 Years Ago in the Cauc...
- Stronger Winds May Explain Puzzling Growth of Sea ...
- Human Activity Affects Vertical Structure of Atmos...
- Video Games Improve Your Motion Perception, but On...
- Extremely Potent, Improved Derivatives of Successf...
- Invention Jet Prints Nanostructures With Self-Asse...
- Get Ready for Rosetta's Wake-Up Call With Activity...
- Balloon-Borne Astronomy Experiment X-Calibur Racin...
- Fireballs in Jupiter's Atmosphere Observed by Amat...
- New Catalyzer to Avoid Environmental Pollution fro...
- Harnessing the Sun's Energy With Tiny Particles
- New Technology for Bioseparation
- Off-Hour Truck Deliveries in Manhattan Reduce Traf...
- Machine Learning Used to Boil Down the Stories Tha...
- Snake Robot On Mars?
- iPad App Teaches Students Key Skill for Success in...
- When Technology Merges With Healthcare: Mobile Dia...
- Speeding Up Cancer Diagnosis During Surgery
- Smartphone 'Microscope' Can Detect a Single Virus,...
- Energy from Tides and Currents: Best Arrangement o...
- Clean Energy Least Costly to Power America's Elect...
- Researchers Study Ways to Make Stronger Materials ...
- Weak Charge of Proton Determined for First Time
- Biologists Develop New Method for Discovering Anti...
- How Birds Got Their Wings: Fossil Data Show Scalin...
- Scientists Use 'Wired Microbes' to Generate Electr...
- Light Steered in New Directions: 2-D Material Coul...
- How and Where Imagination Occurs in Human Brains
- Feeling Small: Fingers Can Detect Nano-Scale Wrink...
- Magnetic Jet Shows How Stars Begin Their Final Tra...
- Time Is in the Eye of the Beholder: Time Perceptio...
- Quantum Entanglement Only Dependent Upon Area
- Achilles' Heel of Ice Shelves Is Beneath the Water...
- Spider Silk Coated With Carbon Nanotubes Has Multi...
- Catastrophic Collapse of Ice Lake Created Aram Cha...
- Changes in Saturn's Moon Titan’s Surface Brightnes...
- Super Efficient Combustion Engine Emits Half the C...
- To Touch the Microcosmos: New Haptic Microscope Te...
- 'Terminator' Polymer: Self-Healing Polymer That Sp...
- Low Omega-3 Could Explain Why Some Children Strugg...
- Tiny Plankton Could Have Big Impact On Climate: CO...
- Get Touchy Feely With Plants: Gently Rubbing Them ...
- Viruses Associated With Coral Epidemic of 'White P...
- Scientists Discover Cosmic Factory for Making Buil...
- Biochemists Resurrect 'Molecular Fossils': Finding...
- Simple Textiles Can Be Used With Catalysts to Enab...
- The '50-50' Chip: Memory Device of the Future? Mat...
- Scientists Achieve Highest Open-Circuit Voltage fo...
- Software May Be Able to Take Over from Hardware in...
- Dogs' Behavior Could Help Design Social Robots
- Insights Into Evolution of Life On Earth from One ...
- Take a Virtual Tour of Vesta With New High Resolut...
- Cilantro, That Favorite Salsa Ingredient, Purifies...
- Functioning 'Mechanical Gears' Seen in Nature for ...
- Genes Linked to Being Right Or Left-Handed Identified
- NASA's Voyager 1 Spacecraft Embarks On Historic Jo...
- Darwin's Dilemma Resolved: Evolution's 'Big Bang' ...
- Hubble Uncovers Largest Known Population of Star C...
- The Inside of the Milky Way Galaxy in 3-D
- Orangutans Plan Their Future Route and Communicate...
- The Final Nail in the Jurassic Park Coffin? Next G...
- Paleorivers Across Sahara May Have Supported Ancie...
- Quantum Temperature: Scientists Study the Physics ...
- New 'Artificial Nose' Device Can Speed Diagnosis o...
- Extreme Life Forms: Life Found in the Sediments of...
- Possibility of Selectively Erasing Unwanted Memories
-
▼
September
(151)
0 comments:
Post a Comment