4 ms·
Do you have reason to believe that by running code at twice the speed, the energy consumption will be higher? IMHO this will be absolutely compensated for by b
by ge0rg 13y ago
Do you have reason to believe that by running code at twice the speed, the energy consumption will be higher?
IMHO this will be absolutely compensated for by being able to switch into a low-power state earlier.
- Zigurd 13y agoI'd wager Hotspot's JIT would beat the pants off Dalvik's JIT, and make your battery hot while doing it. Dalvik's JIT is designed unlike other JITs: It is designed to JIT compile less code, but to find the code that has the highest impact. Dalvik's bytecode interpreter already gains what Google has claimed is a 2X improvement over interpreted Java bytecode. Before Android 2.3, that's how Android ran code.
- ge0rg 13y agoTo really run a CPU hot, you need to manually create a workload that utilizes all of the computation units (ALU, FPU, SIMD) interleaving assembler commands. This is nontrivial, and will not happen "by accident" when doing aggressive optimization. Have a look at the cpuburn program for one example.
- ibrahima 13y agoFor a mobile CPU, hot is a lot easier to achieve than on desktop/laptop.