Skip to content

Instantly share code, notes, and snippets.

@matoken
Created October 24, 2014 18:58
Show Gist options
  • Save matoken/113921d37a0180a71bed to your computer and use it in GitHub Desktop.
Save matoken/113921d37a0180a71bed to your computer and use it in GitHub Desktop.
% sudo powertop --calibrate
Loaded 750 prior measurements
RAPL device for cpu 0
RAPL device for cpu 0
RAPL device for cpu 0
Starting PowerTOP power estimate calibration
Calibrating idle
unknown op '{'
Calibrating: disk usage
Calibrating backlight
.... device /sys/class/backlight/intel_backlight/brightness
.... device /sys/class/backlight/acpi_video0/brightness
Calibrating idle
Calibrating: CPU usage on 1 threads
Calibrating: CPU usage on 4 threads
Calibrating: CPU wakeup power consumption
Calibrating: CPU wakeup power consumption
Calibrating: CPU wakeup power consumption
Calibrating USB devices
.... device /sys/bus/usb/devices/1-1/power/control
.... device /sys/bus/usb/devices/2-1/power/control
.... device /sys/bus/usb/devices/usb1/power/control
.... device /sys/bus/usb/devices/usb2/power/control
.... device /sys/bus/usb/devices/1-1.2/power/control
.... device /sys/bus/usb/devices/1-1.3/power/control
.... device /sys/bus/usb/devices/2-1.1/power/control
.... device /sys/bus/usb/devices/2-1.3/power/control
.... device /sys/bus/usb/devices/2-1.4/power/control
Calibrating radio devices
.... device /sys/class/rfkill/rfkill0/soft
.... device /sys/class/rfkill/rfkill1/soft
.... device /sys/class/rfkill/rfkill0/soft
.... device /sys/class/rfkill/rfkill1/soft
Finishing PowerTOP power estimate calibration
Parameters after calibration:
Parameter state
----------------------------------
Value Name
0.00 alsa-codec-power (2)
0.00 backlight (3)
0.00 backlight-boost-100 (4)
6.01 backlight-boost-40 (5)
0.00 backlight-boost-80 (6)
0.00 backlight-power (7)
21.32 base power (8)
0.00 bnep0-link-100 (9)
0.00 bnep0-link-1000 (10)
0.00 bnep0-link-high (11)
0.00 bnep0-packets (12)
0.00 bnep0-powerunsave (13)
0.00 bnep0-up (14)
6.24 cpu-consumption (15)
14.11 cpu-wakeups (16)
0.00 disk-operations (17)
0.00 disk-operations-hard (18)
0.00 docker0-link-100 (19)
0.00 docker0-link-1000 (20)
0.00 docker0-link-high (21)
0.00 docker0-packets (22)
0.00 docker0-powerunsave (23)
0.00 docker0-up (24)
0.00 eth0-link-100 (25)
0.00 eth0-link-1000 (26)
0.00 eth0-link-high (27)
0.00 eth0-packets (28)
0.00 eth0-powerunsave (29)
0.00 eth0-up (30)
0.00 eth1-link-100 (31)
0.00 eth1-link-1000 (32)
0.00 eth1-link-high (33)
0.00 eth1-packets (34)
0.00 eth1-powerunsave (35)
0.00 eth1-up (36)
0.00 gpu-operations (37)
0.00 radio:hci0 (38)
17.70 radio:phy0 (39)
0.00 radio:tpacpi_bluetooth_sw (40)
0.00 radio:tpacpi_wwan_sw (41)
0.00 runtime-0000:00:00.0 (42)
0.00 runtime-0000:00:02.0 (43)
0.00 runtime-0000:00:16.0 (44)
0.00 runtime-0000:00:16.3 (45)
0.00 runtime-0000:00:19.0 (46)
0.00 runtime-0000:00:1a.0 (47)
0.00 runtime-0000:00:1b.0 (48)
0.00 runtime-0000:00:1c.0 (49)
0.00 runtime-0000:00:1c.1 (50)
0.00 runtime-0000:00:1c.3 (51)
0.00 runtime-0000:00:1c.4 (52)
0.00 runtime-0000:00:1d.0 (53)
0.00 runtime-0000:00:1e.0 (54)
0.00 runtime-0000:00:1f.0 (55)
0.00 runtime-0000:00:1f.2 (56)
0.00 runtime-0000:00:1f.3 (57)
0.00 runtime-0000:00:1f.6 (58)
0.00 runtime-0000:02:00.0 (59)
0.00 runtime-0000:03:00.0 (60)
0.00 runtime-0000:05:00.0 (61)
0.00 runtime-0000:0d:00.0 (62)
0.00 runtime-0000:ff:00.0 (63)
0.00 runtime-0000:ff:00.1 (64)
0.00 runtime-0000:ff:02.0 (65)
0.00 runtime-0000:ff:02.1 (66)
0.00 runtime-0000:ff:02.2 (67)
0.00 runtime-0000:ff:02.3 (68)
0.00 thinkpad-fan (69)
0.00 thinkpad-fan-cub (70)
0.00 thinkpad-fan-sqr (71)
0.00 thinkpad-light (72)
0.00 usb-device-046a-0011 (73)
0.00 usb-device-046d-0825 (74)
0.00 usb-device-046d-0a29 (75)
0.00 usb-device-046d-c510 (76)
0.00 usb-device-0482-0568 (77)
0.00 usb-device-04d9-2011 (78)
0.00 usb-device-04f2-b217 (79)
0.00 usb-device-056e-6009 (80)
0.10 usb-device-05c6-9204 (81)
0.00 usb-device-0a12-0001 (82)
0.00 usb-device-0a5c-21e6 (83)
0.00 usb-device-0bda-0119 (84)
0.00 usb-device-0bda-0159 (85)
0.10 usb-device-147e-2016 (86)
0.00 usb-device-174c-55aa (87)
0.00 usb-device-17ef-100a (88)
0.00 usb-device-18d1-0001 (89)
0.10 usb-device-18d1-4ee4 (90)
0.00 usb-device-1d6b-0002 (91)
0.00 usb-device-1d6b-0003 (92)
0.10 usb-device-8086-0187 (93)
0.00 usb-device-8087-0020 (94)
0.00 usb-device-8087-0024 (95)
0.00 usb0-link-100 (96)
0.00 usb0-link-1000 (97)
0.00 usb0-link-high (98)
0.00 usb0-packets (99)
0.00 usb0-powerunsave (100)
0.10 usb0-up (101)
0.00 vboxnet0-link-100 (102)
0.00 vboxnet0-link-1000 (103)
0.00 vboxnet0-link-high (104)
0.00 vboxnet0-packets (105)
0.00 vboxnet0-powerunsave (106)
0.00 vboxnet0-up (107)
0.00 vboxnet1-link-100 (108)
0.00 vboxnet1-link-1000 (109)
0.00 vboxnet1-link-high (110)
0.00 vboxnet1-packets (111)
0.00 vboxnet1-powerunsave (112)
0.00 vboxnet1-up (113)
0.00 wlan0-link-100 (114)
0.00 wlan0-link-1000 (115)
0.00 wlan0-link-high (116)
0.00 wlan0-packets (117)
0.00 wlan0-powerunsave (118)
0.00 wlan0-up (119)
0.00 wlan8-link-100 (120)
0.00 wlan8-link-1000 (121)
0.00 wlan8-link-high (122)
0.00 wlan8-packets (123)
0.00 wlan8-powerunsave (124)
0.00 wlan8-up (125)
0.00 xwakes (126)
Score: 4.1 (250961.7)
Guess: 21.3
Actual: 20.0
----------------------------------
Leaving PowerTOP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment