Traditional programming has hit the power wall
April 13, 2011 // By Eric Verhulst and Bernhard Sputh
A recent article in EE-Times Europe states that computing has hit a power wall. Indeed, chip designers spoiled programmers in the past with ever increasing amount of compute cycles and memory space to waste. This has led to great new features, which we all would like to keep, however the way we program these hardware monsters has not really changed.
Yes compilers have become better in optimising code, but everything after has stayed the same. The linking phase of C / C++ programs is still largely a brute force operation, including everything the program might need and very often code that never will be executed. This leads to enormously bloated programs, that have to be:
- stored in non-volatile storage, and
- in the RAM of the system that execute them.
A simple Hello World might need a few Mbytes and links in 10000s of functions. While this is less of an issue in desktop type systems, due to them having ample of cheap (D)RAM available and reasonably sized caches, the latter is not true for embedded systems, which represent the ever growing bulk of computer driven systems on the planet.
Needing a lot of (D)RAM does not only cost money, but also energy, because (D)RAM needs to be continuously refreshed and operates often with 100s of wait states compared with the superfast GHz CPUs. Thus this becomes part of the power wall we are currently hitting. And to follow Moores law, the only way forward is more parallel processing cores on the same die, even if that doesnt increase the access speed to the external (D)RAM. In the end, chips are pin-bound. Performance is cache bound on such chips and therefore code size still matters.
However this is only a side line of the real problem that developers hit today, when trying to exploit the parallelism. First of all the approach used today with threading is a difficult to get right approach, due to the state-space exploding easily beyond what a single developer can keep in his head, and traditional testing cannot cope with this. The situation is worsened by the fact that most thread synchronisation mechanisms are hard to get right. However, there is good news.All news
Audi, BMW, Daimler drive open source measurement data management
July 28, 2014
To enable a correct interpretation and comparison of test data across the automotive industry, a number of carmakers and ...
A roadmap for cool and lossless lasers, with Bismuth
ST opens MEMS microphone test laboratory
Update yourself on anti-counterfeiting measures at Mouser
60 GHz startup targets mobile
Dual 13A or single 26A μModule regulator integrates digital power system management
July 25, 2014
Datacenters and server farms contain vast amounts of digital electronics, such as ASICs, FPGAs and CPUs. Powering, monitoring ...
What's that smell? An app for that soon, says Sensirion
GE phosphor powder creates more vibrant LED displays
Sensor manufacturer extends software capabilities
- THE RTOS AS THE ENGINE POWERING THE INTERNET OF THINGS
- Testing GPS with a Simulator
- DSM presents: Select the best plastic for DDR4
- Dual 13A μModule Regulator with Digital Interface for Remote Monitoring & Control of Power
InterviewCEO interview: China, not Apple, is way to go, says mCube CEO
Ben Lee, CEO of MEMS startup mCube, explains why he wants to spend $37 million on being a supplier of sensors to Chinese ODMs and avoiding a design win with Apple or Samsung.
Filter WizardCheck out the Filter Wizard Series of articles by Filter Guru Kendall Castor-Perry which provide invaluable practical Analog Design guidelines.
Linear video channel
READER OFFERRead more
This month, Altium Ltd is offering EETimes Europe's readers the chance to win one TASKING VX-Toolset for ARM Cortex-M Premium Edition, normally licensed for 2.395 Euros, for ultra-rapid prototyping and code development around ARM Cortex-M based microcontrollers.
The VX-toolset for ARM is the first TASKING compiler suite to receive the Software Platform technology, which is seamlessly...Read more
December 15, 2011 | Texas instruments | 222901974
Unique Ser/Des technology supports encrypted video and audio content with full duplex bi-directional control channel over a single wire interface.