Excessive power consumption (regression)
d4360736a7c0a6326e3bbdf7d41181f6ed03d9a6 is the first bad commit commit d4360736a7c0a6326e3bbdf7d41181f6ed03d9a6 Author: Imre Deak imre.deak@intel.com Date: Mon Jul 9 18:24:27 2018 +0300
Reproducer:
#include <unistd.h>
int main (int argc, char ** __attribute ((unused)) argv) { for (;;) { sleep (3); if (argc > 1) write (2, " ", 1); } }
Here in rxvt-unicode power consumption (observed via either a watt meter or RAPL) is the same with or without output to terminal prior to this commit and significatly worse with output after it.
.config: http://ix.io/256k
hardware: 00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 655 (rev 01) (prog-if 00 [VGA controller]) DeviceName: CPU Subsystem: Intel Corporation Iris Plus Graphics 655 Flags: bus master, fast devsel, latency 0, IRQ 123 [virtual] Memory at 6000000000 (64-bit, non-prefetchable) [size=16M] [virtual] Memory at 4000000000 (64-bit, prefetchable) [size=256M] I/O ports at 3000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: Kernel driver in use: i915
Intel NUC8I3BEH basically.