Strom sparen mit powertop / Stromverbrauch von UnRaid verbessern


Recommended Posts

30 minutes ago, mgutt said:

Ich hatte gehofft, dass du in Ubuntu und Unraid die von mir oben genannten Befehle noch wegen ASPM und CPU Modus ausführen würdest. Ich vermute Ubuntu hat einfach andere Grundeinstellungen. Weil Linux ist Linux was die Kommunikation mit der Hardware anbelangt. 

 

Ubuntu 20.10 Live USB

ubuntu@ubuntu:~$ grep . /sys/devices/system/cpu/cpu0/cpuidle/state*/name
/sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3_ACPI
ubuntu@ubuntu:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
ubuntu@ubuntu:~$ cat /sys/module/pcie_aspm/parameters/policy
[default] performance powersave powersupersave
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.8.0-25-generic #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 

Unraid 6.9.1

root@unraid:~# grep . /sys/devices/system/cpu/cpu0/cpuidle/state*/name
/sys/devices/system/cpu/cpu0/cpuidle/state0/name:POLL
/sys/devices/system/cpu/cpu0/cpuidle/state1/name:C1_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state2/name:C2_ACPI
/sys/devices/system/cpu/cpu0/cpuidle/state3/name:C3_ACPI
root@unraid:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
root@unraid:~# cat /sys/module/pcie_aspm/parameters/policy
[default] performance powersave powersupersave
root@unraid:~# uname -a
Linux unraid 5.10.21-Unraid #1 SMP Sun Mar 7 13:39:02 PST 2021 x86_64 Intel(R) Pentium(R) Gold G6400 CPU @ 4.00GHz GenuineIntel GNU/Linux

 

Am Linux Kernel sollte es nicht liegen da dieser bei Unraid sogar neuer ist als bei Ubuntu.

 

Wie kann ich den scaling_governor von "performance" nach "powersave" umstellen?

Ich denke das sollte die Differenz erklären 🙂

Link to comment

Nach Installation der Intel Treiber geht die GPU jetzt auch in den RC6 State und ich komme erstmal mit Unraid 6.9.1 unter 10W. HUHUUUUU !!!

 

grafik.png.e52a90544adf32856cf8e0fd3f840184.png

 

Wie kann ich den scaling_governor noch von "performance" nach "powersave" umgestellt bekomme, dann solle ich auf Ubuntu Niveau kommen?

Vielen Dank schon mal für die Hife!

Link to comment
14 minutes ago, mr_cg said:

Nach Installation der Intel Treiber geht die GPU jetzt auch in den RC6 State und ich komme erstmal mit Unraid 6.9.1 unter 10W

Cool. Dann muss ich das auch mal probieren ^^

 

18 minutes ago, mr_cg said:

Wie kann ich den scaling_governor noch von "performance" nach "powersave" umgestellt bekomme

/etc/rc.d/rc.cpufreq powersave

Muss aber in die Go Datei, dann das dauerhaft ist, sonst verfällt es nach einem Neustart. Ich bin allerdings nicht sicher ob Ubuntu immer auf powersave bleibt. Check mal den Status, während du in Ubuntu und ein YouTube Video schaust. 

Link to comment

Nachdem ich jetzt den Scaling Governor von "performance" nach "powersave" umgestellt habe bin ich jetzt bei nur noch 9W Leistungsaufnahme.

JUHUUUUUUUUUUUUU !!! Vielen Dank für die Hilfe. Das mit dem Powersave/Performance status prüfe ich gleich und berichte hier.

grafik.png.992d4ec93a0d7f2c019b1b0512508509.png

Link to comment

Da ist aber noch Bewegung. War das Array aktiv? Docker? Normal sollte der auf einem C-State >80% haben.

 

Nach der Sache mit der iGPU frage ich mich, ob Ubuntu vielleicht noch einen Treiber für andere Hardware installiert hat, was deswegen tiefer schlafen kann?! Check mal mit "lspci -v" in Ubuntu und Unraid. Wird eine längere Liste, aber wir sehen dann für jedes Gerät den Treiber.

 

Link to comment
2 hours ago, mgutt said:

(richtig @ich777 ?)

Ja, oder einfach 'modprobe i915' oder einfach das Intel-GPU-TOP Plugin von der CA App drauf, ist im prinzip alles das gleiche.

 

2 hours ago, mgutt said:

Und dann den Server neu starten.

Das ist nur bei der methode notwendig mit dem file das erstellt wird.

  • Thanks 1
Link to comment
1 hour ago, mgutt said:

Da ist aber noch Bewegung. War das Array aktiv? Docker? Normal sollte der auf einem C-State >80% haben.

 

Nein, nichts. Kein Array aktiv und somit auch kein Docker bzw. VM.

 

1 hour ago, mgutt said:

Nach der Sache mit der iGPU frage ich mich, ob Ubuntu vielleicht noch einen Treiber für andere Hardware installiert hat, was deswegen tiefer schlafen kann?! Check mal mit "lspci -v" in Ubuntu und Unraid. Wird eine längere Liste, aber wir sehen dann für jedes Gerät den Treiber.

 

 

Hier die Ausgabe von Ubuntu 20.10 Live:

ubuntu@ubuntu:~$ sudo lspci -v
00:00.0 Host bridge: Intel Corporation Device 9b73 (rev 03)
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Device 5000
    Flags: bus master, fast devsel, latency 0
    Capabilities: [e0] Vendor Specific Information: Len=10 <?>
00:02.0 VGA compatible controller: Intel Corporation Device 9ba8 (rev 03) (prog-if 00 [VGA controller])
    DeviceName: Onboard - Video
    Subsystem: Gigabyte Technology Co., Ltd Device d000
    Flags: bus master, fast devsel, latency 0, IRQ 133
    Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 3000 [size=64]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: [40] Vendor Specific Information: Len=0c <?>
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [100] Process Address Space ID (PASID)
    Capabilities: [200] Address Translation Service (ATS)
    Capabilities: [300] Page Request Interface (PRI)
    Kernel driver in use: i915
    Kernel modules: i915
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH Thermal Controller
    Flags: fast devsel, IRQ 16
    Memory at b1439000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: [50] Power Management version 3
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
    Kernel driver in use: intel_pch_thermal
    Kernel modules: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller (prog-if 30 [XHCI])
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Comet Lake USB 3.1 xHCI Host Controller
    Flags: bus master, medium devsel, latency 0, IRQ 129
    Memory at b1420000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [70] Power Management version 2
    Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
    Capabilities: [90] Vendor Specific Information: Len=14 <?>
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
    DeviceName: Onboard - Other
    Subsystem: Intel Corporation Comet Lake PCH Shared SRAM
    Flags: fast devsel
    Memory at b1432000 (64-bit, non-prefetchable) [disabled] [size=8K]
    Memory at b1438000 (64-bit, non-prefetchable) [disabled] [size=4K]
    Capabilities: [80] Power Management version 3
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Comet Lake HECI Controller
    Flags: bus master, fast devsel, latency 0, IRQ 148
    Memory at b1437000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: [50] Power Management version 3
    Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [a4] Vendor Specific Information: Len=14 <?>
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Device 06d2 (prog-if 01 [AHCI 1.0])
    DeviceName: Onboard - SATA
    Subsystem: Gigabyte Technology Co., Ltd Device b005
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 130
    Memory at b1430000 (32-bit, non-prefetchable) [size=8K]
    Memory at b1436000 (32-bit, non-prefetchable) [size=256]
    I/O ports at 3090 [size=8]
    I/O ports at 3080 [size=4]
    I/O ports at 3060 [size=32]
    Memory at b1435000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [70] Power Management version 3
    Capabilities: [a8] SATA HBA v1.0
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 122
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: [disabled]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot-), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport
00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 123
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: b1300000-b13fffff [size=1M]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port
    Capabilities: [a0] Power Management version 3
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Access Control Services
    Capabilities: [150] Precision Time Measurement
    Capabilities: [200] L1 PM Substates
    Capabilities: [220] Secondary PCI Express
    Capabilities: [250] Downstream Port Containment
    Kernel driver in use: pcieport
00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 124
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: [disabled]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot-), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 125
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: [disabled]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot-), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Device 06bd (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 126
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: b1000000-b11fffff [size=2M]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
    Capabilities: [a0] Power Management version 3
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Access Control Services
    Capabilities: [150] Precision Time Measurement
    Capabilities: [200] L1 PM Substates
    Capabilities: [220] Secondary PCI Express
    Capabilities: [250] Downstream Port Containment
    Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 127
    Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: b1200000-b12fffff [size=1M]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot+), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCI Express Root Port
    Capabilities: [a0] Power Management version 3
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Access Control Services
    Capabilities: [150] Precision Time Measurement
    Capabilities: [200] L1 PM Substates
    Capabilities: [220] Secondary PCI Express
    Capabilities: [250] Downstream Port Containment
    Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 128
    Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
    I/O behind bridge: [disabled]
    Memory behind bridge: [disabled]
    Prefetchable memory behind bridge: [disabled]
    Capabilities: [40] Express Root Port (Slot-), MSI 00
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
    Capabilities: [a0] Power Management version 3
    Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 0697
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Device 5001
    Flags: bus master, medium devsel, latency 0
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
    DeviceName: Onboard - Other
    Subsystem: Gigabyte Technology Co., Ltd Comet Lake PCH SMBus Controller
    Flags: medium devsel, IRQ 16
    Memory at b1434000 (64-bit, non-prefetchable) [size=256]
    I/O ports at efa0 [size=32]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
    DeviceName: Onboard - Other
    Subsystem: Intel Corporation Comet Lake PCH SPI Controller
    Flags: fast devsel
    Memory at fe010000 (32-bit, non-prefetchable) [size=4K]
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM
    DeviceName: Onboard - Ethernet
    Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (11) I219-LM
    Flags: bus master, fast devsel, latency 0, IRQ 131
    Memory at b1400000 (32-bit, non-prefetchable) [size=128K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Kernel driver in use: e1000e
    Kernel modules: e1000e
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
    Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
    Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
    Memory at b1300000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 00
    Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [158] Power Budgeting <?>
    Capabilities: [168] Secondary PCI Express
    Capabilities: [188] Latency Tolerance Reporting
    Capabilities: [190] L1 PM Substates
    Kernel driver in use: nvme
    Kernel modules: nvme
05:00.0 Ethernet controller: Intel Corporation Intel(R) Ethernet Controller I225-LM (rev 02)
    Subsystem: Gigabyte Technology Co., Ltd Intel(R) Ethernet Controller I225-LM
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Memory at b1000000 (32-bit, non-prefetchable) [size=1M]
    Memory at b1100000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
    Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
    Capabilities: [a0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number b4-2e-99-ff-ff-xx-xx-xx
    Capabilities: [1c0] Latency Tolerance Reporting
    Capabilities: [1f0] Precision Time Measurement
    Capabilities: [1e0] L1 PM Substates
    Kernel driver in use: igc
    Kernel modules: igc
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
    Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
    Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
    Memory at b1200000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 00
    Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [158] Power Budgeting <?>
    Capabilities: [168] Secondary PCI Express
    Capabilities: [188] Latency Tolerance Reporting
    Capabilities: [190] L1 PM Substates
    Kernel driver in use: nvme
    Kernel modules: nvme

 

Ausgabe von Unraid 6.9.1:

root@unraid:~# lspci -v
00:00.0 Host bridge: Intel Corporation Device 9b73 (rev 03)
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 5000
        Flags: bus master, fast devsel, latency 0, IOMMU group 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>
        Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation Device 9ba8 (rev 03) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Gigabyte Technology Co., Ltd Device d000
        Flags: bus master, fast devsel, latency 0, IRQ 147, IOMMU group 1
        Memory at b0000000 (64-bit, non-prefetchable) [size=16M]
        Memory at a0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 8888
        Flags: fast devsel, IRQ 16, IOMMU group 2
        Memory at b1439000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller (prog-if 30 [XHCI])
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 5007
        Flags: bus master, medium devsel, latency 0, IRQ 129, IOMMU group 3
        Memory at b1420000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Capabilities: [90] Vendor Specific Information: Len=14 <?>
        Kernel driver in use: xhci_hcd

00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Flags: fast devsel, IOMMU group 3
        Memory at b1432000 (64-bit, non-prefetchable) [disabled] [size=8K]
        Memory at b1438000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [80] Power Management version 3

00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 1c3a
        Flags: fast devsel, IRQ 11, IOMMU group 4
        Memory at b1437000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [a4] Vendor Specific Information: Len=14 <?>

00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller (prog-if 01 [AHCI 1.0])
        DeviceName: Onboard - SATA
        Subsystem: Gigabyte Technology Co., Ltd Device b005
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 130, IOMMU group 5
        Memory at b1430000 (32-bit, non-prefetchable) [size=8K]
        Memory at b1436000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 3090 [size=8]
        I/O ports at 3080 [size=4]
        I/O ports at 3060 [size=32]
        Memory at b1435000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 6
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 7
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: b1300000-b13fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 124, IOMMU group 8
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 125, IOMMU group 8
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation Comet Lake PCIe Port #6 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 9
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: b1000000-b11fffff [size=2M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 127, IOMMU group 10
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: b1200000-b12fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 128, IOMMU group 11
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Capabilities: [a0] Power Management version 3
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Device 0697
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: bus master, medium devsel, latency 0, IOMMU group 12

00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
        DeviceName: Onboard - Other
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: medium devsel, IRQ 16, IOMMU group 12
        Memory at b1434000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Flags: fast devsel, IOMMU group 12
        Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-LM
        DeviceName: Onboard - Ethernet
        Subsystem: Gigabyte Technology Co., Ltd Device e000
        Flags: bus master, fast devsel, latency 0, IRQ 146, IOMMU group 12
        Memory at b1400000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: e1000e
        Kernel modules: e1000e

02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd Device a801
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0, IOMMU group 13
        Memory at b1300000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [158] Power Budgeting <?>
        Capabilities: [168] Secondary PCI Express
        Capabilities: [188] Latency Tolerance Reporting
        Capabilities: [190] L1 PM Substates
        Kernel driver in use: nvme
        Kernel modules: nvme

05:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-LM (rev 02)
        Subsystem: Gigabyte Technology Co., Ltd Device e000
        Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 14
        Memory at b1000000 (32-bit, non-prefetchable) [size=1M]
        Memory at b1100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number b4-2e-99-ff-ff-xx-xx-xx
        Capabilities: [1c0] Latency Tolerance Reporting
        Capabilities: [1f0] Precision Time Measurement
        Capabilities: [1e0] L1 PM Substates
        Kernel driver in use: igc
        Kernel modules: igc

06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd Device a801
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0, IOMMU group 15
        Memory at b1200000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [158] Power Budgeting <?>
        Capabilities: [168] Secondary PCI Express
        Capabilities: [188] Latency Tolerance Reporting
        Capabilities: [190] L1 PM Substates
        Kernel driver in use: nvme
        Kernel modules: nvme

 

 

Bei Ubuntu blieb der Scaling Governor Status auf "powersave" auch nachdem ich mehrere YouTube streams gestartet hatte.

Den Post auf hardwareluxxx mache ich diese Woche.

Edited by mr_cg
  • Like 1
Link to comment

Habe meinen Unraid jetzt auf Performance stehen ,da es keinen Unterschied im Idle macht, aber im Transfer der Festplatten sehr wohl beim Parity schreiben.

 

Mit Powersave hatte ich 103 MB/s im Durchschnitt mit Performance habe ich 134 MB/s Im Durchschnitt.

Link to comment

Ich bin inzwischen wieder etwas schlauer und habe festgestellt daß die große Ersparnis in der Leistungsaufnahme auch im "performance" modus erreicht wird.

Zwischen "performance" und "powersave" kann ich keinen messbaren Unterschied feststellen.

Die Ursache warum ich fälschlicherweise vermutet hatte daß die 8-9W mit Unraid nur mit "performance" erreicht werden können liegt daran daß es nach einem Reboot etwa 10-15min dauert bis die Pkg in den C9 geht. Zuerst nur zu etwa 50%. Nach einem powertop --auto-tune dann zu >80%.

 

grafik.thumb.png.f7c4a6a4b50b2fe04a727f832d46f43c.png

 

Dieses Scenario reproduzierbar mit 2x SSD als Cache (active) und ohne HDDs verbunden.

MIt HDDs verbunden (aber im standby) sieht das ganze wieder anders aus ... hier bleibt die Pkg auch nach langer Wartezeit nach dem Reboot im C2 bei etwa 12W.

Erst durch ein powertop --auto-tune geht die Pkg zu >80% in den C9 und konsumiert etwa 9-10W (2x SDDs als Cache aktiv, 2x HDDs im Standby).

 

grafik.thumb.png.bee478e6d74e28c4bdfd45a59bda1364.png

 

Mit diesem Ergebnis bin ich mehr als zufrieden. Vielen Dank nachmals an dieser Stelle für die Unterstützung !!!!!

 

Diese zwei Fragen zum Thema "Engergiesparen" hätte ich abschließend noch:

1. Das ist die beste Methode um einen "powertop --auto-tune" nach einem Neustart ausführen zu lassen und macht es Sinn dies dies in regelmäßigen Abständen zu tun oder ist einmal ausreichend? Ist das "Schedules" Dynamic Plugin hier eine gute Idee?

2. Gibt es eine Möglichkeit Unraid in den Standby/Hibernate Modus remote von einem anderen Rechner aus zu schicken? Das Dynamix S3 Sleep Script ist bereits installiert) z.B. Durch einen HTML-get oder ein File welches auf einen Share gelegt wird und somit einem Script zum herunterfahren bzw. S3 Sleep gibt.

 

Danke!

 

Generell wäre es schön wenn es mehr Tools und Funktionen zum Energiesparen in Unraid geben würde.

Wenn jeder nur 5W einspart (das dies möglich ist zeigt dieser Beitrag) oder den Server täglich zu 40% abschaltet weil nicht genutzt dann wäre das ein großer Erfolg.

 

Edited by mr_cg
Link to comment
2 hours ago, mr_cg said:

Das ist die beste Methode um einen "powertop --auto-tune" nach einem Neustart ausführen zu lassen und macht es Sinn dies dies in regelmäßigen Abständen zu tun oder ist einmal ausreichend? Ist das "Schedules" Dynamic Plugin hier eine gute Idee?

1x reicht. Denkbar wäre das User Scripts Plugin und da dann die Option wählen, dass es beim Array Start ausgeführt wird.

 

Die Alternative wäre mit dem Config Editor Plugin die Go Datei von Unraid zu bearbeiten. Die wird beim Booten ausgeführt.

 

Ich habe dort alle powertop Befehle einzeln drin:

https://forums.unraid.net/topic/98070-reduce-power-consumption-with-powertop/

 

 

3 hours ago, mr_cg said:

Gibt es eine Möglichkeit Unraid in den Standby/Hibernate Modus remote von einem anderen Rechner aus zu schicken?

 

Ich hatte hier ein paar Ideen wie man Remote ein Backup starten könnte. Ähnliches kannst du natürlich auch für einen Sleep adaptieren:

https://forums.unraid.net/topic/97958-rsync-incremental-backup/page/3/?tab=comments#comment-962718

  • Like 1
Link to comment
31 minutes ago, Calidor said:

allerdings waren auch Änderungen dabei da ich neue Dateien dabei hatte.

Häh? Du hast einen Parity Check gemscht und der hat zur Korrektur der Parity geführt? Das hat nichts mit neuen Dateien zu tun. Dann ist bei dir irgendwas nicht in Ordnung. So ein Check muss fehlerfrei durchlaufen.

Link to comment
22 hours ago, mgutt said:

Ich hatte hier ein paar Ideen wie man Remote ein Backup starten könnte. Ähnliches kannst du natürlich auch für einen Sleep adaptieren:

https://forums.unraid.net/topic/97958-rsync-incremental-backup/page/3/?tab=comments#comment-962718

Die  Idee mit dem tcpdump auf einem TCP Port ist wirklich auch eine sehr gute Idee.

 

Ich werde aber dann wahrscheinlich doch meinen "check if file exist" Ansatz umsetzen.

Der Client erstellt eine Datei (name: reboot, shutdown, backup, etc) auf einem von Unraid bereit gestelltem Share.

Auf Unraid lasse ich ein Script regelmäßig laufen um zu prüfen ob eine neue Datei mit entsprechendem Namen vorhanden ist.

Wenn dem so ist dann wird die vom Client erstellte Datei gelöscht und der entsprechende Befehl ausgeführt.

Der Vorteil dieser Methode ist daß ich über den Samba Share eine Zugriffskontrolle einrichten kann und das Skript auf dem Client aus einfachen und meist immer verfügbaren Befehlen besteht. Zudem sind die Befehle für Windows und Linux gleich da nur ein ECHO Befehl mit Pipe in ein File benötigt wird.

 

Client (erstellt eine Datei das dem Server ein Signal zur Ausführung eines Befehls gibt):

echo reboot > \\192.168.6.100\share1\reboot

 

Unraid/Server (prüft Existenz des Files, löscht die Datei wieder und führt den Befehl aus):

if test -f /mnt/user/share1/reboot; then
        echo reboot
        rm /mnt/user/share1/reboot
fi

 

Vielleicht ist diese einfache Methode auch für jemand anderen von Interesse.

Link to comment
17 hours ago, mgutt said:

Häh? Du hast einen Parity Check gemscht und der hat zur Korrektur der Parity geführt? Das hat nichts mit neuen Dateien zu tun. Dann ist bei dir irgendwas nicht in Ordnung. So ein Check muss fehlerfrei durchlaufen.

Der Mover hatte neue Dateien kopiert vor dem Check, aber dann ist die Parity ja schon geschrieben, also reiner Check 134 MB/s statt 104MB/s Performance gegenüber Powersave.

Link to comment
  • mgutt changed the title to Strom sparen mit powertop / Stromverbrauch von UnRaid verbessern

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.