Feeds

Intel demos real-time code compression for die shrinkage, power saving

'Direct Compressed Execution' to boost affordability of 'Internet of Things'

  • alert
  • submit to reddit

Internet Security Threat Report 2014

Research@Intel Intel researchers have developed a way to make the increasingly tiny processors needed to power the impending "Internet of Things" even tinier: compress the code running on them.

"We compress the code, make it smaller, and save area and power of integrated on-die memory," Intel Labs senior reseacher Sergey Kochuguev from ZAO Intel A/O in St. Petersburg, Russia, told The Reg at Tuesday's Research@Intel shindig in San Francisco.

The FPGA research die that Kochuguev demoed used a dedicated hardware compression-decompression unit of a mere 20,000 gates that sits on the die between the compute core and on-die memory. The process happens dynamically in real time, and is transparent to the core.

You might reasonably ask what level of latency would be introduced in such a scheme, but Kochuguev told us that it was low enough to make the power and die-size benefits worthwhile: less than 5 per cent as measured by industry-standard EEMBC benchmarks.

The compression unit was able to shrink the code size by around one-third on average, he said, which in most implementations saves far more memory real estate than the 20,000 gates needed for the compression/decompression unit. Kochuguev also emphasized that the unit's size and cost would be constant across different implementations, and would require only three microwatts per megahertz of processing power.

Slide from Direct Compressed Execution demo at Research@Intel 2013

Compress the code and you shrink the die required to house it and save power

Memory mapping, as you might assume, is handled by the compression/decompression unit, and the compression dictionary is hardwired into the unit, as well. "An address-resolution table is built for each binary individually," Kochuguev said, "and it sits next to the compressed-code image. We include its costs into our estimations of code-compression ratio, of course."

Of course.

Kochuguev showed us a code dump before and after compression, and it was easy to see, for example, how strings of zeros in the uncompressed code were stripped out in the compressed code, significantly reducing its byte count. And when he ran the code in both uncompressed and compressed form, the execution time difference was less than 5 per cent.

The prototype that he was demonstrating was a single-core setup, but Kochuguev said that there would be no reason why the design couldn't be extended to multicore architectures, "But we didn't assess that situation."

As microcontrollers begin to appear in some of the "IoT" devices that Intel was showing off or discussing in other Research@Intel demos – intelligent drapes, coffee machines, toothbrushes, baby monitors, stereos, alarm clocks, supermarket shelves, air-quality sensors, and more – even small savings in die size and power consumption could certainly add up fast.

How fast? Intel estimates that there will be 50 billion connected devices worldwide by 2020. ®

Providing a secure and efficient Helpdesk

More from The Register

next story
Don't wait for that big iPad, order a NEXUS 9 instead, industry little bird says
Google said to debut next big slab, Android L ahead of Apple event
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
A drone of one's own: Reg buyers' guide for UAV fanciers
Hardware: Check. Software: Huh? Licence: Licence...?
Jaguar Sportbrake: The chicken tikka masala of van-sized posh cars
Indian-owned Jag's latest offering curries favour with us
Apple SILENCES Bose, YANKS headphones from stores
The, er, Beats go on after noise-cancelling spat
The Apple launch AS IT HAPPENED: Totally SERIOUS coverage, not for haters
Fandroids, Windows Phone fringe-oids – you wouldn't understand
Here's your chance to buy an ancient, working APPLE ONE
Warning: Likely to cost a lot even for a Mac
Xiaomi boss snaps back at Jony Ive's iPhone rival 'theft' swipe
I'll have a handset delivered. Judge us after you try us...
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.