Skip to content

Instantly share code, notes, and snippets.

@harrykipper
Created February 28, 2019 18:54
Show Gist options
  • Select an option

  • Save harrykipper/4333fb9d8b58edbc37371c2a897b2aef to your computer and use it in GitHub Desktop.

Select an option

Save harrykipper/4333fb9d8b58edbc37371c2a897b2aef to your computer and use it in GitHub Desktop.

Revisions

  1. harrykipper renamed this gist Feb 28, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. harrykipper created this gist Feb 28, 2019.
    263 changes: 263 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,263 @@
    --- TLP 1.1.907 --------------------------------------------

    +++ Configured Settings: /etc/default/tlp
    TLP_ENABLE=1
    TLP_DEFAULT_MODE=AC
    TLP_PERSISTENT_DEFAULT=0
    DISK_IDLE_SECS_ON_AC=0
    DISK_IDLE_SECS_ON_BAT=2
    MAX_LOST_WORK_SECS_ON_AC=15
    MAX_LOST_WORK_SECS_ON_BAT=60
    CPU_HWP_ON_AC=balance_performance
    CPU_HWP_ON_BAT=balance_power
    SCHED_POWERSAVE_ON_AC=0
    SCHED_POWERSAVE_ON_BAT=1
    NMI_WATCHDOG=0
    ENERGY_PERF_POLICY_ON_AC=balance-performance
    ENERGY_PERF_POLICY_ON_BAT=power
    DISK_DEVICES="nvme0n1"
    DISK_APM_LEVEL_ON_AC="254"
    DISK_APM_LEVEL_ON_BAT="128"
    SATA_LINKPWR_ON_AC="max_performance"
    SATA_LINKPWR_ON_BAT="min_power"
    AHCI_RUNTIME_PM_TIMEOUT=15
    PCIE_ASPM_ON_AC=performance
    PCIE_ASPM_ON_BAT=powersupersave
    WIFI_PWR_ON_AC=on
    WIFI_PWR_ON_BAT=on
    WOL_DISABLE=Y
    SOUND_POWER_SAVE_ON_AC=1
    SOUND_POWER_SAVE_ON_BAT=1
    SOUND_POWER_SAVE_CONTROLLER=Y
    BAY_POWEROFF_ON_AC=0
    BAY_POWEROFF_ON_BAT=0
    BAY_DEVICE="sr0"
    RUNTIME_PM_ON_AC=on
    RUNTIME_PM_ON_BAT=auto
    USB_AUTOSUSPEND=1
    USB_BLACKLIST_BTUSB=0
    USB_BLACKLIST_PHONE=0
    USB_BLACKLIST_PRINTER=1
    USB_BLACKLIST_WWAN=0
    RESTORE_DEVICE_STATE_ON_STARTUP=0
    NATACPI_ENABLE=0
    TPACPI_ENABLE=0
    TPSMAPI_ENABLE=0

    Default string
    +++ System Info
    System = Default string Default string Default string
    BIOS = 5.12
    Release = "Arch Linux"
    Kernel = 5.0.0-rc8-S #4 SMP PREEMPT Tue Feb 26 08:58:30 GMT 2019 x86_64
    /proc/cmdline = initrd=\8250U.img root=/dev/nvme0n1p2 resume=/dev/nvme0n1p3 mem_sleep_default=deep zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold i915.enable_psr=1 i915.enable_guc=3 i915.enable_dpcd_backlight=Y i915.fastboot=1 i915.enable_fbc=1 i915.enable_dc=2 i915.edp_vswing=1 i915.enable_hangcheck=N i915.disable_power_well=1 i915.verbose_state_checks=N nmi_watchdog=0 drm.vblankoffdelay=1 snd_hda_intel.power_save=1 snd_hda_intel.power_save_controller=Y snd_ac97_codec.power_save=1 intel_pstate=active drm_kms_helper.poll=N usbcore.autosuspend=1 btusb.enable_autosuspend=Y intel_idle.max_cstate=10 nvme_core.force_apst=Y nvme_core.default_ps_max_latency_us=15000 nvme_core.streams=Y rqshare=smt cfg80211.ieee80211_regdom=GB ath10k_core.skip_otp=Y ath10k_core.uart_print=N ath10k_pci.irq_mode=2 rcupdate.rcu_expedited=1 rcu_nocbs=0-64 rw
    Init system = systemd
    Boot mode = UEFI

    +++ TLP Status
    State = enabled
    RDW state = enabled
    Last run = 18:51:54, 0 sec(s) ago
    Mode = battery
    Power source = battery

    +++ Processor
    CPU model = Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

    /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 400000 [kHz]
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 3400000 [kHz]
    /sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_power
    /sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power

    /sys/devices/system/cpu/intel_pstate/min_perf_pct = 11 [%]
    /sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
    /sys/devices/system/cpu/intel_pstate/no_turbo = 0
    /sys/devices/system/cpu/intel_pstate/turbo_pct = 59 [%]
    /sys/devices/system/cpu/intel_pstate/num_pstates = 31

    x86_energy_perf_policy.cpu0 = power
    x86_energy_perf_policy.cpu1 = power
    x86_energy_perf_policy.cpu2 = power
    x86_energy_perf_policy.cpu3 = power
    x86_energy_perf_policy.cpu4 = power
    x86_energy_perf_policy.cpu5 = power
    x86_energy_perf_policy.cpu6 = power
    x86_energy_perf_policy.cpu7 = power

    /sys/module/workqueue/parameters/power_efficient = Y
    /proc/sys/kernel/nmi_watchdog = (not available)

    +++ Undervolting
    PHC kernel not available.

    +++ Temperatures
    CPU temp = 38 [°C]
    Fan speed = (not available)

    +++ File System
    /proc/sys/vm/laptop_mode = 2
    /proc/sys/vm/dirty_writeback_centisecs = 6000
    /proc/sys/vm/dirty_expire_centisecs = 6000
    /proc/sys/vm/dirty_ratio = 20
    /proc/sys/vm/dirty_background_ratio = 10

    +++ Storage Devices
    Devices = nvme0n1

    /dev/nvme0n1:
    Type = NVMe
    Model = Samsung SSD 970 EVO 1TB
    Firmware = 2B2QEXE7
    Scheduler = [none] (multiqueue)

    Runtime PM: control = auto, autosuspend_delay_ms = (not available)

    SMART info:
    Critical Warning: 0x00
    Temperature: 33 Celsius
    Available Spare: 100%
    Available Spare Threshold: 10%
    Percentage Used: 0%
    Data Units Written: 2,676,461 [1.37 TB]
    Power Cycles: 774
    Power On Hours: 93
    Unsafe Shutdowns: 200
    Media and Data Integrity Errors: 0

    +++ AHCI Link Power Management (ALPM)
    No AHCI-enabled host controller detected.

    +++ Intel Graphics
    /sys/module/i915/parameters/enable_dc = 2 (disabled + deep)
    /sys/module/i915/parameters/enable_fbc = 1 (enabled)
    /sys/module/i915/parameters/enable_psr = 1 (enabled)
    /sys/module/i915/parameters/modeset = -1 (use per-chip default)

    /sys/class/drm/card0/gt_min_freq_mhz = 300 [MHz]
    /sys/class/drm/card0/gt_max_freq_mhz = 1100 [MHz]
    /sys/class/drm/card0/gt_boost_freq_mhz = 1100 [MHz]

    +++ Wireless
    bluetooth = off (software)
    wifi = on
    wwan = none (no device)

    hci0(btusb) : bluetooth, not connected
    wlp2s0(ath10k_pci) : wifi, connected, power management = on

    +++ Audio
    /sys/module/snd_hda_intel/parameters/power_save = 1
    /sys/module/snd_hda_intel/parameters/power_save_controller = Y

    +++ PCIe Active State Power Management
    /sys/module/pcie_aspm/parameters/policy = powersupersave

    +++ Runtime Power Management
    Device blacklist = (not configured)
    Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon (default)

    /sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
    /sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
    /sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal)
    /sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
    /sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal)
    /sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
    /sys/bus/pci/devices/0000:00:1c.3/power/control = auto (0x060400, PCI bridge, pcieport)
    /sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
    /sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
    /sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
    /sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040300, Audio device, snd_hda_intel)
    /sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
    /sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x020000, Ethernet controller, r8168)
    /sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x028000, Network controller, ath10k_pci)
    /sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)

    +++ USB
    Autosuspend = enabled
    Device whitelist = (not configured)
    Device blacklist = (not configured)
    Bluetooth blacklist = disabled
    Phone blacklist = disabled
    WWAN blacklist = disabled

    Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
    Bus 001 Device 002 ID 0cf3:e300 control = auto, autosuspend_delay_ms = 1000 -- Qualcomm Atheros Communications (btusb)
    Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)

    +++ Battery Features
    natacpi = inactive (no kernel support)
    tpacpi-bat = inactive (laptop not supported)
    tp-smapi = inactive (laptop not supported)

    +++ Battery Status
    /sys/class/power_supply/BAT0/manufacturer = CJOYIN
    /sys/class/power_supply/BAT0/model_name = Y91
    /sys/class/power_supply/BAT0/cycle_count = (not supported)
    /sys/class/power_supply/BAT0/charge_full_design = 2880 [mAh]
    /sys/class/power_supply/BAT0/charge_full = 2926 [mAh]
    /sys/class/power_supply/BAT0/charge_now = 1191 [mAh]
    /sys/class/power_supply/BAT0/current_now = 0 [mA]
    /sys/class/power_supply/BAT0/status = Discharging


    Charge = 40.7 [%]
    Capacity = 101.6 [%]