PowerTOP v2.9 Overview Idle stats Frequency stats Device stats Tunables
>> Bad Enable SATA link power management for host2 Bad Enable SATA link power management for host3 Bad Enable SATA link power management for host0 Bad Enable SATA link power management for host1 Bad VM writeback timeout Bad Autosuspend for USB device Lenovo Wireless Optical Mouse N100 [1-2] Good Bluetooth device interface status Good Enable Audio codec power management Good NMI watchdog should be turned off Good Runtime PM for I2C Adapter i2c-7 (nvkm-0000:01:00.0-bus-0002) Good Autosuspend for unknown USB device 1-11 (8087:0a2b) Good Runtime PM for I2C Adapter i2c-3 (i915 gmbus dpd) Good Autosuspend for USB device Lenovo EasyCamera [160709000341] Good Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpc) Good Runtime PM for I2C Adapter i2c-12 (nvkm-0000:01:00.0-bus-0009) Good Autosuspend for USB device xHCI Host Controller [usb1] Good Runtime PM for I2C Adapter i2c-13 (nvkm-0000:01:00.0-aux-000a) Good Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpb) Good Runtime PM for I2C Adapter i2c-8 (nvkm-0000:01:00.0-bus-0005) Good Runtime PM for I2C Adapter i2c-15 (nvkm-0000:01:00.0-aux-000c) Good Runtime PM for I2C Adapter i2c-16 (nvkm-0000:01:00.0-aux-000d) Good Runtime PM for I2C Adapter i2c-5 (nvkm-0000:01:00.0-bus-0000) Good Runtime PM for I2C Adapter i2c-0 (SMBus I801 adapter at 6040) Good Runtime PM for I2C Adapter i2c-11 (nvkm-0000:01:00.0-bus-0008) Good Runtime PM for I2C Adapter i2c-14 (nvkm-0000:01:00.0-aux-000b) Good Autosuspend for USB device xHCI Host Controller [usb2] Good Runtime PM for I2C Adapter i2c-9 (nvkm-0000:01:00.0-bus-0006) Good Runtime PM for I2C Adapter i2c-10 (nvkm-0000:01:00.0-bus-0007) Good Runtime PM for I2C Adapter i2c-6 (nvkm-0000:01:00.0-bus-0001) Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller Good Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 Good Runtime PM for PCI Device Intel Corporation HD Graphics 530 Good Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 Good Runtime PM for PCI Device O2 Micro, Inc. SD/MMC Card Reader Controller Good Runtime PM for PCI Device Intel Corporation HM170 Chipset LPC/eSPI Controller Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 Good Runtime PM for PCI Device Samsung Electronics Co Ltd NVMe SSD Controller SM951/PM951 Good Runtime PM for PCI Device Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #2 Good Runtime PM for PCI Device Intel Corporation Wireless 8260 Good Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 Good Runtime PM for PCI Device Intel Corporation 100 Series/C230 Series Chipset Family SMBus Good Runtime PM for PCI Device NVIDIA Corporation GM107M [GeForce GTX 960M]
Exit | Toggle tunable | Window refresh
如何生成 PowerTop 的 HTML 报告
运行如下命令生成 PowerTop 的 HTML 报告。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
$ sudo powertop --html=powertop.html modprobe cpufreq_stats failedLoaded 100 prior measurements Cannot loadfromfile /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum numberof measurement(s) with battery only RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask f RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask f Devfreq not enabled glob returned GLOB_ABORTED Cannot loadfromfile /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum numberof measurement(s) with battery only Preparing to take measurements To show power estimates do182 measurement(s) connected to battery only Taking 1 measurement(s) fora duration of20second(s) each. PowerTOP outputing using base filename powertop.html
打开 file:///home/daygeek/powertop.html 文件以访问生成的 PowerTOP 的 HTML 报告。
自动调整模式
这个功能可以将所有可调整选项从 BAD 设置为 GOOD,这可以提升 Linux 中的笔记本电池寿命。
1 2 3 4 5 6 7 8 9 10 11 12 13 14
$ sudo powertop --auto-tune modprobe cpufreq_stats failedLoaded 210 prior measurements Cannot loadfromfile /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum numberof measurement(s) with battery only RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask f RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask f Devfreq not enabled glob returned GLOB_ABORTED Cannot loadfromfile /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum numberof measurement(s) with battery only To show power estimates do72 measurement(s) connected to battery only Leaving PowerTOP