Researchers free up more bandwidth by compressing “objects” within the memory hierarchy
A novel technique developed by MIT researchers rethinks hardware data compression to free up more memory used by computers and mobile devices, allowing them to run faster and perform more tasks simultaneously.
Data compression leverages redundant data to free up storage capacity, boost computing speeds, and provide other perks. In current computer systems, accessing main memory is very expensive compared to actual computation. Because of this, using data compression in the memory helps improve performance, as it reduces the frequency and amount of data programs need to fetch from main memory.
Memory in modern computers manages and transfers data in fixed-size chunks, on which traditional compression techniques must operate. Software, however, doesn’t naturally store its data in fixed-size chunks. Instead, it uses “objects,” data structures that contain various types of data and have variable sizes. Therefore, traditional hardware compression techniques handle objects poorly.
In a paper being presented at the ACM International Conference on Architectural Support for Programming Languages and Operating Systems this week, the MIT researchers describe the first approach to compress objects across the memory hierarchy. This reduces memory usage while improving performance and efficiency.
Programmers could benefit from this technique when programming in any modern programming language — such as Java, Python, and Go — that stores and manages data in objects, without changing their code. On their end, consumers would see computers that can run much faster or can run many more apps at the same speeds. Because each application consumes less memory, it runs faster, so a device can support more applications within its allotted memory.
In experiments using a modified Java virtual machine, the technique compressed twice as much data and reduced memory usage by half over traditional cache-based methods.
“The motivation was trying to come up with a new memory hierarchy that could do object-based compression, instead of cache-line compression, because that’s how most modern programming languages manage data,” says first author Po-An Tsai, a graduate student in the Computer Science and Artificial Intelligence Laboratory (CSAIL).
“All computer systems would benefit from this,” adds co-author Daniel Sanchez, a professor of computer science and electrical engineering, and a researcher at CSAIL. “Programs become faster because they stop being bottlenecked by memory bandwidth.”
The researchers built on their prior work that restructures the memory architecture to directly manipulate objects. Traditional architectures store data in blocks in a hierarchy of progressively larger and slower memories, called “caches.” Recently accessed blocks rise to the smaller, faster caches, while older blocks are moved to slower and larger caches, eventually ending back in main memory. While this organization is flexible, it is costly: To access memory, each cache needs to search for the address among its contents.
“Because the natural unit of data management in modern programming languages is objects, why not just make a memory hierarchy that deals with objects?” Sanchez says.
In a paper published last October, the researchers detailed a system called Hotpads, that stores entire objects, tightly packed into hierarchical levels, or “pads.” These levels reside entirely on efficient, on-chip, directly addressed memories — with no sophisticated searches required.
Programs then directly reference the location of all objects across the hierarchy of pads. Newly allocated and recently referenced objects, and the objects they point to, stay in the faster level. When the faster level fills, it runs an “eviction” process that keeps recently referenced objects but kicks down older objects to slower levels and recycles objects that are no longer useful, to free up space. Pointers are then updated in each object to point to the new locations of all moved objects. In this way, programs can access objects much more cheaply than searching through cache levels.
For their new work, the researchers designed a technique, called “Zippads,” that leverages the Hotpads architecture to compress objects. When objects first start at the faster level, they’re uncompressed. But when they’re evicted to slower levels, they’re all compressed. Pointers in all objects across levels then point to those compressed objects, which makes them easy to recall back to the faster levels and able to be stored more compactly than prior techniques.
A compression algorithm then leverages redundancy across objects efficiently. This technique uncovers more compression opportunities than previous techniques, which were limited to finding redundancy within each fixed-size block. The algorithm first picks a few representative objects as “base” objects. Then, in new objects, it only stores the different data between those objects and the representative base objects.
Brandon Lucia, an assistant professor of electrical and computer engineering at Carnegie Mellon University, praises the work for leveraging features of object-oriented programming languages to better compress memory. “Abstractions like object-oriented programming are added to a system to make programming simpler, but often introduce a cost in the performance or efficiency of the system,” he says. “The interesting thing about this work is that it uses the existing object abstraction as a way of making memory compression more effective, in turn making the system faster and more efficient with novel computer architecture features.”
The Latest on: Data compression
via Google News
The Latest on: Data compression
- Computational storage: University of Edinburgh - Antonio Barbalace at the CSD coalfaceon June 2, 2021 at 1:11 am
The latest trends in software development from the Computer Weekly Application Developer Network. As we have noted before, computational storage enables a software and hardware system to offload ...
- Lossless data compression IP Listingon May 30, 2021 at 5:00 pm
The CCSDS-122-E encoder core from Alma Technologies is a complete and self-contained implementation of the CCSDS122.0-B-1 image data compression standard. The encoder accepts the uncompressed ... This ...
- Spotify and Apple Music will offer lossless audio. Here's what you need to know.on May 28, 2021 at 8:41 am
Read on. To understand the term, we need to go back to the MP3 format, which popularized lossy compression — that is, audio data compression that results in some data loss, but ideally ...
- Opera Max for Android starts saving data when you're on WiFion May 25, 2021 at 5:00 pm
Opera's data compression was originally meant to get the most out of thimble-sized cellular plans, but you'd probably agree that WiFi matters, too. After all, you've likely had that moment when ...
- Calamu Technologies raises $2.4M to advance data fragmentation platformon May 24, 2021 at 5:38 pm
The company has implemented data compression utilities to reduce the total cost of storage. Lewis noted that Calamu Protect also enables organizations to store data in a way that is difficult to ...
- Apple says HomePod and HomePod mini will get lossless audio support in the futureon May 24, 2021 at 12:57 pm
Now, in a new document on its website, Apple has revealed more details about lossless (a form of audio data compression that produces a perfect reconstruction of the original audio data), and ...
- Sony Working on Even Better PS5 Data Compressionon May 23, 2021 at 5:40 am
Following a report via ChipHell, however, sources are claiming that despite the system already featuring some data compression technology, Sony is looking to improve this significantly in the very ...
- PlayStation 5 Hits Game Data Compression Ratios the Xbox Doesn’t Touchon May 21, 2021 at 7:08 am
Sony’s compression technology offers another potential explanation. RAD Game Tools sells a suite of game data compression tools, collectively branded as Oodle. Some tools, like Oodle Kraken ...
- data compressionon May 21, 2021 at 6:33 am
Sony’s PlayStation 5 offers much smaller downloads for some games compared with the Xbox Series S|X. We dive into the compression technology behind the company’s achievements.
- NHK and Mitsubishi develop the first H.265 encoder for 8K videoon May 8, 2021 at 5:01 pm
HEVC is due to be recognized as an international standard this year. It offers about double the data compression of AVC2), and about four times that of the MPEG-2 standard currently employed for ...
via Bing News